File Locations
| File | Purpose |
|---|---|
~/.config/cognition/config.json | User-wide settings |
~/.config/cognition/config.local.json | User-wide local overrides |
.cognition/config.json | Project settings (committed) |
.cognition/config.local.json | Project local overrides (gitignored) |
Full Config Reference
- User config
- Project config
Options Reference
agent
| Option | Type | Default | Description |
|---|---|---|---|
model | string | "claude-opus-4.5" | Default AI model |
show_history_on_continue | boolean | true | Show previous messages when resuming a session |
theme_mode
| Value | Behavior |
|---|---|
null | Auto-detect (asks on first run) |
"light" | Light theme |
"dark" | Dark theme |
permissions
See Permissions for full documentation.mcpServers
Map of server name to server configuration. Supports both local command (stdio) and remote HTTP servers. See MCP Configuration.read_config_from
Control importing from other AI tool configurations:| Option | Type | Default | Description |
|---|---|---|---|
cursor | boolean/null | true | Import from .cursorrules, .cursor/rules/ |
windsurf | boolean/null | true | Import from .windsurf/rules/ |
claude | boolean/null | true | Import from .claude/ |
false to disable a specific import. null is treated as true.

