Configuration Reference
Global Config (~/.gee-code/config.json)
Section titled “Global Config (~/.gee-code/config.json)”| Field | Type | Default | Description |
|---|---|---|---|
api_base | str | DEFAULT_API_BASE | |
default_agent | str | "gee-code" # Specialized coding agent | Specialized coding agent |
default_model | str | "sonnet" # Claude Sonnet 4.5 as default | Claude Sonnet 4.5 as default |
theme | str | "auto" | |
max_context_files | int | 20 | |
max_context_tokens | int | 100000 | |
streaming | bool | True | |
show_thinking | bool | True # Default ON - show AI reasoning | Default ON - show AI reasoning |
execution_mode | str | "local" | |
anthropic_api_key | str | "" | |
openai_api_key | str | "" | |
xai_api_key | str | "" | |
groq_api_key | str | "" | |
gemini_api_key | str | "" | |
cerebras_api_key | str | "" | |
openrouter_api_key | str | "" | |
local_provider | str | "claude" # "claude" or "openai" | ”claude” or “openai” |
local_model | str | "" # Empty = use provider default | Empty = use provider default |
auto_update | bool | True # Check for updates on startup | Check for updates on startup |
memory_enabled | bool | True # Enable/disable long-term memo... | Enable/disable long-term memory system |
clamp_model | str | "" # Empty = no clamp, otherwise mod... | Empty = no clamp, otherwise model alias |
Project Config (.gee-code/config.json)
Section titled “Project Config (.gee-code/config.json)”| Field | Type | Default | Description |
|---|---|---|---|
name | str | "" | |
ignore | list[str] | field(default_factory=lambda: ["node_... | |
include | list[str] | field(default_factory=list) | |
default_agent | `str | None` | None |
default_model | `str | None` | None |
max_iterations | `int | None` | None # Max AI iterations before paus... |
execution_mode | `str | None` | None # "local" or "server" |
rlm_enabled | `bool | None` | None # Whether RLM is enabled |
rlm_rw | `bool | None` | None # Whether RLM read/write mode i... |
auto_validate | `bool | None` | None # Auto-validate code after Writ... |
API Key Resolution
Section titled “API Key Resolution”API keys are resolved with the following priority:
- Local config —
~/.gee-code/config.json - Environment variable — e.g.,
ANTHROPIC_API_KEY - Gee backend — Fetched via authenticated session
Supported providers: Anthropic, OpenAI, xAI, Groq, Google (Gemini), Cerebras, OpenRouter.