All plugins

stats

A usage dashboard for Hermes in the style of Oh My Pi's omp stats: overview, models, providers, costs, requests, errors, traces, tools, frustration and projects across every profile, plus a Calls page for z0live voice traces and a What to change page whose findings name the config key to change and the estimated impact. hermes stats serve runs it on 127.0.0.1, hermes stats snapshot FILE writes one offline HTML page, and /stats [24h|7d|30d|90d|all] answers in chat without a model call. Optional summaries and questions run on your auxiliary model (task stats_insights) only when you ask; every number in the model's text is checked against its input and the text is dropped if a check fails. Disclosure — reads every Hermes profile's state.db (from any profile, including through the /stats chat command) and, if present, ~/.local/share/z0live/voice-traces, read-only, and selects only ids, timestamps, session source, working-folder names, model and provider names, token counts, costs, tool names and error kinds, never message text; summaries and questions send only those aggregates and findings to your auxiliary model, and only when you ask; the dashboard server binds 127.0.0.1, rejects other Host headers and has no login, so other programs on this machine can read it while it runs; no telemetry, no credentials read. GPL-3.0-only; the dashboard client is forked from Oh My Pi (MIT).

kvnlooToolsv0.1.0Updated 10 days ago

About

A usage dashboard for Hermes in the style of Oh My Pi's omp stats: overview, models, providers, costs, requests, errors, traces, tools, frustration and projects across every profile, plus a Calls page for z0live voice traces and a What to change page whose findings name the config key to change and the estimated impact. hermes stats serve runs it on 127.0.0.1, hermes stats snapshot FILE writes one offline HTML page, and /stats [24h|7d|30d|90d|all] answers in chat without a model call. Optional summaries and questions run on your auxiliary model (task stats_insights) only when you ask; every number in the model's text is checked against its input and the text is dropped if a check fails. Disclosure — reads every Hermes profile's state.db (from any profile, including through the /stats chat command) and, if present, ~/.local/share/z0live/voice-traces, read-only, and selects only ids, timestamps, session source, working-folder names, model and provider names, token counts, costs, tool names and error kinds, never message text; summaries and questions send only those aggregates and findings to your auxiliary model, and only when you ask; the dashboard server binds 127.0.0.1, rejects other Host headers and has no login, so other programs on this machine can read it while it runs; no telemetry, no credentials read. GPL-3.0-only; the dashboard client is forked from Oh My Pi (MIT).

Hermes Stats

A usage dashboard for Hermes Agent: what every profile did, on which models, at what API-equivalent cost, where turns failed, and what to change. It is the Oh My Pi omp stats dashboard with its data layer swapped for Hermes's session stores and, if you make z0live voice calls, their traces (~/.local/share/z0live/voice-traces, or --voice-traces DIR).

Overview

All screenshots come from a synthetic Hermes home (scripts/demo_home.py), not from anyone's real usage.

What to changeTracesPhone
What to changeTracesPhone

Install

hermes plugins install kvnloo/hermes-stats
hermes stats serve            # then open http://127.0.0.1:8800/

It needs Hermes 0.22.0 or newer and nothing else at runtime. The plugin is standard-library Python, and the dashboard client ships prebuilt in stats/dist, so there is no Node, Bun or npm step.

Use

/stats                   what to change in the last 7 days, as text (also 24h, 30d, 90d, all)

hermes stats serve [--port 8800]              live dashboard on 127.0.0.1
hermes stats snapshot FILE [--narrate]        one self-contained HTML file, no server
hermes stats insights [--range 7d] [--json] [--narrate]

From a checkout, bin/hermes-stats takes the same subcommands and reads $HERMES_HOME (default ~/.hermes).

