CLI
Environment variables
Configure database, providers, Redis, and local tooling.
Variables
.env
DATABASE_URL=postgres://...
OPENAI_API_KEY=...
ANTHROPIC_API_KEY=...
GEMINI_API_KEY=...
REDIS_URL=redis://localhost:6379When they are required
DATABASE_URL configures the built-in PostgreSQL store and CLI.Provider keys are required only for adapters you use.
REDIS_URL is required for queue mode or the optional recall cache.Security
Load secrets only in the server environment and exclude local environment files from source control.