Hermes Agent Model Configuration
Hermes is model-agnostic: the same agent capabilities run on top of different LLMs. This chapter explains how to connect and switch models.
Supported Providers
Also supported: NVIDIA NIM (Nemotron), Xiaomi MiMo, z.ai/GLM, Kimi/Moonshot, MiniMax, Hugging Face, and more.
Choosing a Model Interactively
The simplest path:
It lists available providers and models; follow the prompts to choose and enter credentials.
You can also switch mid-conversation:
/model without arguments lists the options.
Via the Config File
Model configuration ends up in ~/.hermes/config.yaml. A minimal example:
Or set it from the command line:
Credentials & Environment Variables
Secrets like API keys can live in a .env file or your shell environment; Hermes reads them automatically:
Security tip: never commit keys to Git. Keep
~/.hermes/private.
Three Typical Setups
1) Nous Portal (most convenient)
One-click OAuth login, plus an official tool gateway (web search, image generation, TTS, cloud browser) under one subscription:
2) OpenRouter (most models)
A single API key unlocks 200+ models — great for comparison and cost optimization:
3) Local vLLM (most private)
Deploy open models on your own GPUs so data and inference never leave your network:
Model Selection Guidance
Because Hermes ships 11 tool-call parsers, it tolerates different tool-call output formats well. Still, tool-heavy tasks benefit from models with strong tool-calling ability.
Next Steps
- Tool System — let the model actually take action
- Memory System — let the model remember context
- Multi-Agent — different models for different tasks