Route Hermes Agent model calls through the Orq.ai AI Gateway and connect the Orq MCP server, from the desktop app or the CLI.
Hermes Agent is a self-improving agent from Nous Research with a built-in MCP client. Route its model calls through the AI Gateway, then connect it to the Orq MCP server for agentic access to the workspace.
AI Gateway
Route Hermes’s model calls through the AI Gateway for unified tracing and cost tracking.
MCP
Manage Agents, experiments, and Traces from natural language.
Hermes is OpenAI-compatible, so it routes through the AI Gateway by pointing the OpenAI provider at the router. Configure it in the desktop app or the CLI. Changes made in the desktop app apply to the CLI as well, since both share the same configuration.
Open the Hermes desktop app. On first launch, skip provider selection to set it later. Open Settings in the top right, then go to Providers > API keys.
2
Set the OpenAI API key and base URL
Scroll to OpenAI API and expand it. Paste the Orq.ai API key into the OpenAI API key field and click Save. Then paste the router URL into the OpenAI API base URL override field and click Save:
https://my.orq.ai/v3/router
Overriding the OpenAI provider base URL with the Orq.ai router in Hermes
3
Select a model
Hermes now routes through the AI Gateway. Pick a model from the recommended list, or search by name for any other model from the AI Gateway catalog that is not shown.
Open the config with hermes config edit and set the model block to a custom provider pointed at the router, with the Orq.ai key inline:
Set default to any provider-prefixed model from the AI Gateway catalog. Override the model for a single session with hermes chat --model openai/gpt-5.4.
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.
The Orq MCP server exposes the Orq.ai platform as MCP tools. Hermes’s built-in MCP client connects to it and uses those tools to manage Agents, run experiments, and query Traces from natural language.