What you'll set up
Hermes Agent is Nous Research's terminal coding agent. The official AnyRouter provider plugin, listed on the Hermes plugin marketplace, connects it to any AnyRouter model with one key.
The /model picker lists only routes that can call tools, read live from the model catalog, so the agent loop does not break on a model that cannot use tools. anyrouter/hermes is AnyRouter's own routing meta-model, not a Nous model: it sends each request to the best available tool-calling model and falls back automatically. It bills at the underlying model's rate.
1. Install the plugin
From a terminal, install the plugin from the marketplace catalog:
hermes plugins install anyrouter
hermes plugins listhermes plugins list should show anyrouter enabled. Prefer clicking? The marketplace listing has an Install in Hermes button, and the plugin source is on GitHub.
2. Add your key
Get a key at anyrouter.dev. It starts with sk-ar-. Add it to ~/.hermes/.env:
ANYROUTER_API_KEY=sk-ar-your-anyrouter-keyThe same key also works against the OpenAI-compatible endpoint https://anyrouter.dev/api/v1, so you can drive Hermes from any other OpenAI client too.
3. Pick a model
Pick interactively with hermes model and choose anyrouter, or set it per run:
hermes --provider anyrouter -m anyrouter/hermes| Model | Notes |
|---|---|
anyrouter/hermes | Best tool-calling models, with automatic fallback. The agentic default. |
anyrouter/auto | Top platform models. Tools optional. Not for agent loops. |
anyrouter/latest | Latest stable chat model. |
moonshotai/kimi-k3 | 1M context, agentic. |
deepseek/deepseek-v4-flash | Fast, reasoning-capable. |
The picker reads the live model list, so new tool-capable routes show up without updating the plugin. Switch mid-session with /model. This resets the prompt cache.
4. Check it works
hermes plugins list shows anyrouter enabled, and your next hermes chat message appears in your request logs. If the picker is empty, the key is missing or wrong, re-check ANYROUTER_API_KEY in ~/.hermes/.env.
Optional settings
Set these in ~/.hermes/.env:
ANYROUTER_BASE_URL, overridehttps://anyrouter.dev/api/v1(proxy or relay). The picker then stops filtering by tool support.ANYROUTER_APP_ATTRIBUTION=1, credit Hermes traffic in the public app rankings. Off by default.- Hermes forwards a
provider_routingblock asextra_body.provider:sort: price | throughput | latency, plusonly/ignore/data_collection: deny. See Provider Routing. - See the Hermes Agent guide for MCP setup, troubleshooting, and the full
provider_routingreference.
Everything on this page, as a checklist: the Hermes Agent use case.
Open the use caseFAQ
Is anyrouter/hermes a Nous Research model?
No. anyrouter/hermes is AnyRouter's own routing meta-model. It sends each request to the best available tool-calling model on the AnyRouter catalog and falls back automatically, billed at the underlying model's rate.
Where is the official AnyRouter plugin for Hermes Agent?
On the official Hermes plugin marketplace at hermes-agent.nousresearch.com/marketplace/anyrouter, or install from a terminal with `hermes plugins install anyrouter`.
Do I need a Nous Portal subscription?
No. The plugin authenticates with an AnyRouter API key (`ANYROUTER_API_KEY` in ~/.hermes/.env) and routes through anyrouter.dev, billed in prepaid AnyRouter credits.
Related posts
- Point Claude Code at a custom base URLGuidesJuly 12, 2026 · Claude Code reads ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY, so pointing it at AnyRouter takes two environment variables. No plugin, no fork. You get every model in the catalog behind the same key, automatic failover when a provider is rate-limited, and one audit log shared with Codex, Cursor, and every other agent you run.
- Use AnyRouter in DeepSeek HarnessGuidesNovember 2, 2026 · DeepSeek Harness is DeepSeek's open-source agent app, now in preview. Add AnyRouter as a custom model API with one base URL and one key, then pick an anyrouter/* router model for each kind of work.
- MCP servers for AI agents: what they are and how to connect oneGuidesJuly 12, 2026 · An MCP server lets an AI agent call a workspace's tools, keys, credits, models, status, over one standard interface instead of custom glue code per service. Here's what MCP is and how to connect AnyRouter's managed MCP server to Claude Desktop, Claude Code, Cursor, or your own agent.