Skip to content

Configuration

Agent Forge is configured through environment variables, loaded by Pydantic Settings (src/infra/settings.py).

LLM Provider

VariableDescriptionDefault
LLM_API_KEYOpenAI-compatible API key (DeepSeek)
LLM_BASE_URLAPI base URLDeepSeek endpoint
LLM_MODELDefault model name

Database

VariableDescriptionDefault
DATABASE_URLSQLAlchemy async URLSQLite (data/agent_platform.db)

Email (SMTP)

Leave unset to use the console email sender during development.

VariableDescription
SMTP_HOSTSMTP server host
SMTP_PORTSMTP port (typically 587)
SMTP_USERSMTP username
SMTP_PASSWORDSMTP password / key (use the SMTP key, not the API key)
SMTP_FROMFrom address

See .env.example for provider-specific configs (Brevo, Gmail, Resend).

OpenTelemetry Export

Per-workspace OTel export settings are managed at GET/PUT /api/v1/workspaces/{id}/settings. These control trace/metric export targets for observability integrations.

Released under the MIT License.