# AgentRouter Phase 1 runtime credentials # Copy to .env and fill with real test-only values. # Daytona sandbox lifecycle DAYTONA_API_KEY= # Private bearer token for your self-hosted AgentRouter API. # This is not an OpenAI/Anthropic provider key. Choose a random value and use it # from SDK/API clients as: Authorization: Bearer $AGENTROUTER_API_KEY. AGENTROUTER_API_KEY= # OpenAI Codex runtime # Server-side only. The credential boundary must not copy this into general sandbox env. # OPENAI_API_KEY can be used instead; CODEX_API_KEY wins if both are set. CODEX_API_KEY= OPENAI_API_KEY= # Anthropic Claude Code runtime # Server-side only. The credential boundary must not copy this into general sandbox env. ANTHROPIC_API_KEY= # Cloudflare R2 artifact storage R2_ACCOUNT_ID= R2_ACCESS_KEY_ID= R2_SECRET_ACCESS_KEY= R2_BUCKET=agentrouter-runtime-artifacts-dev R2_ENDPOINT=https://.r2.cloudflarestorage.com R2_REGION=auto R2_ARTIFACT_PREFIX=dev/runs/ # Optional: only needed if artifacts should be downloadable from a browser R2_PUBLIC_BASE_URL= # Test harness guardrails AGENTROUTER_TEST_RESOURCE_PREFIX=ar-phase1-test AGENTROUTER_HEARTBEAT_INTERVAL_SECONDS=30 AGENTROUTER_STALE_HEARTBEAT_GRACE_SECONDS=180 DAYTONA_SANDBOX_TTL_SECONDS=900 AGENTROUTER_WORKER_POLL_INTERVAL_MS=1000 # Local app defaults AGENTROUTER_PORT=8787 AGENTROUTER_DB_SCHEMA=public # Set to 1 only when intentionally running the live Daytona + Codex + R2 E2E. AGENTROUTER_RUN_REAL_E2E=0 # Test database DATABASE_URL=