# OpenClaw Configuration # Copy to .env and fill in values: cp .env.example .env # IMPORTANT: Never commit .env to git # ============================================================================= # OpenClaw Version (must be >= 2026.2.1 due to CVE-2026-25253) # ============================================================================= OPENCLAW_VERSION=2026.2.1 # ============================================================================= # Gateway Authentication # Generate with: openssl rand -hex 32 # ============================================================================= GATEWAY_TOKEN= # ============================================================================= # LLM Provider API Keys (configure at least one) # ============================================================================= ANTHROPIC_API_KEY= OPENAI_API_KEY= OLLAMA_BASE_URL=http://192.168.1.81:11434 # ============================================================================= # Messaging Platform Tokens (configure as needed) # ============================================================================= DISCORD_TOKEN= TELEGRAM_TOKEN= SLACK_TOKEN= WHATSAPP_TOKEN= # ============================================================================= # Application Settings # ============================================================================= LOG_LEVEL=info DM_POLICY=pairing