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

Prerequisites

Setup

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.
1

Open provider settings

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 AI Gateway 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://api.orq.ai/v3/router
Hermes API keys settings with the OpenAI API entry expanded, the AI Gateway key in the OpenAI API key field, and the router URL in the base URL override field
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.

Verification

Send a prompt in Hermes. The response appears in Hermes and the request appears in Orq.ai Traces with the selected model identifier.