Pages

  • Usage: Overview, Models, Providers and Costs, across every Hermes profile (~/.hermes/state.db and ~/.hermes/profiles/*/state.db).
  • Activity: Requests, Errors and Traces, plus Calls for z0live voice calls (turn gap, hand-off latency p50/p90, lane timings).
  • Insights: What to change, Tools, Frustration (from z0live's per-turn user.reaction flags) and Projects.

Keys: 1 to 6 pick the range, g then a letter jumps to a page. On a phone the layout switches to a tab bar and sheets (docs/MOBILE-DESIGN.md).

What to change

The What to change page turns a window into findings. Each finding names a measured cause, its evidence, the Hermes setting to change, the API-equivalent cost it touches and the page that shows it. Five detectors run:

  • Side tasks on the main model (compaction, approvals, background review, titles). The action names auxiliary.<task>.provider and .model.
  • Subagents that inherit the main model. The action names delegation.model and delegation.provider.
  • Big sessions with a measured cause: many subagents, repeated compactions, or a context much heavier than your typical session's.
  • Failed turns per model and provider.
  • z0live lanes in which one model rarely answers (voice users only).

Dollar figures are API-equivalent estimates. On a subscription they are not money you spent or will save. Requests with no price are left out of every dollar figure, and a note says how many there are.

Summaries (optional)

A model can write a short summary with up to three actions, and answer questions on the live page. Nothing calls a model unless you ask: the Write a summary button, the Ask box, or --narrate. /stats and hermes stats insights show a summary only when one is already cached for the same data.

  • Inside Hermes the model is your auxiliary model for the stats_insights task. Pick it in hermes model (Configure auxiliary models, listed as "Hermes Stats summaries") or set auxiliary.stats_insights in config.yaml. Unset, Hermes picks one.
  • --llm-url http://127.0.0.1:8080/v1 uses any OpenAI-compatible server instead, such as llama-server. --llm-model names the model and --llm-key-env VAR names an environment variable holding its key. From a checkout this is the only way to get a summary.
  • Every number in a reply must match a number the model was given. If one does not, the reply is hidden and marked unverified, and the findings stand alone. Replies are cached by input in ~/.hermes/plugin-data/stats/insights-cache/.

docs/ADVISOR-INSIGHTS.md records the review behind the detectors and guards.

Privacy

  • Metadata only. It reads ids, timestamps, model and provider names, token counts, costs, tool names, error kinds and the last folder name of each session's working directory. It never selects message content, titles, prompts, tool arguments, reasoning or transcripts. Every store opens read-only (mode=ro).
  • Local. serve binds 127.0.0.1 and answers only to loopback Host headers. A cross-origin POST is refused, so another site cannot spend your tokens.
  • What a model sees. A summary request sends the findings and totals only: counts, costs, timings, and model, provider and profile names. It never sends messages, prompts, titles, tool arguments, folder names or session ids. The page shows exactly what was sent.
  • Snapshots are yours to share or not. A snapshot holds the same metadata as the live page, including profile, model and project folder names. It is written with owner-only permissions (0600). Read it before you publish it.
  • Writes: only the summary cache above, and the snapshot file you name.
  • Network: none, unless you ask for a summary. Then it goes to your Hermes auxiliary model or the --llm-url you pass. No telemetry.
  • Credentials: none of its own. Inside Hermes the model call goes through ctx.llm, so Hermes holds the keys.

What Hermes does not record stays unknown rather than zero. Hermes stores token usage and cost per session and model, not per request, so each assistant message gets an equal share and the totals still reconcile with the store. Request duration is the gap from the previous message, and there is no time to first token. Omp's Gain and Spotlight pages are dropped because Hermes has no data for them.

Develop

python3 -m unittest discover -s tests       # stdlib only; the install test needs `hermes` on PATH
cd stats && bun install && bun run check && bun run build.ts
python3 scripts/demo_home.py /tmp/demo      # synthetic data for screenshots
HERMES_HOME=/tmp/demo/home bin/hermes-stats snapshot /tmp/demo.html --voice-traces /tmp/demo/voice-traces
node stats/audit/audit.mjs --html /tmp/demo.html --out /tmp/audit   # phone layout audit

tests/test_plugin.py installs the plugin into a temporary HERMES_HOME with hermes plugins install, next to a neighbor plugin that registers its own slash command, CLI command, tool and hook (a stand-in, or a real checkout through NEIGHBOR_PLUGIN_REPO and NEIGHBOR_PLUGIN_REF), and loads both with Hermes's plugin loader. Commit stats/dist after rebuilding it, since installs use it as is.

Credits and license

The dashboard client is forked from Oh My Pi's packages/stats by Can Bölük and Stencil Labs, under the MIT license in stats/LICENSE. See NOTICE for every component and license.

Hermes Stats is licensed under the GNU General Public License v3.0 only, see LICENSE.

README from the reviewed commit 1ce2290; it updates when the author re-pins.

More by kvnloo

4 plugins by kvnloo in the catalog.

kvnlooglideKevin Rajan's Hermes frontend for Tern, built on alt-glitch/hermes-tern (MIT) and carrying about 890 commits of its own. One install gives hermes tern, which draws the chat as native Tern UI, plus /glide, a guided setup that makes Hermes learn from you and run more of its work locally. Added over the original: charts from Markdown tables, OpenUI and ephemeral-ui answer cards, 3D artifacts beside the chat, written artifacts and session links, LSP diagnostics cards, live wait tiles for subagents, fork-a-session panes, /rewind, /undo and /tree, native /settings and a /models provider hub, a Vim composer, a command palette and shortcut preferences, queue-or-steer busy input, opt-in live voice with helper lanes beside the thinking orb (role, model and real state from a local lane broker), a work dock, a thinking-orbs indicator, frontend channels (hermes tern --channel), and tool cards that report refusals, truncation and partial failures instead of hiding them. /fleet (with /hosts and /portfolio) shows read-only cards of local hosts, agents, GPU/CPU gauges, k3s pods and open issues and pull requests for named repositories; /intel shows read-only local intelligence (hill-climb results, skills, memory, failures, traces). Inactive on released Hermes: Tern browser blocks, image delivery across hosts, plan review with a todo HUD, native /btw side questions and read-only MCP/SSH report sheets need plugin gateway methods (ctx.register_gateway_method) that released Hermes does not have yet; they turn on when it does. Glide guards two scarce resources: your attention and the agent's context window. /glide focus shows your current phase, next deep-work window and usual stop time, learned from your own local session timestamps (or from z0intelligence's circadian and a loopback Flowkit flow estimate when installed); a deep-work block holds non-critical agent notifications and approval asks for one digest at the end while critical ones still pass, and one wind-down card saves a resume note for the next session. /glide (also hermes glide onboard) is a chain of approve cards: detect the machine and local runtimes (and z0intelligence if installed); build a corrections memory from your past local sessions (your messages that start "no,", "actually," or "correction:") and quote up to three matching corrections into each new turn through a pre_llm_call hook, using deterministic BM25 with no embeddings or model calls; a skill router catalog; a measured CPU hill climb whose referee says KEEP, REVERT or INCONCLUSIVE; offload of small tasks to an installed Ollama model with estimated savings; and an optional Taste board pane beside the chat. Disclosure — Derived from hermes-tern (alt-glitch/hermes-tern, MIT). Network: GitHub's API with the optional GITHUB_TOKEN (and GITHUB_ENTERPRISE_TOKEN only to the Enterprise hosts the user lists) for the pull request view, and through gh for /fleet repository cards; the user's own auxiliary model for live process and table charts; the frontend downloads image URLs from tool results and public 3D-model URLs it shows beside the chat, refusing private, loopback and link-local addresses on every redirect hop; /glide taste talks only to a loopback Taste Atlas server (127.0.0.1:8789 by default); /glide focus reads a Flowkit server (127.0.0.1:8787 by default, GLIDE_FLOWKIT_URL overrides) if one answers; live-voice helper lanes poll only a loopback lane broker (127.0.0.1:8791 by default) and stay off unless you name its token file in the plugin's lanes_token_file setting; no telemetry. Commands: runs the tern CLI to open files and splits, open/xdg-open for http(s) links the user clicks, and !cmd shell commands the user types in the composer; /glide runs nvidia-smi, ollama list/ollama run and, if installed, z0int doctor --json and circadian show --json, each only on an approved step, and while corrections are on it runs z0intelligence's corrections reader on every turn; /fleet runs ps, nvidia-smi, tailscale status --json, read-only kubectl get/describe and gh issue list/gh pr list, and /intel reads local snapshot files; every child gets a timeout and a minimal environment plus only that tool's own credentials (gh token, KUBECONFIG), never provider keys; the hill climb runs a local CPU benchmark; nothing is installed or downloaded. Tools and prompt: when the user grants tools.override in the profile it replaces Hermes's browser tools with a Tern-pane browser (needs plugin gateway methods); it adds system-prompt sections for pull requests and answer cards and, once turned on, quotes up to three of the user's past corrections into each turn. Reads outside its data: the profile's Hermes session database, read-only (local sessions only; cron, delegated and hidden sessions skipped), the session's background-process output, and for /fleet and /intel read-only local workspace and z0intelligence state files and /proc. Writes only under the profile. Install this or hermes-tern, not both: both register hermes tern.CommunityDesktop app2kvnloosol-piTwo mechanisms ported from NVIDIA's SoL-Pi (NVlabs/SoL-Pi, MIT). ObservationPack: a tool result over 10 KiB goes to the model in full twice, and after that the outgoing request carries a stable placeholder (id, size, 1 KiB head/tail excerpt) that the model pages back with obs_recall. The stored transcript keeps every byte, and the placeholder is byte-identical on every later request, including after a restart. Action Fusion: sol_pi_write / sol_pi_patch run Hermes' own write_file / patch, and with then_run also one follow-up command through Hermes' terminal tool, so an edit and its check take one model turn. Both are off until enabled in sol-pi.json in the Hermes home. Disclosure — rewrites only the per-call provider request copy through llm_request middleware (no context engine, no core patching). Writes archived tool results and an append-only ledger.jsonl under <hermes home>/sol-pi/<session>/ (0700/0600). Reads sol-pi.json in the Hermes home. sol_pi_write / sol_pi_patch are registered only when actionFusion is on. Fused edits and then_run run through Hermes' write_file / patch / terminal in the calling task/session; dangerous-command approval and the write denylist apply, but nested dispatch currently skips ACP/Zed edit approval, /rollback checkpoints and other plugins' pre_tool_call guards. No host-side reads of edited files. No network calls, telemetry or credentials.Communitymemorykvnlooz0livez0live is a self-hosted realtime voice stack that runs beside Hermes: GPT-Live or Grok Voice as the voice, a second voice that answers when called by name (the plugin switches it between Grok and off; a GPT-Live guest on another Hermes profile is set in the stack's own voices.json), and fast/medium/slow model lanes that answer while Hermes works. The repo is the plugin; GPL-3.0-only. z0live_status reports the engine for the next call, the second voice, the lane models, lane server health and a summary of the latest call's event trace (read only). z0live_configure sets the engine (gpt-live or grok), the second voice (grok or off) and the tier models. z0live_lanes and /z0live-lanes show or change the helper-lane board in plain words. z0live_say sends a fixed stock progress line (no free text) to the live call linked to the requesting session, over a loopback endpoint with a shared token read through get_secret. Disclosure — the plugin's tools read z0live's local files (lanes config, tier and voice overrides, call traces), write only those override files and the lanes board, make one loopback GET to z0live's lane server and one loopback POST for z0live_say, and may run the plugin's own bin/z0live engine; the plugin itself sends nothing off the machine and reads only its own optional Z0LIVE_PROGRESS_TOKEN through get_secret. The separately installed voice stack streams call audio and context to OpenAI or xAI (xAI with the XAI_API_KEY from its own service env), reuses the host Codex login in ~/.codex/auth.json (read-only) with Codex Desktop client headers against chatgpt.com, reads every local Hermes profile's state.db read-only, can steer or submit prompts into your Hermes sessions through the gateway, runs local CLIs (ctx, git, gh, hermes) with its service environment, and with Passthru on (the default; Z0LIVE_PASSTHRU=off turns it off) joins your video meetings on a spoken command in a headless browser with private-network and CSP checks off, using links read over adb from your phone's calendar, notifications and screen, hearing participants, speaking into the meeting and, on request, sharing the phone screen.Communityvoice

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section