All plugins

hermetic

Status-bar popover for Hermes Desktop with three views: Costs (spend, cache, pricing drift, OpenRouter provider routing), AAI (skill changes, ratings, tests and replays) and HDR (a guard for risky tool calls, hooks, destinations, sensitive paths, what runs on its own). Disclosure — reads this profile's sessions (and other profiles' when you pick them) to audit tool calls, paths and hosts; can edit and save config.yaml and rewrite skill files when you ship or revert a version, and once you give background tasks your routing rules, rewrites those tasks' entries in config.yaml by itself (from a background thread, at most once a minute) when the main provider changes; adds your data_collection and zdr routing rules to requests sent to Nous Portal; AAI replays and judge runs resend conversation context and tool definitions to OpenRouter with your OpenRouter key and incur cost (Nous Portal profiles are refused); HDR lists listening TCP ports via ps/lsof; HDR's guard (off by default) checks each tool call through a pre_tool_call hook and, when you turn it on, holds calls Hermes does not check itself (reading keys and logins, writing startup items or key places Hermes does not list) and asks you in its own card, blocking without an answer in time (6 seconds inside Hermes' plugin hook limit: 24 seconds by default, 120 seconds when that limit is off) or at once when hermetic is not open, or blocks them outright; the guard is a best-effort match on the paths a call names, not a sandbox; questions from every profile wait in the default profile's hermetic folder; HDR also lists shell and gateway hooks and flags hook scripts edited after approval, keeping a copy of each script to compare; Costs reads public model price lists (OpenRouter, and hopscotchlabs.ai model pages for models a profile is billed for through Hopscotch) and, at most once a minute, asks Hermes for the profile provider's account report (OpenRouter usage and limits, Anthropic and OpenAI Codex plan windows, Nous credits and spend cap), with Hermes looking up the credential, and reads OpenRouter workspace and guardrail budgets itself with the profile's OpenRouter key, sent only to OpenRouter.

forefy3Desktopv1.4.0Updated 2 days ago

About

Status-bar popover for Hermes Desktop with three views: Costs (spend, cache, pricing drift, OpenRouter provider routing), AAI (skill changes, ratings, tests and replays) and HDR (a guard for risky tool calls, hooks, destinations, sensitive paths, what runs on its own). Disclosure — reads this profile's sessions (and other profiles' when you pick them) to audit tool calls, paths and hosts; can edit and save config.yaml and rewrite skill files when you ship or revert a version, and once you give background tasks your routing rules, rewrites those tasks' entries in config.yaml by itself (from a background thread, at most once a minute) when the main provider changes; adds your data_collection and zdr routing rules to requests sent to Nous Portal; AAI replays and judge runs resend conversation context and tool definitions to OpenRouter with your OpenRouter key and incur cost (Nous Portal profiles are refused); HDR lists listening TCP ports via ps/lsof; HDR's guard (off by default) checks each tool call through a pre_tool_call hook and, when you turn it on, holds calls Hermes does not check itself (reading keys and logins, writing startup items or key places Hermes does not list) and asks you in its own card, blocking without an answer in time (6 seconds inside Hermes' plugin hook limit: 24 seconds by default, 120 seconds when that limit is off) or at once when hermetic is not open, or blocks them outright; the guard is a best-effort match on the paths a call names, not a sandbox; questions from every profile wait in the default profile's hermetic folder; HDR also lists shell and gateway hooks and flags hook scripts edited after approval, keeping a copy of each script to compare; Costs reads public model price lists (OpenRouter, and hopscotchlabs.ai model pages for models a profile is billed for through Hopscotch) and, at most once a minute, asks Hermes for the profile provider's account report (OpenRouter usage and limits, Anthropic and OpenAI Codex plan windows, Nous credits and spend cap), with Hermes looking up the credential, and reads OpenRouter workspace and guardrail budgets itself with the profile's OpenRouter key, sent only to OpenRouter.

Costs, quality and security for Hermes Desktop

https://github.com/user-attachments/assets/9edb1fa1-7460-437f-a577-f987e93c1042

hermetic

hermetic is a hermes-agent desktop app plugin that shows what your agent costs, whether its skills and replies are getting better or worse, and what the harness itself is doing. Install it from Here.

hermetic adds a tiny hermes status bar visual which covers all that was missing for me to be able to use it as a security researcher: deep costs tracking, evals and proofs for auto-improvements, and harness internals security.

Costs

Deep and analytical cost tracking especially when using multi-provider routing (e.g. OpenRouter)

  • Spend analytics per day, per session and live $/hour while turns run
  • Cache hit rate: how much of each prompt came from the provider's cache, and what cache resets cost you.
  • Pricing drift: what you were billed compared with list prices, on OpenRouter and, call by call, on Nous Portal.
  • OpenRouter spend limits and workspace budgets, and Nous Portal spend caps, with warnings when close to hit limits
  • Providers (OpenRouter): which providers actually served your calls, where they are based, and your routing rules, with an extra verbose policy editor for them.
  • Improvement suggestions: one-click config fixes, for example routing to the cheapest provider, running background tasks on a cheaper model, turning fallback on when calls fail on rate limits, or turning on Hermes' proactive prune of old tool output when, at the prices your chats were actually served, the re-sends it saves outweigh the full-price re-send each prune causes. Every fix shows the exact config.yaml change before it writes anything, and writes on top of the config as it is at that moment.

AAI (applied-AI quality)

Evals, model-as-a-judge, and the missing layer for hermes auto-improve (randomly changing skills without proof they improved adds nothing)

  • Ratings: rate replies 1 to 5 stars, the ones you pushed back on first ("no, …", "wtf, still broken"), and keep any of those as a test
  • Evals: your saved tests replayed on your current routing, each coloured by its last result. From 5 tests on, compare your two most-used providers and a second model on the same tests
  • LLM as a judge: grades replays with a rubric drafted from each skill. It has to earn trust against your ratings first (20 of them, 5 low) and fail most replies you corrected, and hermetic warns when it runs on your agent's own model family
  • Proof for auto-improve: skill changes from the background review are tested automatically (off, ask me, or revert), and a change that tests worse can be reverted. An untrusted judge never decides a revert
  • Skill fixes: for a skill whose tests fail, Hermes drafts a new version, it runs on the same tests, and you decide whether to ship it
  • Timeline and versions: every skill change, routing change and rate-limit day, with changes that added links, code blocks or script files flagged, and every saved skill version to compare
  • Cleanup: archive skills that were never used, saving tokens on every call

HDR (harness detection and response)

Security monitoring for the harness itself: what it touched, where your data went and how exposed you are, with a guard that can ask you or block before the riskiest tool calls

  • Guard: watch, ask or block the risky tool calls Hermes doesn't check itself (reading keys and logins, writing startup items and key places Hermes doesn't list), allowed or blocked once, per chat or always
  • Hooks: every shell and gateway hook, what it can do, and what Hermes keeps quiet about: scripts edited after you approved them, new hooks, hooks running unasked under auto-accept
  • Where data went: every host your agent reached, and the chats behind it
  • Files and secrets: sensitive places tools touched, scored, with the line that ran and an expected list for jobs that read them on purpose
  • What runs on its own: scheduled jobs, ports, subagents and background processes
  • What shapes every prompt: SOUL.md and memory against Hermes' limits, and the writes chats made to them
  • Plugins and middleware: where each plugin sits on model requests and tool calls, and what it registers without declaring

