# Copy to .env for local dev (never commit the real .env — it's gitignored). # On Render/Fly these are set as dashboard secrets, not from a file. # Required for live model answers (without it, the safety gate still works # but SAFE questions return a "no key configured" message). ANTHROPIC_API_KEY=sk-ant-... # Shared access code for the demo gate. When set, /api/chat requires it. # Leave empty/unset to run fully open (local dev only). ACCESS_CODE=changeme # Port the server listens on (Render/Fly inject this automatically). PORT=8100 # Rate limiting (per IP). Defaults shown; override to taste. RATE_MAX=20 RATE_WINDOW_MS=60000