# Required DISCORD_BOT_TOKEN=your-discord-bot-token-here # Recommended OUTPUT_CHANNEL_ID=your-discord-channel-id-for-heartbeat-cron-output # Optional # CLAUDE_CLI_PATH=claude # Deprecated: use BACKEND_CLI_PATH instead # AGENT_BACKEND=claude # claude | codex | gemini | opencode | pi # BACKEND_CLI_PATH=claude # Path to CLI binary (defaults to backend name) # BACKEND_MODEL= # Optional model override for the active backend # BACKEND_MAX_TURNS=25 # Max agentic turns per query # CONFIG_DIR=./config # ALLOWED_TOOLS=Read,Write,Edit,Glob,Grep,WebSearch,WebFetch # PERMISSION_MODE=bypassPermissions # QUERY_TIMEOUT_MS=120000 # MAX_CONCURRENT_QUERIES=5 # MAX_QUEUE_DEPTH=100 # IDLE_SESSION_TIMEOUT_MS=1800000 # LOG_LEVEL=info