Prerequisites
- Hermes installed (desktop app or CLI)
- Active Orq.ai account with AI Gateway access
- An AI Gateway API key
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.- Desktop app
- CLI
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.
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:

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.