Skip to content
Hermes Agent

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/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. 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.

    Shell
    export SHANNON_API_KEY=YOUR_API_KEY
  2. Set Shannon as the model provider

    In ~/.hermes/config.yaml, set the provider to custom with Shannon's base URL and a default model.

    ~/.hermes/config.yaml
    model:
      provider: custom
      base_url: https://api.shannon-ai.com/v1
      default: Kimi-K3-uncensored-NVFP4
      api_key: ${SHANNON_API_KEY}
      context_length: 1022976
  3. Start Hermes

    Run hermes for a session, or hermes -z "…" for one task. Inside a session, /model shows the active model; hermes gateway puts the same agent on Telegram, Discord, Slack and the other chat apps.

    Shell
    hermes -z "Create a file hello.txt that says: the brown dog digs."
    Hermes Agent in a terminal on a Shannon model: it writes hello.txt and confirms what it did
    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 idContext windowMax outputImage 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.

SettingValueWhy
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 read key_env: give the key as api_key (as above). If you leave api_key out, Hermes looks for a variable named after the host, SHANNON_AI_API_KEY for api.shannon-ai.com.
  • For the Anthropic format, define a named provider with transport: anthropic_messages and the base URL https://api.shannon-ai.com.

Tips

  1. hermes -z "…" runs one task and exits, which suits scripts and scheduled jobs.
  2. After editing config.yaml, start a session and type /model to confirm the provider and model Hermes is using.
  3. Export SHANNON_API_KEY in the environment that starts Hermes, including a service or gateway unit: ${SHANNON_API_KEY} in the config is filled in from it at start.
  4. Give context_length the model's real window; a larger window lets Hermes keep more skills and memory in view before it compresses.

Troubleshooting

SymptomCauseFix
"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.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical