Prerequisites
- Hermes Agent installed (
pip install hermes-agentor via installer) - A ClearMaas API key starting with
sk-
Config file locations
All settings live in~/.hermes/:
| File | Purpose |
|---|---|
config.yaml | Model, terminal, agent, and provider settings |
.env | API keys and secrets |
auth.json | OAuth provider credentials |
Setup via config.yaml
Add to~/.hermes/config.yaml:
~/.hermes/.env:
Provider options
Theprovider field accepts these values:
| Provider | Description |
|---|---|
auto | Auto-detect (requires direct provider credentials) |
custom | Any OpenAI-compatible endpoint (set base_url) |
openrouter | OpenRouter multi-provider routing |
lmstudio | LM Studio local server |
ollama, vllm, llamacpp | Aliases for custom |
provider: "custom" with a base_url routes all requests through ClearMaas.
Using the Anthropic protocol
For native Anthropic requests (bypassing translation), use the bare host URL:https://api.clearmaas.com) expects the SDK to append /v1/messages, while the OpenAI-compatible path (https://api.clearmaas.com/v1) is the complete endpoint.
Interactive setup
If you prefer a guided setup:- Base URL:
https://api.clearmaas.com/v1(OpenAI-compatible) orhttps://api.clearmaas.com(Anthropic-compatible) - API Key:
sk-...
Environment variable override
Override settings at runtime:config.yaml, then .env.
Choosing models
Set the default model inconfig.yaml:
| Prefix | Example |
|---|---|
openai/ | openai/gpt-4o |
anthropic/ | anthropic/claude-sonnet-4.6 |
google/ | google/gemini-2.5-pro |
deepseek/ | deepseek/deepseek-chat |
grok/ | grok/grok-4-fast-reasoning |
qwen/ | qwen/qwen3.6-plus |