# TITAN Environment Variables # Copy this file to .env and fill in your values. # You can also run "titan onboard" to configure everything interactively. # All of these can also be set in ~/.titan/titan.json # # Recommended for new users: just set ONE provider key below. # Anthropic (Claude) is recommended. Get a free trial key at: # https://console.anthropic.com/settings/keys # ─── LLM Providers (at least one required) ─────────────────────── # Primary providers (pick one) ANTHROPIC_API_KEY=your_anthropic_key_here # OPENAI_API_KEY=your_openai_key_here # GOOGLE_API_KEY=your_google_gemini_key_here # Local inference (free, private — install from https://ollama.ai) # OLLAMA_BASE_URL=http://localhost:11434 # Additional cloud providers (all optional — set key to enable) # GROQ_API_KEY= # Fast inference (LLaMA, Mixtral, DeepSeek) # MISTRAL_API_KEY= # Mistral Large, Codestral # OPENROUTER_API_KEY= # 290+ models from all providers # FIREWORKS_API_KEY= # LLaMA, Mixtral, Qwen # XAI_API_KEY= # Grok-3 # TOGETHER_API_KEY= # LLaMA, DeepSeek, Qwen # DEEPSEEK_API_KEY= # DeepSeek Chat & Reasoner # CEREBRAS_API_KEY= # LLaMA, Qwen (fast) # COHERE_API_KEY= # Command-R+ # PERPLEXITY_API_KEY= # Sonar (search-augmented) # AZURE_OPENAI_API_KEY= # GPT-4o via Azure # ─── Channel Integrations (all optional) ───────────────────────── # DISCORD_TOKEN=your_discord_bot_token # TELEGRAM_TOKEN=your_telegram_bot_token # SLACK_TOKEN=your_slack_bot_token # ─── LiveKit Voice (optional — WebRTC voice chat) ──────────────── # Get a free account at https://cloud.livekit.io # LIVEKIT_URL=wss://your-livekit-server.example.com # LIVEKIT_API_KEY=your_livekit_api_key # LIVEKIT_API_SECRET=your_livekit_api_secret # ─── Gateway Configuration ─────────────────────────────────────── # TITAN_GATEWAY_PORT=48420 # TITAN_GATEWAY_HOST=127.0.0.1 # TITAN_LOG_LEVEL=info # debug | info | warn | error | silent # TITAN_MODEL=anthropic/claude-sonnet-4-20250514