Skip to content

Hermes

Hermes connects to indoRouter through our OpenAI-compatible API.

Create an API key on the API Key page before you start.

Add indoRouter as a provider, store the key, then pick the model:

Terminal window
hermes config set providers.indorouter.name "indoRouter"
hermes config set providers.indorouter.base_url "https://api.indorouter.ai/v1"
hermes config set providers.indorouter.key_env "INDOROUTER_API_KEY"
export INDOROUTER_API_KEY="ir_..."
hermes model

In hermes model, choose indoRouter and enter a model ID such as openai/gpt-4o-mini. Run hermes model again any time to switch models. Model IDs are on the Models page.

Ask Hermes something short. The request appears on the console’s Requests page.

  • 404: the base URL has to end in /v1.
  • model_not_found: the model ID needs its vendor, as in openai/gpt-4o-mini.