Sensei for Hermes Agent
A model-provider plugin that adds Sensei to
Hermes Agent. With it installed,
Sensei is a provider Hermes knows by name, next to the ones it ships with.
Sensei is by invitation for now: you need a Sensei key, which you create on
the Access management page of your SenseLab account
(sense-lab.ai).
Install
hermes plugins install raia-live/hermes-sensei-provider
Set up
Put your key where Hermes reads it:
export SENSELAB_API_KEY=<your Sensei key>
Then make Sensei the model, in ~/.hermes/config.yaml:
model:
default: Sensei
provider: sensei
and start a chat:
hermes chat
Hermes reads the context window from Sensei, so there is nothing else to
set.
Without the plugin
Sensei also works as a named custom provider, with no plugin at all. The
Sensei page of your SenseLab account has the lines to paste under
providers: in config.yaml. The plugin adds two things to that setup:
Sensei is listed among Hermes' providers, and Sensei is told whether a
person is in the conversation (see below).
What the plugin sends
Requests go to https://models.sense-lab.ai/v1, or to the address in
SENSEI_BASE_URL if you set it. Each one carries your prompts, the tool
definitions Hermes sends to any model, and your SENSELAB_API_KEY, plus
these headers:
| Header | Value | Why |
|---|---|---|
User-Agent | HermesAgent/<release> | Names the agent. |
x-senselab-client | hermes | Your calls are shown as Hermes on the Sessions page and can be picked in a routing rule. |
x-senselab-session-id | Hermes' conversation key | Keeps a conversation's calls together. |
x-senselab-attended | yes or no | Whether a person is writing the asks, or the agent is working for a scheduled job, a board, a webhook or another agent. Left out when Hermes does not say. |
When a person is in the conversation, Sensei can carry what they told it in
earlier conversations into the next one, and reads a message typed in the
middle of a turn as the person cutting in. For a scheduled job or a
delegated subagent it does neither.
The plugin registers no tools, hooks or commands, reads and writes no files,
and starts nothing in the background.
Notes
- Hermes' calls beside the conversation (a chat's title, a summary of old
turns, a review of a finished turn) go to Sensei too. Subagents' calls
count toward your key's rate limit like any others. - Requires Hermes Agent 0.23.5 or later.
- The conversation key is read with one of Hermes' internal functions
(agent.opencode_affinity.resolve_affinity_key), because Hermes offers
plugins no published way to read it.hermes plugins validatereports
this as a warning. If a later Hermes moves that function, the plugin falls
back to the session id Hermes passes it.
Licence
Apache-2.0. See LICENSE.
README from the reviewed commit b868515; it updates when the author re-pins.

raia-live