Hermes Teammates

Named subagent teammates for Hermes Agent.
You define a small roster of teammates (a reviewer, a scout, a test-writer), each with its own instructions,
toolsets and model. Your agent hands them work, checks on them, steers them mid-run, follows up with the context
of earlier assignments, and can work a Kanban lane with a review handoff.
Stock Hermes; no patched core. It uses the public plugin subagent lifecycle API (ctx.subagent_lifecycle).
- For: people who already delegate with Hermes and want the same specialists every time, without rewriting
the brief, and with a durable record of what each teammate did. - Not for: DAG workflows with gates and fan-out. Use
hermes-workflows for those. Teammates is about who does the
work; workflows is about the shape of a long job.
Screenshots
| Roster | Two teammates in parallel, one working a Kanban card |
|---|---|
|
|
|
| Results; the card moved to review | /teammates in any chat |
|
|
|
How it works
you ──► parent agent ──teammate_assign──► teammate (Hermes subagent, your toolsets/model)
▲ │
└──────────teammate_check◄─────────┘ result, provider/model, duration
│
└─teammate_assign(kanban_task)──► claim lane task ─► run ─► task moves to REVIEW
- You define teammates in config. The model only ever picks a teammate name; you decide what that name
means. teammate_assignlaunches a subagent throughctx.subagent_lifecycleand returns arun_idat once. The
teammate's instructions travel in its context. Its toolsets can only narrow the parent's, never widen them.teammate_checkreports status, or waits up to 60 s and returns the result. Every run is recorded in a
per-profile SQLite ledger (<HERMES_HOME>/plugin-data/hermes-teammates/data.db). Results of plain runs are
saved when the child finishes, even if you never callteammate_check.follow_up: truegives the teammate a bounded digest of its earlier assignments in this conversation, so it
picks up where it left off.teammate_messagesteers a running teammate. The text lands at its next step, without stopping it.
teammate_stoprecords accepted stops; completions after the stop stay cancelled and block their Kanban card.
Refused cancellations leave completed work intact.- Kanban teammates lane. Assign cards to the
teammateslane, which is not a Hermes profile, so the
dispatcher leaves them alone.teammate_assign(kanban_task=…)claims the card and keeps the claim alive while
the teammate works. On success the card moves to review with the teammate's summary; on failure it is
blocked with the reason. You, or your agent, accept or request changes with the usual Kanban tools.
Install
hermes plugins install 100yenadmin/hermes-teammates --enable
Then restart the gateway (or the CLI session) so the tools register.
Configure
In Hermes Desktop (0.21.5 or newer), open the plugin's settings. On current builds they are under
Settings ▸ Plugins; on 0.21.5 they open inline from the plugin's row under Capabilities ▸ Plugins.
| Setting | What it does | Valid values (invalid teammates are refused; other settings fall back to defaults) |
|---|---|---|
| Teammates | Your roster, as a JSON object (example below) | Names: lowercase letters, digits, - or _, up to 32 characters |
| Kanban lane | Kanban assignee for teammate cards | Any name that is not a Hermes profile; default teammates |
| Kanban claim TTL (seconds) | How long a claim on a lane card lasts between heartbeats | 60–86400; default 900 |
| Max live runs per conversation | Teammate runs one conversation may have in flight | 1–16; default 4 |
| Follow-up context budget (characters) | How much of earlier results a follow-up carries | 0–24000; default 8000 |
The Teammates field takes JSON like this:
{
"reviewer": {
"description": "Careful code reviewer; finds regressions and cites file:line.",
"instructions": "Review the change you are given. Report findings with file:line and a fix.",
"toolsets": ["file", "terminal"]
},
"scout": {
"description": "Fast web researcher.",
"instructions": "Find the facts asked for. Quote sources.",
"toolsets": ["web"]
}
}
Each teammate takes description, instructions and toolsets, plus optional model, route and
reasoning_effort (see Compatibility). The form checks types, not ranges. A value it accepts but
the plugin can't use is listed under Config problems in /teammates. Invalid teammates refuse launch:
unknown keys, wrong field types, and empty or invalid toolsets fail closed. Absent or null toolsets inherit.
Long descriptions (over 300 characters) and instructions (over 4,000) are clipped with warnings and remain launchable;
toolset names are trimmed. model, route and reasoning_effort over 100 characters, more than 24 toolsets, or a
toolset name that is not 1–48 printable ASCII characters without spaces make the teammate invalid.
Launch context reserves operator instructions, then card text (up to 6,000 characters), the follow-up digest,
and caller context, within 30,000 characters. Clipped parts show [… N characters omitted]; instructions stay intact.
With the CLI, headless, or on Hermes 0.21.4, put the same settings in config.yaml:
plugins:
entries:
hermes-teammates:
settings:
teammates:
reviewer:
description: "Careful code reviewer; finds regressions and cites file:line."
instructions: "Review the change you are given. Report findings with file:line and a fix."
toolsets: [file, terminal]
scout:
description: "Fast web researcher."
instructions: "Find the facts asked for. Quote sources."
toolsets: [web]
model: null # same provider as the parent; see Compatibility
lane: teammates # Kanban assignee for the teammates lane (must not be a profile name)
max_live_runs: 4 # per conversation
followup_context_chars: 8000
claim_ttl_seconds: 900
Settings are read on every call, so edits apply without a restart. The one exception is the list of teammate
names in the teammate_assign tool description, which is fixed at startup. A teammate you add later works by
name right away, and teammates_roster always shows the current list; restart to refresh the description.
Roster file
To keep the roster out of config.yaml, put it in its own YAML file and point roster_file at it:
plugins:
entries:
hermes-teammates:
settings:
roster_file: teammates.yaml # relative to this profile's Hermes home, or an absolute path
The file holds one top-level teammates mapping, written exactly like the setting (see teammates.example.yaml),
and replaces the teammates setting while roster_file is set. Every other setting stays in config.yaml. Each
teammate is validated as usual. A missing, unreadable or invalid file gives an empty roster and a config problem,
never a failed call. /teammates and teammates_roster show which file the roster came from. The file is read on
every call, like the other settings. Several profiles can share one roster by pointing at the same absolute path.
roster_file is an operator setting: no tool argument can change it. Leave it unset to keep the roster in
config.yaml.
Use
Ask in plain language:
Have the reviewer check the diff in
src/parser.py, and the scout find how other projects handle BOM-prefixed
CSV. Report back when both are done.
| Tool | What it does |
|---|---|
| teammates_roster | Lists teammates and their current role_hash, recent runs, open lane cards and host features; optional teammate explains one definition |
| teammate_assign | Starts a run: teammate, goal, optional context, follow_up, kanban_task, wait_seconds (0–300, default 0) |
| teammate_check | Shows status (including queued), result, api_calls and duration_seconds, or waits (wait_seconds ≤ 60) |
| teammate_wait | Waits for any or all of 1–16 unique run IDs in this conversation; returns done, pending, and timed_out |
| teammate_message | Steers a running teammate |
| teammate_stop | Cancels a run |
Use teammate_assign(wait_seconds=...) when you need one result now; use teammate_wait for several runs or when you have work to do meanwhile.
These tools include relay guidance with finished summaries: preserve specialist findings, citations and verdict
verbatim when reporting them, and keep the parent's commentary separate.
/teammates prints the roster in any chat surface.
queued means Hermes has accepted the child and is waiting to start it. Queued runs still count toward the
live-run cap.
Hermes tool search
On the inspected Hermes compatibility pin
and main revision,
tools.tool_search.enabled: auto defers plugin tools whenever any are available. The default 5% threshold_pct
limits the catalog listing, not activation. Neither defer: [] nor a smaller schema keeps teammate tools direct.
There is no supported selective opt-out at these revisions; upstream request.
teammate_assign, teammate_wait, teammate_check and teammates_roster include short catalog hints and
schema examples for the bridge. If the tool is deferred, use tool_search to find its name, then
tool_describe for its parameters, then tool_call to invoke it. Skip search when the catalog already shows
the exact name. Describing a tool does not make it directly callable. For example, after describing the roster:
{"calls":[{"name":"teammates_roster","arguments":{}}]}
Send that object to tool_call. Use one entry per teammate invocation, with an arguments object and the
actual tool name (never tool_call itself). When the tool is directly listed, invoke it normally.
If your model struggles with the bridge, merge this into the active profile's config.yaml at the top level,
alongside plugins, preserving other tools settings, then start a new CLI session or restart the gateway:
tools:
tool_search:
enabled: "off"
This makes all enabled local plugin/MCP and otherwise-deferred core tools direct, including process_manage;
it cannot select only teammates. More full schemas occupy the parent's context on every request, especially
with many MCP tools. Restore enabled: auto and restart to return to deferred discovery.
Setting tools.tool_search.enabled: "off" also removes discovery of hosted connector tools (connectors__*, such as Gmail, Calendar or Linear) on both inspected Hermes revisions, so keep auto if you use Hermes connectors.
In the exploratory Slice 3 comparison, C-eager (global deferral off) used 0.70× parent tokens and 1.30 fewer
parent calls per request than C (deferral on), across 60 requests per arm. This compared configuration packages,
including process_manage visibility; it did not isolate teammate deferral or these new hints.
Quality/success non-inferiority remains UNRESOLVED. See #56
and the existing private result card and audit.
No new model run or cost claim is made by this change.
Results and receipts
Finished runs report these fields through teammate_assign(wait_seconds=...), teammate_check, teammate_wait and the roster's recent runs:
| Field | Meaning |
|---|---|
| summary | Teammate result text within the existing budget; JSON decoding preserves newlines, quotes and non-ASCII text |
| relay_instruction | Guidance to relay findings, citations and verdict verbatim; present on finished assign/wait/check rows with nonempty summaries, with an explicit warning when clipped; the roster includes it once at the top level |
| summary_clipped | True when original summary content was cut, even if a stop note adds text afterward |
| summary_chars | Original summary length before ledger/public clipping; null for old rows or no summary |
| role_hash | First 12 SHA-256 hex characters of the canonical JSON of the parsed teammate definition used at launch; null for old rows |
| api_calls, duration_seconds | Lifecycle request count and duration in seconds; null when unavailable |
| tokens_input, tokens_output | Accumulated input and output token buckets from the child's API hooks |
| tokens_cache_read, tokens_cache_write, tokens_reasoning | Accumulated cache and reasoning token buckets, when supplied |
Summaries retain at most 8,000 characters in the ledger; the roster returns at most 300 per run. For old rows,
summary_clipped only detects clipping of the stored text because the original length is unknown.
The roster's current role_hash can differ from a run's hash after you edit the definition.
Run rows omit error when it is null; actual tool errors retain error and ok: false.
Replies remain valid JSON with additive guidance; they do not append a second, unescaped copy of the summary.
If summary_clipped is true, describe the result as incomplete and do not infer missing findings or a verdict.
The roster's short previews follow the same rule; one top-level instruction points to teammate_check for the full retained text.
Follow-up digests preserve result text within their configured budget, tell the teammate to continue from prior results and label results
already clipped in the ledger as incomplete. Further digest clipping keeps its characters-omitted marker.
Kanban review handoffs retain their 4,000-character summary budget and add summary_chars, summary_clipped
and relay_instruction to the existing hermes_teammates metadata. These instructions guide the parent;
they do not guarantee that a model relays a result faithfully.
Token receipts require both subagent_start and post_api_request hooks and in-process plugins; the roster
reports token_receipts support. Only mapped child sessions contribute, never the parent's own requests or
unmapped children. Counts are in-process only: unfinished accumulators do not survive reloads or restarts.
Missing, invalid or overflowing buckets are null; completed receipts stay in the ledger. The map holds at
most 1,024 sessions, so evicted sessions cannot supply complete receipts. Hermes does not expose cost to plugins.
teammates_roster(teammate="reviewer") returns only that teammate and its parsed definition, current
role_hash, launch_toolsets (or inherits parent), route support in features, ignored fields in
unsupported, and read-only global delegation values: inherit_mcp_toolsets, worktree_isolation and
child_timeout_seconds. Unset values use Hermes's defaults; delegation_sources marks each value as
config, managed, default or unknown. Unavailable values are unknown; an unknown name returns unknown_teammate.
The reply stays within 16,000 characters, measured as JSON with non-ASCII text left unescaped. If an explained
definition would not fit, its instructions are shortened and instructions_clipped is true.
teammate_wait(run_ids, mode="any", wait_seconds=30) returns as soon as any requested run ends;
use mode="all" for fan-in. The wait is bounded to 0–300 seconds (default 30). Unknown or cross-conversation IDs
return unknown_run before waiting. Finished rows omit goal and share a summary budget: per-run budget is
max(1000, 24000 // number_of_done_runs). summary_clipped reports any cut; teammate_check keeps its full
goal and 8,000-character summary budget. Wait skips blocking Kanban handoff retries; the monitor and later
teammate_check still produce the handoff outcome.
Hermes interrupts (/stop or a new user message) end a wait promptly, returning interrupted: true and
timed_out: false with the current finished and pending runs; the teammates keep running. Replies omit
interrupted otherwise. Hermes's default tool-call timeout (tools.sequential_call) is 420 seconds;
if you lowered it, keep wait_seconds below your timeout. teammate_check remains bounded to 0–60 seconds.
Completion notices (not available yet)
Notices that tell the parent when a run ends are built, but no current Hermes build can deliver them safely. Hermes can't
yet confirm which conversation would receive an injected message. In the CLI it goes to whatever session is open, and in the
gateway a chat keeps the same routing key after /new. A notice could land in the wrong conversation, so the plugin never
injects one; the roster reports push_completion as unsupported with the reason. Use teammate_wait instead.
Session-bound injection is requested upstream in
NousResearch/hermes-agent#133212.
Once Hermes has it, a plugin update can enable notices behind notify_on_completion (off by default; outside the CLI
also the operator's allow_gateway_injection). A notice contains only the teammate name, run ID and status, never child
output, goals or child error text. Runs already read with check/wait or stopped by the parent get no notice.
Compatibility
- Requires Hermes 0.21.4 or newer. CI runs against a pinned upstream commit and against
main. - Runs with
plugins.isolation: in_process(the default). Underplugins.isolation: host, every tool except the
roster answersunsupported_isolation. Hermes builds with NousResearch/hermes-agent#137167 can carry launches across
the plugin-host boundary. But calls made after a tool returns (run monitors) cannot yet resolve their parent
session, and the plugin cannot see the delegation depth or spawn pause from the host process. - Some features depend on the Hermes build. The plugin detects each one at call time and never quietly
substitutes something else:
| Teammate setting / feature | Needs in Hermes | When missing |
|---|---|---|
| model | any supported version | Must be served by the child's selected provider (normally inherited from the parent) |
| delegation: config (provider, model, reasoning effort) | provider and model: builds with #137167; reasoning effort: any supported version | Teammates use the parent's provider and model; delegation.reasoning_effort still applies to every teammate |
| route (a configured Hermes provider name, such as openrouter) | SubagentLaunchRequest.provider, in Hermes builds with NousResearch/hermes-agent#137167 (on Hermes main since 2026-10-12; first in the v0.21.7 canary of 2026-10-13; not yet in a stable release) | Listed in the run's unsupported field; the run uses the parent's provider. With support, a routed teammate does not use the delegation: provider settings (provider, model, base URL, API mode, request overrides); the global delegation.reasoning_effort still applies on any build (a per-teammate reasoning_effort is the separate row below). Always set model together with route. |
| reasoning_effort | SubagentLaunchRequest.reasoning_effort (upstream PR #89936) | Listed in the run's unsupported field |
| steering | a lifecycle steer (Hermes builds with #137167); older builds fall back to delegate_task steer with the live parent | teammate_message returns unsupported |
| teammate_wait | supported lifecycle and in-process plugin | Same isolation restrictions as check |
| push completion | public session-bound injection (unavailable on tested pinned/main); gateway also needs operator consent | Roster reports unsupported; results remain available via check/wait |
| follow-up on the same child | a lifecycle follow_up (proposed upstream) | Follow-ups carry earlier results as context |
The upstream proposal is tracked in NousResearch/hermes-agent#133212.
Benchmarks
The first live slice ran one code-review task three ways on the same model (GLM glm-5.3, one Hermes build, 3 runs each):
A one agent alone, B core delegate_task fan-out to 4 helpers, C 4 teammates.
| Setup | Bugs found (of 8) | Parent tokens | Total tokens | Parent API calls | Wall time |
|---|---:|---:|---:|---:|---:|
| A, one agent | 8 | 135k | 135k | 9 | 87 s |
| B, delegate_task | 8 | 32k | 171k | 3.3 | 81 s |
| C, teammates (0.1.3) | 8 | 52k | 195k | 6.3 | 86 s |
All three setups found every planted bug, so this task cannot rank them on quality. It does show the cost shape: delegating cut the parent's cumulative token use 2.6–4.2× (its peak prompt about 1.6×), cost 26–44% more tokens in total, and was not faster here. Teammates made about twice
as many parent calls as delegate_task.
An audit of every recorded tool call found no run read the answer key. These are means of 3 runs, without significance tests.
Slice 2 re-measured this on 10 harder review cases × 2 runs, with teammates 0.2.2 and teammate_wait, against the
same delegate_task fan-out. Its declared verdict is INCONCLUSIVE: 4 of 40 runs broke the frozen recipe (3 delegate_task,
1 teammates). On the 36 valid runs both found 98% of the planted bugs. The teammates parent still used 1.76× the tokens
of the delegate_task parent (95% bounds 1.48–2.07) and made 3.2 more API calls per run: about 1.7 calls finding the
plugin's tools behind Hermes's tool search, and 2.3 waits, since a wait is capped at 60 s while helpers ran 150–200 s.
Fixes: a longer wait (#40) and directly listed plugin tools upstream (NousResearch/hermes-agent#135762). For a one-shot
fan-out, delegate_task is the cheaper choice today.
Slice 3 tested what teammates are for: one six-request session that needs three named specialists, a scout, a
reviewer and a tester. It ran on 10 cases, with teammates 0.2.5 against delegate_task with the same role rules in
AGENTS.md. The declared verdict is INCONCLUSIVE (quality unresolved):
- Rule-following: teammates were at least as good (+0.117; the lower bound sat exactly on the bar).
- Success: too close to call (−0.017, with bounds −0.083 to +0.050).
- Cost: unresolved: 1.04× the parent tokens (bounds 0.79–1.41) and 0.75 more calls per request (bounds −0.23 to +1.95).
Every reviewer specialist given a planted bug found it (teammates 9 of 9, delegate_task 10 of 10; one teammates review was never delegated). Teammates lost points in two places:
- Passing the answer on: the parent paraphrased the reviewer's finding instead of copying its finding line, in 20 of 20 reviews (
delegate_task: 19 of 20 copied). Twice that lost thefile:line. - Tool search: discovering the plugin's tools behind Hermes's tool search cost extra calls.
0.2.7 addresses both: results now carry a verbatim relay instruction, and the tools carry tool-search bridge hints.
Slice 3b was the planned re-measure of 0.2.7. It stopped before the scored run, at its calibration gate, because
each setup scored 12 of 12 on the two calibration cases (24 of 24 pooled), above the gate's 0.95 ceiling. By its pre-declared rule,
that makes it INCONCLUSIVE (design), with no tuning and no rerun. On those 24 calibration turns, both setups' parents kept the reviewer's file:line
in all 4 reviews. Only teammates' parents also kept the reviewer's exact finding line, 4 of 4 against 0 of 4; in slice 3 it was the other way round. That is
exploratory, two cases only, and not a measured claim.
What this means in practice:
-
Choose
delegate_taskfor a one-shot fan-out. It is built in, never sits behind tool search, and was cheaper
in slices 1 and 2. -
Choose teammates when the same specialists come back across a session or a project:
- you write each role's rules, toolsets and model once, in config, instead of in every brief;
- results are kept per run, with token receipts and a clipped flag;
- you can steer, follow up and use a Kanban review lane.
On that workload, slice 3 found teammates following the role rules at least as well as
delegate_task; success
and cost were unresolved. A quality or cost advantage is not established.
Full reports, method and per-run data: bench/results/slice1/REPORT.md,
bench/results/slice2/REPORT.md,
bench/results/slice3/REPORT.md and
bench/results/slice3b/REPORT.md. The $0 mechanics benchmarks
(tests/bench_mechanics) run in CI on every change.
Limits (honest list)
- Follow-ups carry context, not the transcript. A follow-up starts a fresh subagent with a digest of earlier
results until Hermes exposes transcript-level follow-up to plugins. - Runs do not survive a restart. Hermes keeps subagents in-process. After a restart the ledger marks
unfinished runs from dead processesinterruptedon first plugin use across conversations; results are not
recovered or re-run. Plugin reloads within the same process preserve live runs. A lane card's claim expires through Kanban's normal TTL. - Runs belong to the conversation that started them. Another chat on the same profile cannot see, steer or
stop them. - Compression keeps runs;
/newand rotation do not. Hermes' default in-place compression (compression.in_place: true)
keeps the session id, so runs survive it. In rotation mode (in_place: false) and after/new, the conversation gets a new
session id and earlier runs answerunknown_run. A lane card is blocked when its monitor detects the lost handle; the child
may continue without a recoverable result. - Toolsets narrow, but they are Hermes toolsets.
fileincludes write tools, so a teammate withfilecan
edit files even if its instructions say not to. Pick toolsets for what the teammate may do, not what it should
do. By default Hermes adds the parent's MCP toolsets back to a teammate with narrowedtoolsets(delegation.inherit_mcp_toolsets: true); set it tofalsefor a strict intersection. - The plugin refuses nested teammates, checks Hermes's spawn-pause flag, and caps live runs per conversation.
- Hermes builds before #137167 cannot grant plugin toolsets (for example Spotify) to teammates; launch returns
launch_failed. Newer builds accept them.
How to test
hermes plugins validate --install-deps ./hermes-teammates
cd hermes-teammates && python -m pytest -q # inside a Hermes venv
Manual walkthrough (5 minutes):
- Add the
reviewerteammate above, in the plugin settings orconfig.yaml. - Ask: "Show me my teammates." You should see the roster with
reviewerand a features table. - Ask: "Have the reviewer summarize README.md in three bullets." You get a
run_id, then the result via
teammate_check. - Ask: "Follow up with the reviewer: which bullet is weakest?" The run starts with
follow_up: true. - Create a Kanban card assigned to
teammates, then ask: "Have the reviewer work Kanban task ." The card
goes running → review with the summary.
Security
See SECURITY.md. In short:
- Credentials come from Hermes: the parent's, or the operator-configured provider's when route is supported.
The model cannot choose credentials; teammates can only narrow toolsets. - The model picks names, never providers or models.
- The ledger stays local and per profile.
- The plugin makes no network calls of its own.
- It only claims Kanban cards assigned to its lane.
Troubleshooting and reporting a bug
Use /teammates for the roster, or teammates_roster for config problems, host features and recent runs.
If the tools are missing on one platform (for example Telegram) while hermes plugins shows the plugin enabled, check that profile's platform_toolsets: when it holds an explicit list for that platform, teammates must be in it. Run hermes tools to add it.
Inspect an existing run with teammate_check (wait_seconds: 0) for status, summary, api_calls and duration_seconds.
For recent agent-log excerpts, use hermes logs -n 300 | grep -i teammate; remove secrets and private text before sharing.
Inspect existing runs first; ask before starting a new run or follow-up, because model calls cost money.
Or ask your Hermes agent to report a problem with Hermes Teammates (the bundled teammates-report-problem skill); it drafts the report and files nothing until you approve the draft. On Hermes versions that do not list plugin skills in the system prompt, name it: "load the skill hermes-teammates:teammates-report-problem".
Use the bug report form for reproducible problems.
Report toolset escapes, cross-profile access or leaked credentials through a private advisory.
License
MIT. Maintained by @100yenadmin (Electric Sheep).
README from the reviewed commit de85f5d; it updates when the author re-pins.
100yenadmin