What it does on your machine

Model requests

When using a model provider (e.g. openrouter which this plugin supports best) hermetic adds an llm_request middleware that adds the routing fields from provider_routing in your config.yaml that Hermes does not send on its own:

  • fallbacks
  • zero data retention
  • distillable text
  • quantizations
  • max price
  • minimum throughput and maximum latency

On Nous Portal it adds only your data collection and zero data retention rules, the two provider fields the Portal accepts, and the Portal refuses a model with no endpoint that meets them.

The llm_execution middleware only reads the generation id and finish reason off the result, or on Nous Portal the cost it billed.

Tool calls

A pre_tool_call hook checks each tool call against HDR's rules (hdr_rules.py). hermetic HDR has these settings configurable:

  • Watch (default) does nothing.
  • Ask the call waits until 6 seconds before Hermes' hook limit (plugins.hook_callback_timeout, 24 seconds by default), while hermetic asks how to act (question waits at ~/.hermes/hermetic/hdr/asks/) - no answer, or no popover checking in, blocks the call.
  • Block stops the tool call. Rules you save are kept in each profile's hermetic/hdr/guard.json, and every decision is noted in hermetic/hdr/guard.jsonl. The guard never approves anything Hermes would ask about, and if its own check fails, the call goes ahead as if the guard were off.

