# Hermes Agent Configuration # Default config with kimi-coding fallback for Timmy and Ezra # Issue #186: Add kimi-coding fallback when Anthropic quota limited # ============================================================================= # Model Configuration # ============================================================================= # Default model - using Anthropic with automatic fallback model: anthropic/claude-opus-4.6 # Fallback chain: Anthropic -> Kimi -> OpenRouter # Auto-enabled via HERMES_AUTO_FALLBACK=true (default) fallback_providers: - provider: kimi-coding model: kimi-k2.5 timeout: 60 reason: "Primary fallback when Anthropic quota limited (Issue #186)" - provider: openrouter model: anthropic/claude-sonnet-4 timeout: 45 reason: "Secondary fallback via OpenRouter" # ============================================================================= # Provider Settings # ============================================================================= providers: anthropic: timeout: 30 retry_on_quota: true max_retries: 2 kimi-coding: timeout: 60 max_retries: 3 # Uses KIMI_API_KEY from environment openrouter: timeout: 45 max_retries: 2 # Uses OPENROUTER_API_KEY from environment # ============================================================================= # Agent Settings # ============================================================================= agent: max_turns: 90 tool_use_enforcement: auto # Auto-fallback configuration fallback_on_errors: - rate_limit_exceeded - quota_exceeded - timeout - service_unavailable - 403_error - 429_error # ============================================================================= # Toolsets # ============================================================================= toolsets: - hermes-cli - github - web # ============================================================================= # Display Settings # ============================================================================= display: show_fallback_notifications: true show_provider_switches: true compact: false personality: kawaii # ============================================================================= # Terminal Settings # ============================================================================= terminal: backend: local cwd: . timeout: 180 persistent_shell: true # ============================================================================= # Checkpoints # ============================================================================= checkpoints: enabled: true max_snapshots: 50 # ============================================================================= # Config Version # ============================================================================= _config_version: 10