Configuration¶
Environment Variables¶
Copy the example file and fill in your credentials:
Required Variables¶
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY |
Anthropic API key |
DATABASE_URL |
Postgres connection string (asyncpg format, must include sslmode=require for staging/production) |
WP_BASE_URL |
WordPress site URL |
WP_USERNAME |
WordPress username |
WP_APP_PASSWORD |
WordPress application password |
Optional Variables¶
| Variable | Description |
|---|---|
ENVIRONMENT |
local, staging, or production — controls SSL validation |
DATABASE_URL_MIGRATIONS |
Separate connection string for Alembic migrations (DDL privileges). Falls back to DATABASE_URL |
PREFECT_API_URL |
Prefect Cloud workspace URL |
PREFECT_API_KEY |
Prefect Cloud API key |
SLACK_WEBHOOK_URL |
Slack webhook for failure alerts |
SENTRY_DSN |
Sentry DSN for error tracking (leave empty to disable) |
OPENAI_API_KEY |
OpenAI key for DALL-E 3 image generation (leave empty to disable) |
NCBI_API_KEY |
PubMed API key (increases rate limit from 3/s to 10/s) |
BRAVE_API_KEY |
Brave Search API key (enables web search during evaluation runs) |
DASHBOARD_ADMIN_EMAIL |
Admin email for initial dashboard bootstrap |
DASHBOARD_ADMIN_PASSWORD |
Admin password for initial dashboard bootstrap |
OBSIDIAN_VAULT_PATH |
Path to Obsidian vault for research notes |
See the full Environment Variables reference for details.