Hermes AgentCoding agents
Run Hermes Agent on AnyRouter
Install the AnyRouter provider plugin, add one key, and Hermes lists only the models that can call tools.
Set it up
Install the plugin
$ hermes plugins install anyrouter$ hermes plugins list
- 1.Install the plugin with hermes plugins install anyrouter, then check it with hermes plugins list.
- 2.Add the key to ~/.hermes/.env as ANYROUTER_API_KEY=sk-.... Get one at anyrouter.dev; the same key also works against the OpenAI-compatible endpoint anyrouter.dev/api/v1.
- 3.Pick a model: run hermes model and choose anyrouter, or launch with hermes --provider anyrouter -m anyrouter/hermes. anyrouter/hermes auto-routes across the top tool-calling models with fallback, a good default for agentic work.
Why use this
Hermes Agent runs long tool loops, and a single upstream model means you eat that provider's outages and rate limits. Picking a model that cannot call tools breaks the loop.
Other ways to set it up
~/.hermes/.env
ANYROUTER_API_KEY=sk-...Run Hermes on AnyRouter
hermes --provider anyrouter -m anyrouter/hermesOptional settings
# Point Hermes at a proxy or self-hosted relay
ANYROUTER_BASE_URL=https://relay.example.com/api/v1
# Credit Hermes traffic in the public app rankings
ANYROUTER_APP_ATTRIBUTION=1Endpoints and key
- OpenAI-compatible
- https://anyrouter.dev/api/v1
- Anthropic-compatible
- https://anyrouter.dev/api
- Key
- ANYROUTER_API_KEY (sk-ar-…)