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/:
Setup via config.yaml
Add to~/.hermes/config.yaml:
~/.hermes/.env:
Provider options
Theprovider field accepts these values:
Setting
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: