Files
hermes-agent/website/docs/reference/toolsets-reference.md
Teknium 1cf261a8cd refactor(wecom): WeCom leaves core for the wecom Hermes Labs plugin
Both WeCom platforms (AI Bot `wecom`, self-built-app `wecom_callback`) move to
NousResearch/hermes-labs-plugins `wecom/`. Two LEFT_CORE rows (one per
platform, one shared plugin, installed once) whose platform_in_use predicates
replicate core's enable gates per mode. Stacked on the DingTalk removal
(#159638): the platform lists both PRs edit are resolved once here.

Folded from the earlier branch (one commit per step, in order):

  331094ca15a3 Teknium test(gateway): a named profile's port-binder is served only on a default listener, live reconcile too
  The live reconcile builds a named profile's platforms through the same prepare step as startup, so the
  "not served" refusal holds there as well: a LINE secondary with neither api_server nor webhook on the
  default stays unstarted and names the remedy instead of reading as connected. The two LINE named-profile
  reconcile tests now give the default a webhook listener, so their LINE is served at /p/b/ as in a real
  setup; their assertions are unchanged.

  bedc93176b93 Teknium fix(left-core): off-platforms derive from the LEFT_CORE rows; left-core routes name the install
  Same hunk as the QQ Bot (#159640) and Feishu (#159651) PRs, so merge order cannot leave a stale entry.

  - A row whose tools lived in its own hermes-<platform> bundle only (Yuanbao) sets own_platform_only;
    _derive_off_platforms fills off_platforms with every platform core knows plus every platform a
    LEFT_CORE row moved out. The hand list _YUANBAO_OFF_PLATFORMS (which this PR had extended with
    wecom/wecom_callback) is gone. The WeCom rows carry no toolsets (hermes-wecom and
    hermes-wecom-callback bundled core tools only), so they need no off-platforms.
  - Webhook routes: is_known_platform accepts any platform a LEFT_CORE row moved out, so a saved wecom or
    wecom_callback route stays loaded before a secondary profile's plugin registers; without the plugin
    the send fails naming the install.
  - Cron: a deliver route naming a left-core platform whose plugin is not loaded reports the install
    command (delivery error and preflight). tests/cron/test_cron_left_core_platform_route.py runs for
    wecom and wecom_callback.

  05d04a49ccc3 Teknium refactor(wecom): drop the one-install-per-home copy; the installer-race PR carries it generically

  296e4a152f99 Teknium fix(gateway): a secondary port-binder with no default listener is not served, not "connected"
  Under multiplex a secondary profile's port-binding adapter (WeCom callback, LINE, SMS, Teams, ...)
  binds nothing: its app is published for /p/<profile>/ on the default profile's api_server or
  webhook listener. With neither running on the default, connect() still returned True and the
  runner logged "✓ wecom_callback connected (profile: b)" while nothing listened anywhere.

  - Runner: such an adapter is not started; it is stamped `<profile>:<platform>` disabled with
    error_code multiplex_no_shared_listener and a WARNING naming the remedy.
  - Migration preflight: a secondary whose own gateway serves a port-binder today is refused when
    the default enables neither listener (it would be served nowhere after the fold); a secondary
    with no gateway gets the same text as a notice.
  - bind_listener publishes the port it actually bound (`listener_base`); the dashboard topology
    reads that instead of resolving a plugin platform's listen_port in the profile's plugin
    registry, so a parked or cold profile's callback port is reported and no deferred loader runs.

  26cde0b03cdc Teknium refactor(wecom): WeCom moves to the Hermes Labs wecom plugin, opt-in
  WeCom is now a Hermes Labs plugin (NousResearch/hermes-labs-plugins), not an
  official default one. Only homes that used WeCom get it installed, once; a new
  home installs nothing.

  - Both LEFT_CORE rows (bot and callback) carry the labs notice, like Yuanbao
    and DingTalk, merged with the plugins.disabled 'wecom' sentence.
  - Docs pages say "moved to the wecom Hermes Labs plugin" with the labs
    warning (en + zh-Hans); no default-install wording is left.
  - The one-automatic-install-per-plugin seam between default_plugins and the
    left-core migration stays: it is general (any plugin that is both a catalog
    default and a LEFT_CORE row) and now has its tests in test_default_plugins
    with a stand-in plugin instead of the wecom-named ones.

  9c82896ffee9 Teknium fix(wecom): migration preflight and dashboard read plugin capabilities in the owning profile
  - platform_serves_profile_prefix(value, home) reads the adapter class in the
    owning profile's plugin scope, like platform_binds_port: a port-binding
    plugin only a secondary installed is a URL-change notice, not a blocker.
  - A parked profile's plugins are never discovered for either check, nor for the
    dashboard's port readout (read-only probe).

  deb0661c69ea Teknium fix(wecom): review findings on the core removal
  - One automatic install per plugin across both installers: left-core
    `_pending` skips a plugin `_default_plugins_installed` records, and
    default_plugins skips one `_left_core_installed` records, so a removed
    WeCom stays removed whichever ran first.
  - `listen_port` is read in the owning profile's plugin scope: a multiplexed
    secondary (shared-listener routing), migration preflight (per profile home)
    and the dashboard topology (discovers that home's plugins; preflight never
    does, a parked profile's plugins must not run here).
  - `hermes-wecom-callback` keeps resolving: a `hermes-<a-b>` bundle falls back
    to platform `a_b`, and toolset validation accepts it.
  - StandaloneSendPolicy.media_via_adapter moves after reply_file_over so
    positional callers keep their meaning.
  - cron home-target priority keeps wecom (the plugin platform keeps it).
  - `_BUNDLED_ENV_SIBLINGS` removed with its readers' prefix branch.

  c3ec8edb3cc4 Teknium refactor(wecom): WeCom leaves core for the official wecom plugin
  Both WeCom platforms (AI Bot `wecom`, self-built-app `wecom_callback`) move to
  NousResearch/hermes-official-plugins `wecom/`, installed by default on every
  home (catalog `default: true`). Existing users get it automatically: two
  LEFT_CORE rows (one per platform, one shared plugin, installed once) whose
  platform_in_use predicates replicate core's enable gates per mode.

  Generic seams added for the plugin, never a name check left in core:
  - PlatformEntry.listen_port: a plugin platform that binds a host port
    (platform_binds_port, multiplex shared listener, migration blockers,
    dashboard topology). Replaces the wecom_callback rows.
  - StandaloneSendPolicy.media_via_adapter: send_message media through the live
    adapter route. Replaces the _CHUNKED_ROUTES["wecom"] row.
  - cron: a registered plugin platform without a cron env var (home channel from
    config.yaml only) is a valid delivery target. Replaces the wecom_callback row.

  Child-env strip set unchanged: _ADAPTER_SECRET_ENV also carries the
  left-core platform rows' secret_env.
2026-11-28 07:35:40 -08:00

13 KiB

sidebar_position, title, description
sidebar_position title description
4 Toolsets Reference Reference for Hermes core, composite, platform, and dynamic toolsets

Toolsets Reference

Toolsets are named bundles of tools that control what the agent can do. They're the primary mechanism for configuring tool availability per platform, per session, or per task.

How Toolsets Work

Every tool belongs to exactly one toolset. When you enable a toolset, all tools in that bundle become available to the agent. Toolsets come in three kinds:

  • Core — A single logical group of related tools (e.g., file bundles read_file, write_file, patch, search_files)
  • Composite — Combines multiple core toolsets for a common scenario (e.g., debugging bundles file, terminal, and web tools)
  • Platform — A complete tool configuration for a specific deployment context (e.g., hermes-cli is the default for interactive CLI sessions)

Configuring Toolsets

Per-session (CLI)

hermes chat --toolsets web,file,terminal
hermes chat --toolsets debugging        # composite — expands to file + terminal + web
hermes chat --toolsets all              # everything

Per-platform (config.yaml)

toolsets:
  - hermes-cli          # default for CLI
  # - hermes-telegram   # override for Telegram gateway

Interactive management

hermes tools                            # curses UI to enable/disable per platform

Or in-session:

/tools list
/tools disable browser
/tools enable discord

Core Toolsets

Toolset Tools Purpose
browser browser_cdp, browser_dialog, browser_exec, browser_vault Core browser automation. browser_exec drives the browser by running Python with pre-imported helpers (offered only to sessions that also have terminal); browser_cdp, browser_dialog and browser_vault operate on the same browser session. browser_vault rides with the browser for credential forms and is deferred behind tool search by default. Disabling this toolset is how you turn browsing off. Quick lookups belong to the web/search toolsets — web_search is deliberately NOT a member, so disabled_toolsets: [browser] cannot strip it (#64503).
clarify clarify Ask the user a question when the agent needs clarification.
code_execution execute_code Run Python scripts that call Hermes tools programmatically.
connections manage_connections Connect the user to apps: managed connector accounts through the Nous gateway, and local MCP servers from the catalog. It can add a second named account of an app and rename accounts. On the desktop every action is a card that blocks until the user settles it; off the desktop managed actions return a connect link per app.
coding composite (file + terminal + search + web + skills + browser + todo + memory + session_search + clarify + code_execution + delegation + vision) Coding-focused bundle for software work: file editing, terminal, search, web docs, skills, browser, delegate, and code execution.
cronjob cronjob_manage Schedule and manage recurring tasks.
debugging composite (file + terminal + web) Debug bundle — file, process/terminal, web extract/search.
delegation delegate_task Spawn isolated subagent instances for parallel work.
discord discord Core Discord text/embed/DM actions (gateway-only). Active on the hermes-discord toolset.
discord_admin discord_admin Discord moderation (bans, role changes, channel management). Active on the hermes-discord toolset; requires the bot to hold the relevant Discord permissions.
feishu_doc feishu_doc_read Read Feishu/Lark document content. Used by the Feishu document-comment intelligent-reply handler.
feishu_drive feishu_drive_add_comment, feishu_drive_list_comments, feishu_drive_list_comment_replies, feishu_drive_reply_comment Feishu/Lark drive comment operations. Scoped to the comment agent; not exposed on hermes-cli or other messaging toolsets.
file patch, read_file, search_files, write_file File reading, writing, searching, and editing.
computer_use computer_use Background desktop control via cua-driver — does not steal cursor/focus. Works with any tool-capable model. macOS, Windows, and Linux; requires cua-driver on $PATH.
context_engine (varies) Runtime tools exposed by the active context-engine plugin (empty until a plugin populates it).
image_gen image_generate Text-to-image generation via FAL.ai (with opt-in OpenAI / xAI backends).
video_gen video_generate, xai_video_edit, xai_video_extend Text-to-video and image-to-video via plugin-registered backends (xAI Grok-Imagine, FAL.ai Veo 3.1 / Pixverse v6 / Kling 3.0 / Kling O3). Pass image_url to animate an image; omit it for text-to-video. xai_video_edit / xai_video_extend are provider-specific edit/extend tools, gated on xAI Imagine credentials.
kanban kanban_attach, kanban_attach_url, kanban_attachments, kanban_block, kanban_comment, kanban_complete, kanban_create, kanban_heartbeat, kanban_link, kanban_list, kanban_request_changes, kanban_request_review, kanban_show, kanban_unblock Multi-agent coordination tools. Registered for dispatcher-spawned task workers (HERMES_KANBAN_TASK) and for platforms whose saved selection lists kanban (hermes tools enable kanban --platform <p>; the all/* wildcard does not enable it). Workers mark tasks done, request first-class review, block, heartbeat, comment, and create/link follow-up tasks; orchestrator profiles additionally get board-routing tools like list/unblock. delegate_task children are not Kanban run owners: their schema strips/disables this toolset and runtime guards reject direct board mutations, even if parent HERMES_KANBAN_* env vars are present.
memory memory Persistent cross-session memory management.
desktop_ui annotate_preview, close_terminal, desktop_preview, drive_preview, focus_pane, gui_tour, react_to_message, read_terminal, read_window_below, set_theme, show_tip Affordances that act on the Hermes desktop app itself — read/close the embedded terminal pane, open, read, close, interact with, and annotate the in-app browser, identify the OS window behind the app, reveal a pane, react to a message, run a guided tour (highlight + narrate UI elements in the app or the preview pane), and set the accent colour, light/dark mode and layout (or show a picker card for the user to choose). Enabled for sessions whose source is the desktop app, whichever backend it's connected to (local, SSH, URL, or Hermes Cloud). Never present on CLI, TUI, messaging, or cron sessions.
project desktop_project Create and switch desktop Projects (named, multi-folder workspaces) via one create/switch/list action enum. GUI / desktop sessions only.
catalog manage_catalog Search the plugin catalog and skills hub, and install items through the approval card into this chat's profile. Enabled for sessions whose source is the desktop app, whichever backend it's connected to (local, SSH, URL, or Hermes Cloud). Never present on CLI, TUI, messaging, or cron sessions, even when a config list names it. all does not include it. Deferred behind tool_search by default. Remove it with agent.disabled_toolsets: [catalog].
safe image_generate, vision_analyze, web_extract, web_search (via includes) Read-only research + media generation. No file writes, no terminal, no code execution.
search web_search Web search only (without extract).
session_search session_search Search past conversation sessions.
skills skill_manage, skill_view, skills_list Skill CRUD and browsing.
terminal process_manage, terminal Shell command execution and background process management.
todo todo_list Task list management within a session.
tts text_to_speech Text-to-speech audio generation.
vision vision_analyze Image analysis via vision-capable models.
video video_analyze Video analysis and understanding tools (opt-in, not in the default toolset — add explicitly via --toolsets).
web web_extract, web_search Web search and page content extraction.
x_search x_search Read-only public X discovery via xAI's built-in x_search Responses tool. Use the xurl skill for authenticated X API reads and account actions. Off by default; opt in via hermes tools. Schema only registered when xAI credentials (SuperGrok OAuth or XAI_API_KEY) are configured.

Platform Toolsets

Platform toolsets define the complete tool configuration for a deployment target. Most messaging platforms use the same set as hermes-cli:

Toolset Differences from hermes-cli
hermes-cli Full toolset — the default for interactive CLI sessions. Includes file, terminal, web, browser, memory, skills, vision, image_gen, todo, tts, delegation, code_execution, cronjob, session_search, clarify, computer_use, and the kanban tools (all check_fn-gated at runtime).
hermes-acp Drops clarify, cronjob, image_generate, text_to_speech, computer_use, and the kanban tools. Focused on coding tasks in IDE context.
hermes-api-server Drops clarify, text_to_speech, computer_use, and the kanban tools. Keeps everything else — suitable for programmatic access where user interaction isn't possible.
hermes-cron Same as hermes-cli.
hermes-telegram Same as hermes-cli.
hermes-discord Adds discord and discord_admin on top of hermes-cli.
hermes-slack Same as hermes-cli.
hermes-whatsapp Same as hermes-cli.
hermes-signal Same as hermes-cli.
hermes-matrix Same as hermes-cli.
hermes-mattermost Same as hermes-cli.
hermes-email Same as hermes-cli.
hermes-sms Same as hermes-cli.
hermes-bluebubbles Same as hermes-cli.
hermes-feishu Adds the five feishu_doc_* / feishu_drive_* tools (only used by the document-comment handler, not the regular chat adapter).
hermes-qqbot Same as hermes-cli.
hermes-weixin Same as hermes-cli.
hermes-webhook Restricted safe subset — only web_search, web_extract, vision_analyze, and clarify. Webhook-triggered runs get no terminal, file, or browser access.
hermes-gateway Internal gateway orchestrator toolset — union of every hermes-<platform> toolset; used when the gateway needs to accept any message source.

Platforms provided by plugins get an implicit hermes-<platform> bundle that is not part of hermes-gateway. For example, hermes-homeassistant, hermes-yuanbao, hermes-dingtalk and hermes-wecom / hermes-wecom-callback still resolve once the homeassistant / yuanbao / dingtalk / wecom catalog plugin is installed, but they are no longer built-in toolsets.

Dynamic Toolsets

MCP server toolsets

Each configured MCP server generates a mcp-<server> toolset at runtime. For example, if you configure a github MCP server, a mcp-github toolset is created containing all tools that server exposes.

# config.yaml
mcp_servers:
  github:
    command: npx
    args: ["-y", "@modelcontextprotocol/server-github"]

This creates a mcp-github toolset you can reference in --toolsets or platform configs. The bare server name (github) works as an alias. If a server is named like a built-in toolset (browser, web), that name resolves to the built-in tools plus the server's mcp__<server>__* tools; neither side shadows the other.

In platform_toolsets.<platform>, a list that names no MCP server gets every enabled server, a list that names servers gets only those, and no_mcp drops them all. An explicitly empty list (email: []) gets no MCP servers.

Plugin toolsets

Plugins can register their own toolsets via ctx.register_tool() during plugin initialization. These appear alongside built-in toolsets and can be enabled/disabled the same way.

Custom toolsets

Define custom toolsets in config.yaml to create project-specific bundles:

toolsets:
  - hermes-cli
custom_toolsets:
  data-science:
    - file
    - terminal
    - code_execution
    - web
    - vision

Wildcards

  • all or * — expands to every registered toolset (built-in + dynamic + plugin)

A handful of tools have an additional availability check on top of toolset membership and are not turned on by all/* alone:

  • Capability-gated tools (browser, computer_use, code_execution, Feishu, cronjob) appear only when their backend/credential prerequisite is configured.
  • Workflow-gated tools — the kanban toolset — are deliberately opt-in. all/* does not enable kanban; you must list kanban explicitly (or be a dispatcher-spawned worker with HERMES_KANBAN_TASK set). Kanban tools mutate shared board state, so they stay off by default even under all.

Relationship to hermes tools

The hermes tools command provides a curses-based UI for toggling individual tools on or off per platform. This operates at the tool level (finer than toolsets) and persists to config.yaml. Disabled tools are filtered out even if their toolset is enabled.

See also: Tools Reference for the complete list of individual tools and their parameters.