# Required TELEGRAM_BOT_TOKEN=123456:ABC-your-bot-token TELEGRAM_OWNER_ID=123456789 # Optional WORKSPACE_DIR=./workspace OPENAI_API_KEY= STT_MODEL=gpt-4o-transcribe # PI_MODEL: leave empty for the first model Pi has credentials for. With the Claude Code # subscription package use ids like pi-claude-code-provider/opus. Ids like anthropic/claude-opus-4-7 # need an ANTHROPIC_API_KEY. Run `pi --list-models` to see every id. PI_MODEL= SECRETARY_TIMEZONE= SECRETARY_SHELL= LOG_LEVEL=info # PI_CODING_AGENT_DIR= (Pi's own override for ~/.pi/agent, mainly for Docker) # Google Calendar tool. Set GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET from a # Google Cloud OAuth client of type "TVs and Limited Input devices" (scope: # https://www.googleapis.com/auth/calendar). Then in Telegram, run # /connect_calendar and follow the two-step flow — no refresh token needed here. GOOGLE_CLIENT_ID= GOOGLE_CLIENT_SECRET= # Playwright browser tools (MCP bridge). When PLAYWRIGHT_ENABLED=true the agent # gets ~60 browser_* tools (navigate, click, type, screenshot, run arbitrary # Playwright code, etc). The Docker image already ships Chromium; on a bare # host run `npx playwright install --with-deps chromium` first. PLAYWRIGHT_ENABLED= PLAYWRIGHT_HEADLESS=true # PLAYWRIGHT_BROWSER: chrome (default), firefox, webkit, msedge. PLAYWRIGHT_BROWSER= # PLAYWRIGHT_EXTRA_ARGS: shell-style extra flags for @playwright/mcp, e.g. # PLAYWRIGHT_EXTRA_ARGS=--device "iPhone 15" --isolated PLAYWRIGHT_EXTRA_ARGS= # Fortress stealth-browser tools (MCP bridge). When FORTRESS_ENABLED=true the # agent gets ~30 fortress_* tools (read/extract pages as markdown, fetch pages # behind Cloudflare/DataDome, web search, crawl, screenshots, saved logins). # The Docker image ships it; on a bare host run: pip install "tilion[mcp]" "mcp<2" FORTRESS_ENABLED= # FORTRESS_COMMAND: how to start the server. Default tilion-mcp; if that isn't # on PATH (common on Windows) use: python -m tilion.mcp FORTRESS_COMMAND= FORTRESS_HEADLESS=true # Optional: residential proxy, region hint, captcha solver key. TILION_PROXY= TILION_REGION= CAPTCHA_API_KEY=