Configuration¶
CLI Configuration¶
Configuration is stored in ~/.anote/config.json:
{
"model": "claude-sonnet-4-6",
"provider": "anthropic",
"apiKey": "sk-ant-...",
"serverUrl": "http://localhost:5000",
"maxTurns": 30,
"permissionMode": "default"
}
Manage via:
Environment Variables¶
All settings can be overridden with environment variables:
| Variable | Purpose |
|---|---|
ANTHROPIC_API_KEY |
Anthropic API key |
OPENAI_API_KEY |
OpenAI API key |
GEMINI_API_KEY |
Google Gemini API key |
ANOTE_MODEL |
Default model |
ANOTE_SERVER_URL |
Ourogen backend URL |
Backend Configuration¶
Copy packages/backend/.env.example to packages/backend/.env and fill in: