Hermes Agent (gateway)
Route Hermes Agent ’s LLM calls through the Respan gateway for automatic logging, caching, and model switching. Hermes talks to any OpenAI-compatible endpoint, so only your RESPAN_API_KEY is needed.
Paste this into your coding agent:
Help me set up the Respan gateway with the Hermes Agent integration.
Follow https://www.respan.ai/docs/integrations/gateway/hermes-agent.mdSetup
Install Hermes Agent
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bashOn Windows PowerShell:
iex (irm https://hermes-agent.nousresearch.com/install.ps1)Point Hermes at the Respan gateway
Edit ~/.hermes/config.yaml and set a custom OpenAI-compatible provider:
model:
default: gpt-4o
provider: custom
base_url: "https://gateway.respan.ai"
api_key: "YOUR_RESPAN_API_KEY"Or run the interactive picker, choose Custom endpoint (self-hosted / VLLM / etc.), and enter the same base URL, key, and model name:
hermes modelNo separate provider key needed. The Respan gateway handles provider authentication.
Run Hermes
hermesFor a one-shot, non-interactive run:
hermes chat -q "your prompt" --oneshotAll LLM calls now route through Respan.
Set the gateway in config.yaml (or with hermes model), not through OPENAI_BASE_URL and OPENAI_API_KEY. Hermes only reads those variables for its openai-api provider, which sends OpenAI-only parameters such as reasoning.effort and fails on non-reasoning models.
Switch models
Change model.default in ~/.hermes/config.yaml to use any of the 1000+ models available through the gateway.
model:
default: gpt-4o
# default: claude-sonnet-4-5-20250929
# default: gemini/gemini-3.5-flashSee the full model list .