- Interactive TUI — the default experience: a full-screen terminal session you talk to.
- Non-interactive (
-p) — run one prompt and print the result, ideal for scripts and CI. - Editor / IDE integration — drive a session from any Agent Client Protocol (ACP) client via
geoff acp.
Install
geoff. Verify the install:
Geoff Code stores its configuration and session data under
~/.geoff. You can relocate this by setting the GEOFF_CODE_HOME environment variable.First run
Change into a project directory and launch the interactive session:~/.geoff/config.toml and ~/.geoff/tui.toml, then drops you into the TUI. Type /help at any time to see the available slash commands.
Sign in
Authenticate with the device-code flow. You can do this from inside the TUI with the/login slash command, or non-interactively before launching:
~/.geoff. You only need to do this once per machine.
Use an API key instead
If you prefer key-based auth, grab a key from https://geoff.ai/settings/api-keys. You can supply it three ways:-
Per invocation with the global
-k, --api-keyflag (setsGEOFF_API_KEYfor that run only; never written to disk): -
Environment variable that persists for your shell session:
-
Config file — add it to a provider block in
config.toml(see Config Files).
Pick a model
Geoff Code ships with a default model alias ofpyro, a 1M-context model tuned for agentic coding. Override it for a single run with -m:
default_model in ~/.geoff/config.toml, or switch live in the TUI with the /model picker. Models and their providers are defined in your config — see Config Files.
Run your first prompt
Inside the TUI, just describe what you want:/init command, which analyzes the project and writes an AGENTS.md summary the agent reuses on later runs.
Non-interactive mode
Pass-p (or --prompt) to run a single prompt without the TUI and print the response — perfect for scripts, git hooks, and CI:
stream-json format:
Where to next
Use Cases
Common workflows: features, bug fixes, codebase exploration, automation.
Sessions
Resume, continue, export, and manage conversation history.
MCP
Connect external tools and data sources via Model Context Protocol.
Command Reference
Every command, subcommand, and flag.