Personal and autonomous agents
Use Hermes Agent with Shannon
Point Hermes Agent at Shannon with its custom provider and keep its skills, memory and gateways as they are.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 3 min
About Hermes Agent
Hermes Agent is an open-source agent from Nous Research that improves as it works: it writes its own skills, keeps memory between sessions and runs in the terminal or in Telegram, Discord, Slack and other chat apps. Its custom provider points it at any OpenAI-compatible API, so it can run on Shannon models with long windows and tool calls.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Export your API key
Keep the key in your shell; the config below refers to it as
${SHANNON_API_KEY}, which Hermes expands when it starts.Shellexport SHANNON_API_KEY=YOUR_API_KEY -
Set Shannon as the model provider
In
~/.hermes/config.yaml, set the provider tocustomwith Shannon's base URL and a default model.~/.hermes/config.yamlmodel: provider: custom base_url: https://api.shannon-ai.com/v1 default: Kimi-K3-uncensored-NVFP4 api_key: ${SHANNON_API_KEY} context_length: 1022976 -
Start Hermes
Run
hermesfor a session, orhermes -z "…"for one task. Inside a session,/modelshows the active model;hermes gatewayputs the same agent on Telegram, Discord, Slack and the other chat apps.Shellhermes -z "Create a file hello.txt that says: the brown dog digs."
A real run on Hermes Agent 0.19.0 with the provider above.
Check that it works
Send: Create a file hello.txt that says hi, then tell me what you did.
You should see: Hermes calls its file tool and reports the file it wrote.
Models that fit Hermes Agent
Every id below meets what Hermes Agent needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Kimi-K3.1-Pro-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
MiMo-V2.6-Pro-uncensored-NVFP4 | 1,022,976 | 131,072 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
shannon-3 | 196,608 | 65,536 | Yes |
Model settings
Hermes Agent asks for these values. They follow the model you picked.
| Setting | Value | Why |
|---|---|---|
context_length | 1022976 | Hermes refuses to start below 64,000 tokens. |
Good to know
- Hermes needs tool calls and at least a 64,000-token window; every Shannon model in the picker has both.
- Some helper features (vision, web summaries) use their own model settings. Point those at Shannon too, or they call the service they are set to.
- With
provider: custom, Hermes does not readkey_env: give the key asapi_key(as above). If you leaveapi_keyout, Hermes looks for a variable named after the host,SHANNON_AI_API_KEYforapi.shannon-ai.com. - For the Anthropic format, define a named provider with
transport: anthropic_messagesand the base URLhttps://api.shannon-ai.com.
Tips
hermes -z "…"runs one task and exits, which suits scripts and scheduled jobs.- After editing
config.yaml, start a session and type/modelto confirm the provider and model Hermes is using. - Export
SHANNON_API_KEYin the environment that starts Hermes, including a service or gateway unit:${SHANNON_API_KEY}in the config is filled in from it at start. - Give
context_lengththe model's real window; a larger window lets Hermes keep more skills and memory in view before it compresses.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| "context window too small" at start | context_length is missing or below 64,000. | Set context_length to the model's window. |
401 with "Invalid or expired Firebase token" | Hermes sent no Shannon key: api_key is missing, or SHANNON_API_KEY is not set in the shell that starts it. | Set api_key: ${SHANNON_API_KEY} under model: and export the variable. |
| The agent answers but never uses tools | A model without tool calls. | Pick a model from the picker; all of them call tools. |
401 Unauthorized | The key is missing, mistyped or rotated. | Copy the key again from Keys & usage; it starts with sk-. |
context_length_exceeded / "prompt is too long" | The conversation is longer than the model's window. | Start a new chat, let the tool compact it, or pick a model with a larger window. |
insufficient_quota | Your balance cannot pay for the request. | Top up or change plan; the request is not retried by itself. |
Questions
Does Hermes Agent work with Shannon?
Yes. Hermes' custom provider speaks the OpenAI Chat Completions format, which Shannon serves at https://api.shannon-ai.com/v1.
Which model should Hermes use?
One with a long window, such as Kimi-K3-uncensored-NVFP4; Hermes saves skills and memory into its context, so a large window lasts longer.