# ======================================== # Ajarbot Environment Configuration # ======================================== # Copy this file to .env and configure for your setup # ======================================== # LLM Configuration # ======================================== # LLM Mode - Choose how to access Claude # Options: # - "agent-sdk" (default) - Use Claude Pro subscription via Agent SDK # - "api" - Use pay-per-token API (requires ANTHROPIC_API_KEY) # # Agent SDK mode pros: Unlimited usage within Pro limits, no API key needed # API mode pros: Works in any environment, predictable costs, better for production AJARBOT_LLM_MODE=agent-sdk # Anthropic API Key - ONLY required for "api" mode # Get your key from: https://console.anthropic.com/settings/keys # For agent-sdk mode, authenticate with: claude auth login ANTHROPIC_API_KEY=your-api-key-here # ======================================== # Messaging Platform Adapters # ======================================== # Adapter credentials can also be stored in config/adapters.local.yaml # Slack # Get tokens from: https://api.slack.com/apps AJARBOT_SLACK_BOT_TOKEN=xoxb-your-bot-token AJARBOT_SLACK_APP_TOKEN=xapp-your-app-token # Telegram # Get token from: https://t.me/BotFather AJARBOT_TELEGRAM_BOT_TOKEN=123456:ABC-your-bot-token # ======================================== # Alternative LLM Providers (Optional) # ======================================== # GLM (z.ai) - Optional alternative to Claude # GLM_API_KEY=your-glm-key-here # ======================================== # Legacy/Deprecated Settings # ======================================== # The following settings are deprecated and no longer needed: # # USE_CLAUDE_CODE_SERVER=true # CLAUDE_CODE_SERVER_URL=http://localhost:8000 # USE_AGENT_SDK=true # USE_DIRECT_API=true # # Use AJARBOT_LLM_MODE instead (see above)