# Fable Agent — Environment Configuration # Copy to .env and fill in your keys. # The system works without model API keys (uses internal demo executor), # but Exa search requires an API key for live web research. # ── API Keys ────────────────────────────────────────────── # Exa AI (web search) — required for `fable-agent exa search` EXA_API_KEY= # Anthropic — required for SonnetExecutor and Fable5Executor (Opus 4.8, Sonnet 4.6) ANTHROPIC_API_KEY= # OpenAI — required for OpenAIExecutor (GPT-4.1, o3, GPT-4o) OPENAI_API_KEY= # ── Model Routing ───────────────────────────────────────── # Pi Coding Agent — required for PiExecutor PI_DEFAULT_PROVIDER= PI_DEFAULT_MODEL= # Claude Code — model override for CCExecutor CLAUDE_CODE_MODEL= # OpenCode — proxy and model for OpenCodeExecutor OPENCODE_PROXY=http://localhost:18901/v1 OPENCODE_MODEL= # Grok CLI — model for GrokExecutor GROK_MODEL= GROK_PROXY=http://localhost:18901/v1 # Antigrav (agy) — binary path and model for AntigravExecutor AGY_BIN=C:\Users\Artale\AppData\Local\agy\bin\agy.exe AGY_MODEL=gemini-2.5-pro # ── PAI Integration ────────────────────────────────────── # Path to cloned PAI repository PAI_DIRECTORY= # PAI release version (default: v5.0.0) PAI_VERSION= # ── Daemon ─────────────────────────────────────────────── # Data directory (default: ~/.fable-agent) FABLE_DATA_DIR= # ── Proxy ──────────────────────────────────────────────── # OpenRouter / local proxy for model routing PROXY_BASE_URL=http://localhost:18901/v1