Skip to content

Configuration

Set these in your shell or .env file:

VariableRequiredDescription
CLAUDE_USE_GLOBAL_AUTHNoSet to true to use credentials from claude /login (default when no other Claude token is set)
CLAUDE_CODE_OAUTH_TOKENNoOAuth token from claude setup-token (alternative to global auth)
CLAUDE_API_KEYNoAnthropic API key for pay-per-use (alternative to global auth)
CODEX_ACCESS_TOKENYes (for Codex)Codex access token (see AI Assistants)
DATABASE_URLNoPostgreSQL connection string (default: SQLite)
LOG_LEVELNodebug, info (default), warn, error
PORTNoServer port (default: 3090, Docker: 3000)

Create .archon/config.yaml in your repository:

assistants:
claude:
model: sonnet # or 'opus', 'haiku', 'inherit'
settingSources:
- project
codex:
model: gpt-5.3-codex
modelReasoningEffort: medium
# docs:
# path: packages/docs-web/src/content/docs # Optional: default is docs/

See the full configuration reference for all options.