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=8000SYRA_HOST=0.0.0.0SYRA_LOG_LEVEL=infoSYRA_DB_PATH=./data/syra.dbMCP_HOME=./mcp-configOperational 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.