All plugins

sensei

Sensei by SenseLab as a model provider: one model, Sensei, over the OpenAI-compatible API at models.sense-lab.ai/v1. Disclosure — registers one model provider at import and nothing else (no tools, hooks, commands, file access or background work); prompts, tool schemas and your SENSELAB_API_KEY go to models.sense-lab.ai, or to SENSEI_BASE_URL when you set it, with headers naming the agent, the conversation and whether a person is writing the asks. Sensei keys are by invitation for now.

raia-liveModelsv0.1.0Updated 1 day ago

About

Sensei by SenseLab as a model provider: one model, Sensei, over the OpenAI-compatible API at models.sense-lab.ai/v1. Disclosure — registers one model provider at import and nothing else (no tools, hooks, commands, file access or background work); prompts, tool schemas and your SENSELAB_API_KEY go to models.sense-lab.ai, or to SENSEI_BASE_URL when you set it, with headers naming the agent, the conversation and whether a person is writing the asks. Sensei keys are by invitation for now.

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:

HeaderValueWhy
User-AgentHermesAgent/<release>Names the agent.
x-senselab-clienthermesYour calls are shown as Hermes on the Sessions page and can be picked in a routing rule.
x-senselab-session-idHermes' conversation keyKeeps a conversation's calls together.
x-senselab-attendedyes or noWhether 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 validate reports
    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.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section