Plugin-initiated model calls

On AAI, only when you press replay, compare, draft or judge, or when you turn on automatic tests.

  • Fix drafts, the judge and rubric drafts use Hermes' plugin model access (ctx.llm) on your main model. To let the judge use a different model, allow it in config.yaml under plugins.entries.hermetic.llm (allow_model_override: true and allowed_models).
  • Replays go to OpenRouter with the OPENROUTER_API_KEY Hermes holds for the profile, read through Hermes' secret scope and following your routing rules. On a Nous Portal profile they need OpenRouter for now, until Hermes lets plugins use the Nous sign-in. They appear in your spend like any other call. A replay costs about $0.01 per test; automatic tests stop at $0.50 a day.
  • No API key ever reaches the popover - we're proud of this achievement as hermetic itself is a security-awareness tool, so we always try to act like one.

Plugin-initiated network calls

Network calls are only done to supported providers (e.g. OpenRouter) to get latest price information, usage limits etc. no API keys sent through those calls, and only few requests a day are sent for different model informatics. The one exception is OpenRouter's workspace and guardrail budgets, which Hermes does not report, so hermetic reads them with the profile's OpenRouter key, sent only to openrouter.ai.

Disk reads

We gave hermetic just enough power to provide extended security, while limiting anything that is not needed for these ops.

  • Hermes' session database (read-only, through Hermes' SessionDB)
  • config.yaml
  • the skills and their change history
  • scheduled jobs
  • SOUL.md and the memory files (sizes and change times)
  • installed plugin sources (to see what each registers)
  • shell hooks in config.yaml
  • Hermes' hook approvals (shell-hooks-allowlist.json), gateway hooks in hooks/, the hook scripts themselves (a copy of each, as first seen, is kept in hermetic/hdr/hooks.json to show later edits), and its own routing records.
  • HDR runs ps and lsof locally to list ports opened under Hermes.

Disk writes (only when you ask)

  • Routing rules and the fixes you apply (through Hermes' own config functions, shown before writing)
  • background tasks you chose to give your routing rules, kept in step when your main provider changes
  • archived skills
  • skill versions you ship or revert
  • the guard's level and your guard rules
  • places you mark as expected (hermetic/hdr/expected.json)
  • test results.
  • Everything Hermetic records stays in $HERMES_HOME/hermetic/ (ratings, tests, replay results, saved skill versions, routing history).

What can run in the background

  • A thread checks every 5 minutes for skill changes made by the background review, and acts only if you turned automatic tests on. A short-lived thread stores the billed-spend snapshot.
  • At most once a minute, a short-lived thread checks that background tasks given your routing rules still match the main provider.

Plugin updates

Hermes auto-manages plugin updates for you after installation, from this repo we bump version in plugin.yaml, commit, then run scripts/release.sh --pr.

It runs the tests and Hermes' validation, pushes, fills the catalog entry with the new commit, and opens the pin-bump PR on NousResearch/hermes-agent. Catalog users get the update once a maintainer merges it.

Check the package with hermes plugins validate .

README from the reviewed commit 7e9788b; it updates when the author re-pins.