Getting StartedTutorial
Quick Start
Install GEODE and run your first task in a few minutes.
On this page
Requirements
- Python 3.12+
uvpackage manager (install)- One provider credential. A ChatGPT Plus subscription (OAuth) or an Anthropic, OpenAI, or GLM API key is enough.
1. Install
The PyPI distribution is geode-agent. It installs two commands: geode and geode-mcp.
uv tool install geode-agent
geode versionTo develop from a source checkout:
git clone https://github.com/mangowhoiscloud/geode.git
cd geode
uv sync
uv tool install -e . --force2. Setup wizard
geode setup wires your credentials. It detects a ChatGPT subscription OAuth (~/.codex/auth.json) before asking for API keys. Keys you enter are saved to ~/.geode/auth.toml (see Auth and OAuth). For where the model choice and other settings are saved, see Configuration basics.
geode setup # first-time setup
geode setup -r # rerun credential setup; keeps existing credential files3. First conversation
Running geode auto-starts the serve daemon and attaches a thin CLI over IPC. Free text goes inside this interactive screen. A shell one-shot likegeode "prompt" is not supported.
geode
> summarize today's AI research trends
> /model # inspect and switch models
> /status # daemon, MCP, credential state
> /quitWhat success looks like
- The banner shows the version and model, and a dim "session cli-… · connected" line appears.
- Free text gets an answer that uses tools along the way.
geode aboutreports the EFFECTIVE model you intended.
Common failure modes
| Symptom | Likely cause | Fix |
|---|---|---|
| Switched models but nothing changed | A higher layer masks your change | Run geode config explain model to see which layer wins. geode about shows the effective value. |
| External channel messages do not arrive | Gateway disabled | Local chat still works. To also run external channels, enable the gateway. |
| Empty or broken replies | Expired or invalid credentials | Check keys and OAuth with geode doctor, refresh with /login. |
| Banner model differs from the answering model | A stale daemon survived an update | pkill -f "geode serve", then run geode again. |
Recovery toolkit
The sequence that gets you from a broken state back to a known one.
geode doctor. Python, PATH, credentials, and the daemon in one pass.geode about. What model and paths are actually in effect.geode config explain model. Where a setting is being masked.pkill -f "geode serve", then re-enter. Fresh daemon.geode setup -r. Reopens the credential wizard even when a working credential exists. It does not delete~/.geode/.env,auth.toml, or the dry-run marker before entry. Only the provider whose key you enter successfully is replaced (a successful entry also clears the dry-run marker); cancelling or failing leaves those files as they were.
Update and uninstall
geode update # uv: latest patch; source: pull + rebuild
geode update --latest # uv: explicitly allow minor/major upgradesPublished v1.0.27 does not include the new removal protections below. For a uv installation of that version, remove only the CLI with the original package manager and leave runtime and project data intact.
uv tool uninstall geode-agent # CLI only; keeps runtime and project dataSource checkout only — Unreleased. The procedure and preservation guarantees below apply to source installs containing PR #3295. Landing on main is separate from a PyPI release; the version string alone does not establish whether these protections are included.
geode uninstall --dry-run # inspect targets and installation ownership
geode uninstall # remove verified runtime data + uv CLIRemoval is limited to GEODE_HOME (default ~/.geode) and a verified uv tool installation. Project .geode/, source, virtual environments, and build caches are preserved.--keep-config leaves runtime .env,config.toml, and auth.toml in place;--keep-data keeps vault, identity, and user_profile. Other package managers and customized uv installs may require manual removal with the original package manager. A failed step returns a failure exit status; data already removed is not automatically restored.
Next
- Pick a path. Subscription, API key, or the free path.
- The two loops. The mental model the rest of the docs build on.
- Run as a daemon. The road to messaging and schedules.
- Optional: connect Google Workspace with a Google OAuth client you own.
Moved from the GEODE repository’s documentation site. Source commit de077a4 · View the source on GitHub