Repository navigation
Evidence Hermes
Evidence for the facts about Hermes Agent that the repository states in docs/clients.md. A heading here matches a heading there.
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
- Where the documentation lives.
Documentation: the Markdown under
website/docs/inNousResearch/hermes-agent, published at hermes-agent.nousresearch.com/docs. The pages named on this page are read as Markdown at tagv0.23.0. - Files unchanged between v0.22.7 and v0.23.0.
Hermes v0.22.7 is commit
b200f5bc60e3. Between v0.22.7 and v0.23.0, the delegation, plugin, registrar, manifest, host, constants andsecret_scopefiles are unchanged. The two exceptions are an additivedelegation.prefix_stagger_secondssetting intools/delegate_tool_config.pyand one entry added to the public-import list. Seen:git diff v0.22.7 v0.23.0over those files, 2026-11-06 - How the runs were set up.
Seen: the probe facts ran on Hermes v0.22.7 on a fresh Hermes home with a scrubbed environment, through a probe plugin named
probe-router. It was aDelegationProviderthat records whatroute_tasksees and returns a route. Its live turns usedhermes -z "<call delegate_task once …>" -m google/gemini-2.5-flash --provider openrouter -t delegation --ignore-rules --usage-file <file>. The other probe calls ran in a Python process of that Hermes with its network functions blocked, or inside such a turn. Seen: the facts marked Hermes v0.23.0 ran on a fresh Hermes home too, with thehermescommand of that release. The runs dated 2026-11-11 used a live turn of this repository's plugin, installed from a checkout withhermes plugins install, and the plugin'stests/test_real_hermes.pyunder Hermes's interpreter. Seen: a change ofplugins.isolationapplies afterhermes gateway stop. The turn that followed a change ofplugins.isolationwithout a stop did not run in host mode, so the probe did not count it.
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
-
hermes plugins installtakes a catalog name,user/repoor a path inside a repository; third-party plugins are off until enabled andplugins.disabledwins; the install asksEnable 'name' now? [y/N], which defaults to no, and--enableand--no-enableskip it. Documentation: Plugins, Plugins are opt-in, Managing plugins -
--ref <40-character commit>pins an install; tags, branches and short hashes are refused;updaterefuses a pinned plugin, andinstall --force --ref <new-commit>moves the pin. Documentation: Plugins, Plugins are opt-in -
hermes plugins update <name>pulls the latest code of a Git-installed plugin and scans it first. Documentation: Managing plugins, Install-time security scanning - Hermes checks
requires_hermesbefore it imports a plugin and blocks the load with a message that names the spec and the running version. Source:plugins_manifest.pyL502–L510 -
ctx.register_delegation_provider(provider)takes aDelegationProviderinstance,provider.nameis matched bydelegation.backend, and a registration logs an INFO line. Source:plugins_registrars.pyL85–L90,plugins.pyL345–L374 - A delegation backend change applies from the next session;
/delegation <backend> --nowrebuilds the running session's tools at its next turn; a hand edit ofdelegation.backendchanges nothing in a running session. Documentation: Delegation provider plugins, Picker metadata and switching backends - A configured backend that no enabled plugin provides fails closed:
delegate_taskreturns a tool error that names the fix, and a disabled or removed plugin is such a case. Documentation: Delegation provider plugins Source:delegation_registry.pyL107–L134 -
hermes plugins install file://<repo>#plugins/<name> --enableinstalls and enables a plugin from a subfolder with no prompt, also with standard input closed. Seen: Hermes v0.22.7, a probe plugin installed from afile://clone of a local repository, 2026-11-06 Seen: Hermes v0.23.0, this repository's plugin installed the same way, which printedPlugin model-router-hermes enabled.,hermes plugins list --plain --no-bundledlistedmodel-router-hermesas enabled, from the user source, andhermes config set delegation.backend model-routerfollowed byhermes config get delegation.backendprintedmodel-router, 2026-11-06 Seen: Hermes v0.23.0, the scan that ran in the install of this repository's plugin gave the verdictsafe, 2026-11-06 -
hermes plugins install --enabledoes not call the plugin'sregisterin its own process; it asks a running Desktop backend and a running gateway to load the plugin. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: the enable step callsreport_activation,plugins_cmd_install.pyL759–L764; that callsactivate_plugin_now(name, in_process=False),plugins_activation.pyL311–L315; within_processfalse, the function loads nothing in this process and asks the backend and the gateway,plugins_activation.pyL128–L147 Seen: Hermes v0.23.3 on 2026-11-21,hermes plugins install file://<repo>#plugins/<name> --enable, then a load in a new Python process. The report file held one line after that load, so the install wrote none. -
hermes plugins capabilities <name>prints what an installed plugin declares, andhermes plugins doctor <name>checks its discovery, manifest, import and registration. Seen: Hermes v0.23.0, after the install above, 2026-11-06:hermes plugins capabilities model-router-hermesprinteddeclared: (none), andhermes plugins doctor model-router-hermespassed discovery, manifest, import and registration withregistrations: 1 tool(s), 0 hook(s)
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
- A plugin folder holds
plugin.yamland__init__.pywithregister(ctx);plugin.yamlcarries keys such asname,version,requires_hermes,provides_toolsandconfig_schema;provides_toolslists the tools and does not decide whether they load. Documentation: Build a Hermes plugin, Write the manifest, Manifest v2 reference -
config_schemadescribes the keys underplugins.entries.<id>.settings; a mismatch logs a warning and never fails the load; its types; asecretentry names its.envvariable withenv:; the Desktop settings form edits adictentry in a JSON editor. Documentation: Manifest v2 reference, Settings form in the Desktop -
hermes plugins validatereads aplugin.yamlwritten as JSON, which is valid YAML, and checks that itsrequires_hermesspec parses and that itsconfig_schemahas a valid shape. Seen: Hermes v0.23.0,hermes plugins validate plugins/model-router-hermes, 2026-11-06: it parsed the JSON text, reported that therequires_hermesspec parses and printedconfig schema — shape valid - The plugin registers its skill folders with
ctx.register_skill; the agent loads one asskill_view("<plugin>:<skill>"); plugin skills are read-only and the system prompt's skill index does not list them. Documentation: Build a Hermes plugin, Bundle skills
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
-
ctx.get_config(key, default)readsplugins.entries.<plugin id>.settings.<key>, returnsdefaultfor an absent entry or key and applies noconfig_schemadefault;ctx.set_config(key, value)writes one value in that subtree. Source:plugins.pyL266–L280 -
hermes config seton a key underplugins.entries.<plugin id>.settingstakes a JSON object and stores it as a mapping;hermes config getprints its fields on separate lines;hermes config settakes a scalar on such a key too and stores its text, whichhermes config getprints. Seen: Hermes v0.23.0, a fresh Hermes home, 2026-11-06:hermes config set plugins.entries.model-router-hermes.settings.small_model '{"provider": "openrouter", "model": "openai/gpt-4.1-mini"}'stored a mapping with those two fields, andhermes config getprinted them on two lines Seen: Hermes v0.23.3 on 2026-11-21,hermes config set plugins.entries.<plugin id>.settings.<key> auto, thenhermes config geton the same key. The set reported the value stored inconfig.yaml, and the get printedauto. - A
secretentry never reachesconfig.yaml; the Desktop settings form stores it in.envunder itsenv:name; the plugin reads it withget_secret(NAME)fromagent.secret_scope. Documentation: Settings form in the Desktop Source:secret_scope.pyL230–L261 - A plugin update that renames a
secretentry and keeps itsenv:name leaves the stored value in place; the settings form's field list shows the renamed entry as set, andget_secret(NAME)returns the value. Seen: Hermes v0.23.3 on 2026-11-22, the plugin of this repository installed fromfile://<repo>#plugins/model-router-hermeswith the secrettypesafe_api_key, a value stored through the function behind the settings form's route, thenhermes plugins updateto a manifest that names the secretapi_keywith the sameenv:. The home's.envheld the same value underTYPESAFE_API_KEYbefore and after,config.yamlnamed neither setting, the field list showedapi_keywithhas_value=True, and the loaded plugin'sget_secretreturned the stored value. - Hermes's own OpenRouter provider reads
OPENROUTER_API_KEY; asecretentry with thatenv:name sets that provider's key too. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: the provider's key from the variable,runtime_provider_backends.pyL181–L183; the secret stored under itsenv:name,plugins_settings.pyL5–L9 Seen: Hermes v0.23.3, a plugin with asecretsetting whoseenv:isOPENROUTER_API_KEY, saved through the functions behind the settings form, 2026-11-21: the value landed in the Hermes home's.envunder that name, Hermes's own OpenRouter provider resolved it as its key, andget_secretreturned it - Hermes's own Perplexity web search reads
PERPLEXITY_API_KEY, so asecretentry with thatenv:name sets its key too. Read at Hermes commitc84e8d7f81a8on 2026-11-25. Source:plugins/web/perplexity/provider.pyL95,tools/web_tools.pyL223 - Hermes's provider registry lists no provider for
PERPLEXITY_API_KEY. Read at Hermes commitc84e8d7f81a8on 2026-11-25. Source: the registry is built athermes_cli/auth.pyL244–L247, and the entries it names include no Perplexity provider. - With the provider
auto, or with none requested, Hermes takes its own session's provider in this order: a key or a base URL given on the command line,model.providerofconfig.yaml, amodel.base_urlon a loopback host whenmodelnames no provider, a usableOPENROUTER_API_KEY, the OpenRouter pool, another provider's key in the environment, an OAuth login;model.providermay name a registry provider,openrouter,customor a named custom provider. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: the order, inresolve_provider,auth.pyL1611–L1674, with the command line ahead of the config atauth.pyL1644–L1649; what the config rung takes, in_config_model_provider,auth.pyL1530–L1569; the base URL it takes with no provider named, one on a loopback host,runtime_provider.pyL104–L120 andruntime_provider.pyL92–L93; the variable ahead of the pool, in_openrouter_auto_detected,auth.pyL1491–L1512 - Among other providers' keys in the environment, Hermes takes the first API-key provider in its registry's declared order whose variable holds a usable value, and logs a warning when that passes over a logged-in OAuth provider;
openai-api, withOPENAI_API_KEY, stands beforegemini, which readsGOOGLE_API_KEYbeforeGEMINI_API_KEY, for the pick and for the key it sends, unlessmodel.key_envnames a variable for it. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: the walk and the warning, in_env_key_auto_detected,auth.pyL1585–L1608; the declared order,auth.pyL170–L173, with the row ofopenai-apiat L179 and the row ofgeminiat L185–L186; the keygeminisends, in_resolve_api_key_provider_secret,auth.pyL389–L400, with the variable the config names, in_model_level_key_env, at L362–L371. - The settings form saves a secret as it saves a provider key: Hermes writes
.env, replaces the previous value in theapi_keyofmodel,auxiliary.<task>,custom_providers.<name>andproviders.<id>inconfig.yamland in the legacyapifield of the first three, leavesdelegation.api_key, and loads the credential pool of each provider its registry lists for the variable; the registry lists no OpenRouter provider; Hermes seeds the OpenRouter pool inauth.jsonfromOPENROUTER_API_KEYwhen it loads that pool. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: the form writes a secret throughPUT /api/env,plugin-settings.tsxL379,agent-plugins.tsL721–L723 andconfig.tsL214–L223; the route calls the save for every key,config_env.pyL352–L374; the save,credential_lifecycle.pyL166–L202; theconfig.yamlcopies it replaces,credential_lifecycle.pyL83–L142; the providers of a variable, from the registry alone,credential_lifecycle.pyL21–L35; OpenRouter outside the registry,auth_plugin_providers.pyL28–L30 andauth.pyL1549–L1551; the seeding of the OpenRouter pool,credential_pool.pyL2775–L2790 Seen: Hermes v0.23.3, the same plugin, 2026-11-21: a secret saved through the functions behind the settings form landed in the Hermes home's.envunder itsenv:name -
get_secretreads no credential pool, so it never returns a key that sits only inauth.json. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: the reader, which takes the profile's scope and then the process environment,secret_scope.pyL249–L280; the scope, built from the home's.env, the external secret sources and the managed.env,secret_scope.pyL426–L465 -
get_secret(NAME)returns the value from the Hermes home's.env, in process and in the plugin host; the variable is also in the environment of the host and of the gateway. Seen: Hermes v0.22.7, a probe plugin that declared aconfig_schemasecret withenv: TYPESAFE_API_KEY,plugins.isolation: hostand in process, 2026-11-06:get_secret("TYPESAFE_API_KEY")returned the value from the Hermes home's.env, and the variable was in the environment of the host and of the gateway -
ctx.get_config(key)returns the value fromplugins.entries.<plugin id>.settings, in process and in the plugin host. Seen: Hermes v0.22.7, the probe plugin, 2026-11-06:ctx.get_config("probe_setting")returned the value fromplugins.entries.probe-router.settings - A
config_schemaentry of typestrmay list its allowed values underchoices, or underenum;ctx.get_configreturns a stored value outside that list as stored; the Desktop settings form saves a plain setting through thesettingsaction of the gateway'splugins.managecall, which refuses a value outside the list and leaves such a stored value alone when it saves another key; the form takes its fields from thelistaction, which gives such an entry the typeenum. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Documentation:choices, orenum, on astrentry,plugins/index.mdL1090; the action refuses a value whosechoicesdisagree, L1113–L1114 Source:ctx.get_configreturns the stored value and checks no list,plugins_context.pyL75–L86; the save refuses a value outside the list and writes only the keys it is given,plugins_settings.pyL128–L152; astrwith a list is typedenum,plugins_settings.pyL82–L85; thesettingsaction calls that save,methods_tools.pyL1876–L1877, and thelistaction builds the fields, L1694, both actions ofplugins.manage, L1932–L1939; the form sends thesettingsaction,agent-plugins.tsL731–L736, and reads its fields from the listed row,plugin-settings.tsxL360 Seen: Hermes v0.23.3 on 2026-11-21,hermes config set plugins.entries.<plugin id>.settings.<key> auto, then Python processes of that Hermes callingctx.get_configand the two functions behind the actions,save_plugin_settingsandplugin_settings_fields, with no gateway and no form. The read and a later save of another key keptauto. A save of a value outsidechoicesraisedValueError, and the field list gave typeenum. - A plugin slash command's handler runs in the gateway process that owns the session; it can declare
session_id,session_key,platformandsourceas keyword arguments, and it returns its text. Documentation: Plugins, What plugins can do - The surfaces that Hermes names as not a human messaging channel.
Source:
session_context.pyL197–L203 - With no saved tool selection, a plugin's toolset is on by default; enabling a plugin puts its toolset back into a saved selection. Documentation: Plugins, Plugins are opt-in
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
-
DelegationProvideris an abstract class:name, the synchronousroute_task(task, config)andis_available(), which is true by default and fails delegation closed when false;configis thedelegationsection of the active profile'sconfig.yaml, anddict(config)is the default route;backendnames the backend that routes the call. Documentation: Delegation provider plugins, The interface Source:delegation_provider.pyL62–L110 Seen: Hermes v0.22.7, the probe plugin, 2026-11-06: theconfigargument heldapi_key, api_mode, backend, backends, base_url, child_timeout_seconds, compression_threshold_tokens, fallback_providers, gateway_mode, independent_completions, inherit_mcp_toolsets, max_concurrent_children, max_iterations, max_spawn_depth, max_summary_chars, model, oneshot_max_children, orchestrator_enabled, provider, reasoning_effort, request_overrides, subagent_auto_approve, surface_child_process_notifications, andbackendwas the plugin's backend name -
route_taskgets{goal, context, index}plus the parameters the backend declared;contextcan beNone; no role, agent description, toolsets, images or output schema crosses. Source:delegate_tool_routes.pyL299 Seen: Hermes v0.22.7, the probe plugin saw the task keyscontext, goal, index, andcontextwasNonewhen the model gave none, 2026-11-06 - A route may carry
model,provider,base_url,api_key,api_mode,request_overrides,reasoning_effort,service_tier,fallback_providers,profileandlabel; Hermes drops every other key silently; Hermes's own default backend returns thedelegationsection withoutservice_tier. Source:delegation_provider.pyL51–L54,delegate_tool_routes.pyL103–L108,plugins/delegation/default/__init__.pyL32–L34 - A route that
route_taskreturns resolves through the credential resolver of thedelegationsection: aproviderrunsresolve_runtime_provider, an empty route inherits the parent's route, andrequest_overridesapply on every branch. Source:delegate_tool_routes.pyL233–L238,delegate_tool_config.pyL478–L488 - A child's effort is the route's effort, else
delegation.reasoning_effort, else the parent's level; an effort outside the known levels refuses the task, except a value equal todelegation.reasoning_effort. Source:delegate_tool_config.pyL552–L560,delegate_tool_routes.pyL255–L265 - A child pinned by provider, endpoint or model gets no fallback providers unless
delegation.fallback_providersdeclares them. Source:config_defaults.pyL1318–L1322 - A raise from
route_task, a return ofNoneand a return of a non-mapping refuse that task, with a log line and a message; a refusal is per task, and the call is a tool error only when every task is refused; a returned{}is not a refusal. Documentation: Delegation provider plugins, Refusals are per task Source:delegate_tool_routes.pyL103–L108, L288–L306, L309–L332 - Hermes routes the tasks of a call in one loop, in index order, in the thread that runs the call, builds the children after the loop, and puts no timeout around
route_task. Source:delegate_tool_routes.pyL325–L331,delegate_tool.pyL613, L654,tool_executor.pyL856 Seen: Hermes v0.22.7, underplugins.isolation: host, task 1 started 1747 ms after task 0, which included the host's cold start, 2026-11-06 - The main agent's turn is not routed through the provider; only
delegate_tasktasks are, and internal callers that pass their own credentials bypass the backend. Documentation: Delegation provider plugins Source:delegate_tool.pyL507–L518 -
labelis short text shown with the child's progress and result, and every result entry of a task routed by a non-default backend carriesroute, with the backend and what the child runs on, andlabelwhen the route sets one. Documentation: Delegation provider plugins, Result route Source:delegation_provider.pyL29 - A delegated task takes the routed model and effort, each task of a call its own, in process and under
plugins.isolation: host. Seen: Hermes v0.22.7, the probe plugin,hermes -z "<call delegate_task once …>" -m google/gemini-2.5-flash --provider openrouter -t delegation --ignore-rules --usage-file <file>under a 330 s alarm, once for each turn, 2026-11-06: one in-process task, routed toopenai/gpt-4.1-miniat effortlow, ran a child session withmodel = openai/gpt-4.1-miniandreasoning_config = {enabled: true, effort: low}, and the result entry carriedroute: {backend: probe-router, label, model, provider: openrouter, reasoning_effort: low, service_tier: normal}and the summarypong; underplugins.isolation: host, two tasks of one call routed toopenai/gpt-6-lunaat effortlowran two child sessions withmodel = openai/gpt-6-lunaand effortlow, and the summaries werepingandpongSeen: Hermes v0.22.7, this repository's plugin installed withhermes plugins install "file://<clone>#plugins/model-router-hermes" --enableon a fresh Hermes home and set up as its README says,hermes -z "<call delegate_task once with two tasks …>" -m openai/gpt-6-luna --provider openrouter -t delegation --ignore-rules --usage-file <file>under a 400 s alarm, once for each mode, 2026-11-06: one call held a lookup task and a design task; the provider wastypesafe,small_modelwasopenrouter openai/gpt-6-lunaandlarge_modelwasopenrouter openai/gpt-6.1-terra; in process, the child sessions ranopenai/gpt-6-lunaat effortmediumandopenai/gpt-6.1-terraat efforthigh, and each result entry carried the plugin's label inroute.label; afterhermes gateway stopandplugins.isolation: host, the same call gave the same levels, models and efforts, androute.labelcarried both labels - Hermes maps a requested effort that a wire does not support to the nearest weaker supported level, and to the weakest level when none is weaker.
Source:
reasoning_effort.pyL127–L139
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
-
DelegationProvider.task_parameters(config)returns{name: json_schema}, merged intodelegate_task'stasks.items.properties;description(config)returns a line appended to the tool description; Hermes calls both when it builds a session's tool list, and both must give the same bytes for the sameconfig. Source:delegation_provider.pyL86–L101,delegate_tool.pyL763–L772 Documentation: Delegation provider plugins, Prompt caching - Both methods exist from Hermes v0.22.5, the first release with delegation providers, and are unchanged in v0.22.6, v0.23.0 and v0.23.1.
Seen:
git log --diff-filter=A -- agent/delegation_provider.pyandgit diff v0.22.6 v0.23.1 -- agent/delegation_provider.py tools/delegate_tool_routes.pyin a clone ofNousResearch/hermes-agent, 2026-11-11 - A parameter name must match
^[a-z][a-z0-9_]{0,63}$and stay out of the reserved names; Hermes drops a refused name with a warning and keeps the others. Source:delegate_tool_routes.pyL26, L60–L78,delegation_provider.pyL45–L48 Seen: Hermes v0.23.0, a probe that declaredmodelandEffortloggedtask parameter 'model' refused (reserved or invalid name)and the same forEffort, 2026-11-11 - Before
route_task, Hermes checks three things only: an undeclared non-Nonevalue, a value outside a declaredenum, andNonecounts as absent; it checks notype, soTruepasses the enum[0, 1, 2]. Source:delegate_tool_routes.pyL96–L100, L288–L306 Seen: Hermes v0.23.0,plugins/model-router-hermes/tests/test_real_hermes.pyunder Hermes's interpreter, 2026-11-11:reasoning_effort: "max"andlevel: "2"were refused withmust be one of,prioritywas refused withdoes not take 'priority', andlevel: Truereachedroute_task - The payload is
{goal, context, index}plus each declared parameter whose value is notNone. Source:delegate_tool_routes.pyL299 Seen: Hermes v0.23.0, the same test file, 2026-11-11: a task withdescriptionandreasoning_effortreachedroute_taskas{goal, context: None, index: 0, description, reasoning_effort} - This repository's plugin declares
description,reasoning_effortandlevel, and appends one line fromconstants.json. Seen: Hermes v0.23.0,plugins/model-router-hermes/tests/test_real_hermes.py, 2026-11-11 Seen: Hermes v0.23.0, the same test file, 2026-11-11:schema_extensionreturned all three, none reserved, and_build_dynamic_schema_overrides()put them intasks.items.propertiesand ended the tool description with the line - A session routes on the backend its
delegate_taskschema was built from; a plugin update or a backend change applies from the next session or after/delegation <backend> --now; a task that carries a parameter its session's schema lacks is refused alone. Documentation:delegation-provider-plugin.mdL171–L188 - A delegating model fills the parameters that a backend declares, and the child runs on the route that the backend returns for them.
Seen: Hermes v0.23.0, the plugin installed from a checkout with
hermes plugins install "file://<clone>#plugins/model-router-hermes" --enableon a fresh Hermes home,hermes -z "<call delegate_task once with two tasks …>" -m qwen/qwen3.7-flash --provider openrouter -t delegation --ignore-rules --usage-file <file>under a 400 s alarm, 2026-11-11: one call held a new task and a re-dispatch of a task described as failed at level 1; the provider wastypesafe,small_modelwasopenrouter qwen/qwen3.7-flashandlarge_modelwasopenrouter openai/gpt-6-luna; the model gave both tasks adescriptionand gave the re-dispatchlevel: 2andreasoning_effort: "high"; the re-dispatch ran onopenai/gpt-6-lunaat efforthigh, and its result'srouteheldbackend,provider,model,reasoning_effortandservice_tierbut nolabel;agent.logheld the plugin's line for the new task only - Under
plugins.isolation: host, the parent builds aDelegationProviderwhose methods run in the plugin host, sotask_parametersanddescriptioncross as plain JSON. Source:plugin_isolation.pyL63–L78, at v0.23.1 - A route without a
fallback_providersof its own takesdelegation.fallback_providers, and a profile route keeps its profile's chain. Source:delegate_tool_routes.pyL224–L230 - A route may name a
profile, which runs the child as another Hermes profile; Hermes ignores every other route key on it; Hermes v0.23.1 adds aroute_keysproperty for settings editors. Source:delegation_provider.pyL25–L28,delegation_provider.pyL81–L86, at v0.23.1
Read at Hermes v0.23.1 (commit 3b421578588243f920886e6fe79a6faa87ea026e).
- The tool is
clarify, in the toolsetclarify. Source:clarify_tool.pyL217–L224 Source:tools/clarify_tool.pyandtoolsets.py, compared at Hermes v0.22.6, v0.22.7 and v0.23.0: the tool name, schema and toolset entries match - A call takes 1 to 5
questions, each with aquestion, optionalchoices(up to 4) and optionalmulti_select; the UI adds "Other". Source:clarify_tool.pyL159–L212 -
clarifyis in_HERMES_CORE_TOOLS, whichhermes-cliand the messaging bundles use. Source:toolsets.pyL11–L36 - It works in the CLI, the TUI, Desktop and the messaging platforms.
Source: CLI
cli_modal_mixin.pyL909–L962, TUIagent_callbacks.pyL168, messagingrun_turn_runner.pyL597–L634 Documentation: Desktoptools-reference.mdL38–L42 - The editor integration (
hermes-acp) and the API server (hermes-api-server) exclude it. Source:toolsets.pyL186–L190, L191–L195 - Cron runs disable it.
Source:
scheduler.pyL418–L430 - Children of
delegate_taskcannot call it. Source:delegate_tool.pyL694–L700 - Single-query mode (
hermes chat -q) returnsoutcome: "undelivered"at once. Source:cli_agent_setup_mixin.pyL15–L25
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
- A
hermes -zturn on a home with no gateway starts one withgateway run --quiet --idle-exit; on macOS it starts as a one-off launchd job throughosascript; the provider runs in that gateway process, on aThreadPoolExecutorthread. Source:gateway_launchd_runtime.pyL1–L13 Seen: Hermes v0.22.7, 2026-11-06: the gateway started withpython3 -m hermes_cli.main --profile default gateway run --quiet --idle-exit, and the provider ran on aThreadPoolExecutorthread - The gateway keeps the plugin loaded between CLI turns, so module state carries over; a change of
plugins.isolationor of the plugin's code applies afterhermes gateway stop, which withHERMES_HOMEset stops the gateway and its plugin host. Seen: Hermes v0.22.7, 2026-11-06: module state carried over from turn 1 to turn 2, a counter read 1, then 2 and 3, in one process; a change ofplugins.isolationor of the plugin's code applied afterhermes gateway stop;hermes gateway stopwithHERMES_HOMEset stopped the gateway and its plugin host - Under
plugins.isolation: host, the provider runs inpython3 -m hermes_cli.plugin_host_child, a child of the gateway, one per profile; the host setsHERMES_PLUGIN_HOST_PROCESS, hands the plugin aRemotePluginContextand calls it on the threadplugin-host-rpc; module state persists across the tasks of one call. Documentation: Plugins, Running plugins out of process, Delegation provider plugins, Process isolation Seen: Hermes v0.22.7, 2026-11-06:HERMES_PLUGIN_HOST_PROCESSwas set, the context wasRemotePluginContext, the call thread wasplugin-host-rpc, and a counter read 1, then 2, in one host process -
hermes_constants.find_node_executable("node")reads the Node that Hermes's package manager selected, returnsNonewhen it installed none, and never falls back to the Node on the user'sPATH; it finds Hermes's Node in process and in the plugin host. Source:hermes_constants.pyL575–L613 Seen: Hermes v0.22.7, 2026-11-06: it found Hermes's Node in both modes; a Node round trip (spawn, standard input, standard output) took 63 to 89 ms in process and 376 to 388 ms in the host;route_tasktook 78 to 102 ms in process, 1726 ms for the first task in a fresh host and 401 ms for the next - Hermes writes
agent.logat INFO and above, in thelogsfolder of the Hermes home; the plugin host sets its own log level fromHERMES_PLUGIN_HOST_LOG_LEVEL,WARNINGby default, and drops INFO lines unless the variable says otherwise. Source:hermes_logging.pyL3, L360–L369, L396–L397,plugin_host_child.pyL600–L601 Seen: Hermes v0.22.7, the real call of this repository's plugin, 2026-11-06: in processagent.logheld the plugin's line for each task, and underplugins.isolation: hostit held no plugin line - Hermes runs natively on Windows 10 and Windows 11, without WSL;
find_node_executablehas Windows branches; a program started with a replaced environment on Windows needsSYSTEMROOT. Documentation: Windows (Native) Guide,windows-native.mdL10, Pythonsubprocess, Popen constructor Source:hermes_constants.pyL585–L586, L605–L612 -
NODE_USE_ENV_PROXY=1makes Node parseHTTP_PROXY,HTTPS_PROXYandNO_PROXYat start-up and route requests through the proxy; Node added it in v24.0.0 and v22.21.0. Documentation: Node.js command-line API,NODE_USE_ENV_PROXY=1
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
- Every
hermes plugins installandhermes plugins updatescans the plugin tree before it activates it; the verdicts aresafe,cautionanddangerous; documentation prose cannot make a verdictdangerousalone, but a leaked provider key and anything under a bundledskills/tree keep their full severity. Documentation: Plugins, Install-time security scanning Source:skills_guard.pyL953–L956 - A medium finding alone is
safe; the rulepython_subprocessis medium severity. Source:skills_guard.pyL384–L385,plugin_guard.pyL383–L391 Seen: Hermes v0.23.0,tools.plugin_guard.scan_pluginover the plugin folderplugins/model-router-hermes, 2026-11-06: the verdict wassafewith one finding,python_subprocess, severity medium, category execution, atnode.pyline 87 - A key-shaped literal blocks a plugin's install as
dangerous, the rule caps a finding at medium under atests/tree, and a bundled esbuild output gets no finding when no rule matches its text. Source:threat_patterns.pyL102–L104 Seen: Hermes v0.22.7, 2026-11-06: a probe plugin that shipped a copy of the OpenClaw esbuild bundle (71 KB) gave one medium finding,python_subprocess, at thesubprocess.run(line, and none for the bundle; its first install attempt was blocked asdangerousby a key-shaped literal -
hermes plugins validate <path>checks the plugin and warns about its imports of private Hermes modules, which can break on any release; the output ends withValidation passed.and with anIsolationnote whenplugins.isolation: hostis on. Seen: Hermes v0.23.0,hermes plugins validate plugins/model-router-hermes, 2026-11-06: 15 checks marked passed, includingsecurity scan — safe, and one warning that listed the plugin's imports of private Hermes modules; it ended withIsolation — runs in the plugin host (plugins.isolation: host)andValidation passed.Seen: Hermes v0.22.7, a probe plugin'shermes plugins validate, 2026-11-06: it passed with one warning that listed four private core imports, and a note that the plugin runs in the plugin host underplugins.isolation: host - The admission lint lists a plugin's imports of private Hermes modules with file and line, as a warning and never a refusal; the public list holds
agent.delegation_provider,agent.delegation_backends,agent.secret_scopeandhermes_constants. Source:plugin_validate_private_imports.pyL1–L9, L27–L68 Seen: Hermes v0.23.0,hermes plugins validate plugins/model-router-hermes, 2026-11-06: the modules that the warning named are not on that list
Read at Hermes v0.23.0 (commit 2bd378ed1b8d) on 2026-11-06.
- The
hermesjob runs the plugin's tests, validates the plugin, installs it from the checkout, checks the plugin list anddelegation.backend, and runs the tests again under Hermes's interpreter; the install clones the checkout's own commit; Hermes keeps its home under the runner's temp folder and no key is set. Source:.github/workflows/ci.yml, jobhermes - The
setup-hermesaction clones the release tag, checks thatHEADequals the pinned commit, installs only the wheels that Hermes's ownuv.locklocks, checks thathermes --versionnames the tag, and pins a release tag and its commit. Source:.github/actions/setup-hermes/action.yml; CONTRIBUTING.md, Dependencies - The tests of the plugin call each handler and the router directly with a fake Hermes API, and one test file runs only under Hermes's interpreter, where it calls each Hermes function the shim uses, registers the provider, reads the
delegate_taskschema and routes tasks. Source:plugins/model-router-hermes/tests/Documentation:delegation-provider-plugin.mdL203–L209
Read at Hermes Agent 0.23.2 on 2026-11-19.
- Project skills are read from
.hermes/skillsand.agents/skillsunder the project root, only for a trusted root, the trust list is empty by default, and.claude/skillsis not read. Source:skill_utils.pyL511–L517, L575–L601,config_defaults.pyL1409 -
HERMES_HOMEnames the Hermes home. Source:hermes_constants.pyL263–L264 Documentation:environment-variables.mdL121 - On an install that Hermes's package manager manages, a command under a new
HERMES_HOMEfirst builds a dependency environment of its own under that home;hermes --version,hermes --help,hermes pmand a command withHERMES_DISABLE_LAZY_INSTALLSset skip that build; with no environment built, a command that skipped the build exits with status 1 andno dependency environment is committed for this install, unless it is ahermes pmcommand. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: a root that borrows the checkout still gets an environment of its own,venv_sync.pyL539–L546; the sync then runs,venv_sync.pyL659–L675; a launch under another root borrows the checkout,pm/environments.pyL44–L48; the metadata flags,venv_sync.pyL159; the skip for them and forpm,venv_sync.pyL453–L462; the refusal,pm/environments.pyL450–L461; start-up prints it and exits for every command butpm,hermes_bootstrap.pyL615–L624 Seen: Hermes v0.23.3 on 2026-11-21,hermes plugins install file://<repo>#plugins/<name> --enableunder a new home, with standard input closed. The build printedInstalling Python dependencies. The new home then held 526M of cache and 718M of installs. - The environment is the folder
installs/<key>/environments/<name>/venvunder the home, with the interpreter atbin/python, orScripts/python.exeon Windows;<key>is the first 16 hexadecimal characters of the SHA-256 of the checkout's resolved path, and<name>is a random id of one build;installs/<key>/facts.jsonnames the built environment underpackages.venv.environment. Read at Hermes v0.23.3 (commitcaafe5389ae5) on 2026-11-21. Source: the key,pm/environments.pyL20–L22; the folder of an install, L33–L38; the name of a build,pm/packages.pyL541–L543; the interpreter,pm/environments.pyL333–L344; the facts file and its field, L105–L106 and L316–L318 Seen: Hermes v0.23.3 on 2026-11-21, a search of the new home after its first command. It found<home>/installs/<key>/environments/<name>/venv/bin/python, with a key of 16 hexadecimal characters and a name of 32. - An install from
file://<repository>#<folder>clones the repository withgit clone --depth 1and takes the committedHEAD. Source:plugins_cmd_git.pyL219–L258,plugins_cmd.pyL300–L323
Seen at Hermes v0.22.7 and v0.23.0 on 2026-11-06 and 2026-11-11.
- Most probes ran a probe plugin and not this repository's plugin; the probe plugin ran Node on a small script and shipped the OpenClaw bundle for the scanner.
- This repository's plugin passed
validate, the scan and thefile://install; it routed one real call of two tasks, in process and in the plugin host, and one call with task parameters, in process. - No run used a fallback between providers, and no run with task parameters used the plugin host.
- No run used the repository form
Akurganow/model-router/plugins/model-router-hermesfrom the README, a--refpin orhermes plugins update. - No run used native Windows.
- No run used a proxy.
- No run sent two concurrent sessions through one gateway.
- No run checked that Hermes clamps a routed effort for a delegated child.
- No live session ran
/model-router-provider, the settings form in Hermes Desktop or themodel_router_configtool; their tests call the handlers directly. - No run used the settings form's JSON editor for a
dictslot. - No run showed what
provenance: driftinhermes plugins listmeans for a plugin installed from afile://source.