SETUP

Environment Variables

Centralize Syra runtime configuration for local development and production deployment.

Recommended .env layout

.env

bash
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
SYRA_PORT=8000
SYRA_HOST=0.0.0.0
SYRA_LOG_LEVEL=info
SYRA_DB_PATH=./data/syra.db
MCP_HOME=./mcp-config

Operational guidance

Store provider secrets outside version control, and keep environment-specific overrides in deployment tooling rather than hardcoding them in the repo.

If dashboard Config and environment variables disagree, environment variables should win in production.