Skip to main content
Route every model call Hermes Agent makes through the Orq.ai AI Gateway. Requests appear in Traces automatically.

Prerequisites

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

Setup

Hermes is OpenAI-compatible, so it routes through the AI Gateway by pointing at the router endpoint. Open the config with hermes config edit and set the model block to a custom provider pointed at the router, with the AI Gateway key inline:
model:
  provider: custom
  default: "anthropic/claude-sonnet-4-6"
  base_url: "https://api.orq.ai/v3/router"
  api_key: "<your-orq-api-key>"
Set default to any provider-prefixed model from the AI Gateway catalog.
The default config already contains a model block. Edit its existing keys, the block must end up with a single provider and a single base_url.
Start Hermes with hermes. Every model call now routes through the AI Gateway and appears in Traces. Override the model for a single session with hermes chat --model openai/gpt-5.4.