Docs · Apps · Agents
Hermes Agent
Point Nous Research's Hermes Agent at TokenHaven as a custom endpoint.
All apps
Wherehermes model, or ~/.hermes/config.yaml
You’ll need an API key. Create one in Dashboard → API keys and give it a monthly limit if the app is shared.
- 01
Run the model picker
Run hermes model, choose Custom endpoint, and enter the base URL, your key and a model id when asked.
Terminalhermes model
- 02
Or edit the config
Set the model section in ~/.hermes/config.yaml. key_env reads the key from an environment variable, so it stays out of the file.
~/.hermes/config.yamlmodel: default: anthropic/claude-sonnet-4.5 provider: custom base_url: https://api.tokenhaven.ai/v1 key_env: TOKENHAVEN_API_KEY
- 03
Set the key
Export the key in your shell profile.
Terminalexport TOKENHAVEN_API_KEY=sk-th-v1-…
Good to know
- OPENAI_BASE_URL only applies to Hermes's openai-api provider. Use provider: custom as above.
Hermes Agent’s own docs · Model ids are on the models page.