All plugins

omniscience

Local observability for Hermes Agent: a live graph of every session, turn, model request, tool call and subagent, plain-English failure briefings, and deterministic replay of a stored run. Disclosure: records sanitized metadata only (IDs, timings, model and provider names, token counts, statuses, error types, tool names, argument names and character counts) from observer hooks into a local SQLite database in the active profile's plugin-data directory; prompts, history, assistant text, tool argument values and results, request and response bodies, headers, environment values and credentials are never stored. The viewer is a separate process that binds 127.0.0.1, needs a per-launch key and opens the recording read-only; its write actions save settings, privacy flags and previewed problem bundles in that plugin-data directory. The recorder makes no network calls. Opt-in features the user starts: /omni insight sends a metadata-only digest to the Hermes model through ctx.llm; the brake asks Hermes' local run API to stop a chat; other-harness usage reads token counts from the session files of harnesses the user enables; the DGX Sparks source polls hosts the user configures. No stored credentials, no telemetry, no self-updater.

KeyArgoToolsv1.0.0Updated 27 minutes ago

About

Local observability for Hermes Agent: a live graph of every session, turn, model request, tool call and subagent, plain-English failure briefings, and deterministic replay of a stored run. Disclosure: records sanitized metadata only (IDs, timings, model and provider names, token counts, statuses, error types, tool names, argument names and character counts) from observer hooks into a local SQLite database in the active profile's plugin-data directory; prompts, history, assistant text, tool argument values and results, request and response bodies, headers, environment values and credentials are never stored. The viewer is a separate process that binds 127.0.0.1, needs a per-launch key and opens the recording read-only; its write actions save settings, privacy flags and previewed problem bundles in that plugin-data directory. The recorder makes no network calls. Opt-in features the user starts: /omni insight sends a metadata-only digest to the Hermes model through ctx.llm; the brake asks Hermes' local run API to stop a chat; other-harness usage reads token counts from the session files of harnesses the user enables; the DGX Sparks source polls hosts the user configures. No stored credentials, no telemetry, no self-updater.

What it is

Omniscience is a Hermes Agent plugin that records what the agent does, as it happens, and draws it as a graph you can read at a glance. Sessions, turns, model calls, tool calls, helper agents and lost-event gaps all sit on one canvas. You watch a long run live instead of scrolling a log, then scrub back through the same graph to the step where something went wrong.

Why it's different

The graph is live and the replay is deterministic. Other tools import a finished trace or report on cost after the fact. Omniscience maps the run as it unfolds, then lets you rewind that same graph, step by step, with the same layout every time. It stores metadata only: names, timings, sizes and statuses, never prompts, arguments or outputs.

Features

  • Live execution graph. Sessions, turns, model requests, tools, helper agents and GAP markers for lost events, updated from the recorder's SQLite file over a local WebSocket.
  • Deterministic replay. Drag the replay bar to any step and the graph is rebuilt from the rows up to that point. Nothing is re-run.
  • Fold busy turns. A long turn folds into one box such as "60 model calls · 4 tools"; open it when you need the detail.
  • Plain-English triage. A verdict line, "Where the time went", Things worth a look, a failure stepper, and explanations built only from recorded fields.
  • Five main views — List, Map, Time, Tokens, Usage — plus Flame, Tools, Context, Helpers, Coverage, Latency, Concerns and Privacy.
  • Usage page. Tokens per call, cache share, model and provider tables, compactions and Hermes' own cost estimate, clearly labelled as an estimate. /omni tokens prints the short version in chat.
  • In-chat turn summary. A short digest at the end of each turn, on by default, with brief, standard and full detail levels.
  • /omni command. Triage the current chat, show usage, pause recording for this chat (/omni off), resume it, or delete its recording (/omni forget confirm).
  • Privacy controls. Recording can be paused per chat; the viewer has a privacy page and can flag a sensitive tool run into a standalone dossier.
  • Export and bundles. CSV exports of steps, chats and models; a redacted JSON problem bundle you can preview before writing.
  • Local by default. The viewer binds 127.0.0.1, opens the database read-only, and uses a per-launch key. No cloud service, no telemetry endpoint.
  • Never blocks the agent. Hooks copy metadata onto a bounded queue of 10,000 events; a background thread writes batches to SQLite. Drops are counted, not hidden.
  • Hermes dashboard tab. dashboard/ mounts the same live view inside the Hermes dashboard when the plugin is enabled.
  • History import. Chats that ran before the plugin was enabled are imported from Hermes' own state database, metadata only.

Screenshots

Install

hermes plugins install KeyArgo/hermes-omniscience --yes-deps --enable

Then restart the Hermes gateway once so it loads the plugin. Omniscience never restarts it for you.

Requirements:

  • Hermes Agent v0.23.0 or newer (requires_hermes: ">=0.23.0" in plugin.yaml).
  • FastAPI and uvicorn for the bundled viewer; Hermes already ships both.
  • A WebSocket library (websockets or uvicorn[standard]) for the live feed; the top bar shows OFFLINE without one.
  • Node and npm only if you want to rebuild the web UI from web/.

The plugin starts its viewer on 127.0.0.1:8797 the first time it loads, answering this computer only, behind a per-launch key that /omni and the dashboard page pass along for you. Recording continues even when the viewer is down.

Quick start

No Hermes needed. This serves the bundled viewer against generated demo data.

git clone https://github.com/KeyArgo/hermes-omniscience
cd hermes-omniscience
python3 -m venv .venv && . .venv/bin/activate
pip install -r requirements-dev.txt
PYTHONPATH=viewer_app python3 -m omniscience_viewer --demo

Open http://127.0.0.1:8797. --demo writes a temporary events database and does not touch ~/.hermes.

To run the viewer against a real Hermes recording instead, omit --demo; it reads
$HERMES_HOME/plugin-data/omniscience/events.db (normally ~/.hermes/plugin-data/omniscience/events.db).
More launch flags and the Windows steps are in docs/INSTALL.md.

How it works

flowchart LR
    H["Hermes observer hooks"] --> R["register() in __init__.py"]
    R --> S["sanitize.py<br/>allowlist + redaction"]
    S --> Q["bounded queue<br/>10,000 events"]
    Q --> W["writer thread<br/>batches of 500 / 250 ms"]
    W --> D[("events.db<br/>SQLite WAL, mode 0600")]
    D -->|"read-only"| V["viewer<br/>FastAPI on 127.0.0.1:8797"]
    V --> B["browser<br/>React + React Flow"]
    V --> X["/api/v1/* and WS /api/v1/live"]
    B --> G["reduce.ts<br/>events to nodes and edges"]
    G --> P["deterministic replay<br/>reduce events[0..k]"]

The plugin runs inside Hermes and does no network work on the hook path. Each callback copies a small allowlisted set of fields and pushes an event onto a bounded queue; a daemon thread writes batches to a local SQLite database. The viewer is a separate process that opens that database read-only and serves the React UI plus a REST and WebSocket API. The browser reduces the event rows into nodes and edges with a pure function, so replay at step k is just the same reduction over the first k rows. Lost events appear as GAP markers rather than disappearing.

Named modules: __init__.py, sanitize.py, store.py, schema.py for recording; viewer/omniscience_viewer/app.py and db.py for the API; web/src/graph/reduce.ts for the graph; demo/synth.py for demo data. The full picture, including the event contract and on-disk locations, is in docs/ARCHITECTURE.md.

Documentation

DocumentWhat it covers
docs/README.mdIndex of every guide in docs/
docs/ARCHITECTURE.mdComponents, data flow, event contract, on-disk data
docs/INSTALL.mdInstall, upgrade, uninstall, viewer flags
docs/CONFIGURATION.mdEvery environment variable and stored setting
docs/DEVELOPMENT.mdRepository layout, suites, CI and documentation stamps
docs/USAGE.mdA walkthrough of the viewer and the /omni command
docs/REFERENCE.mdHooks, events, HTTP routes, CLI, rules and config keys
docs/TROUBLESHOOTING.mdReal failure modes and what to do
docs/USER-GUIDE.mdHow to read the viewer in depth
docs/UI-GUIDE.mdA guide to every control on the screen
docs/FAQ.mdShort answers to the first questions
docs/COVERAGE.mdWhich Hermes hooks are recorded, and which are not
docs/HERMES_INTEGRATION.mdVerified hook payloads and Hermes version compatibility
docs/SECURITY.mdThreat model, collection policy, what leaves the machine
docs/SECURITY-AUDIT.mdA module-by-module security audit
docs/DECISIONS.mdDesign decisions and their reasoning
docs/ROADMAP.mdWhat is built, what is next, what is parked
docs/DEMO.mdA 90-second demo script
docs/VERSIONING.mdVersion scheme and the documentation currency rule
docs/BUG-LOG.mdKnown defects and examined non-defects
docs/DOC-INDEX.mdGenerated index with the build stamp of each guide
docs/dev/REGRESSION_TESTING.mdRegression and performance requirements
TESTING.mdHow to run each suite, counts, and what CI runs
VERIFY.mdA short install verification
LIMITS.mdWhat the plugin deliberately does not do
CHANGELOG.mdRelease history
CONTRIBUTING.mdDev setup, tests, commit style, PR flow
CODE_OF_CONDUCT.mdContributor Covenant 2.1
SECURITY.mdHow to report a vulnerability privately
THIRD-PARTY.mdThird-party projects this repo uses

Privacy & security

  • Stored: IDs, timestamps, durations, model and provider names, token counts, statuses, error types, tool names, argument names and character counts.
  • Not stored: prompts, conversation history, assistant text, tool argument values, tool results, request or response bodies, headers, environment values, credentials. Error messages are kept only as a length.
  • Free text that is kept (such as an error reason) is truncated and passed through pattern-based redaction. Pattern matching can miss an unusual secret, so it is not the only protection you should rely on.
  • Network calls: the recorder makes none and the viewer serves loopback only. The written diagnosis (/omni insight) runs inside Hermes through the SDK's ctx.llm facade, on the model you already use; the viewer reads only the saved report and holds no key. The one opt-in network feature is the DGX Sparks usage source, which polls TensorFold counters you configure in OMNISCIENCE_TENSORFOLD_HOSTS.
  • Background processes: the viewer runs only while the Omniscience pane is open (or a browser tab has it), and closes itself after ten quiet minutes; it is not started at Hermes boot unless OMNISCIENCE_VIEWER_AUTOSTART=1 is set. The plugin may import earlier chat metadata from Hermes' state.db once (metadata only).
  • Shell commands: the plugin launches the viewer with the current Python interpreter. The optional brake is an operator-run shell script, scripts/brake.sh, which changes Hermes' own run-API settings; Omniscience never runs it for you.
  • Data location: $HERMES_HOME/plugin-data/omniscience/. Deleting that folder deletes every event it recorded.

Full detail: docs/SECURITY.md and docs/COVERAGE.md. Report vulnerabilities through GitHub's private advisory form, as described in SECURITY.md.

Testing

PYTHONPATH=viewer python3 -m pytest tests -q -p no:cacheprovider   # Python
cd web && npm test                                                  # front end
SuiteCommandResult (measured 2026-11-11)
Python (plugin, viewer, contract, e2e, QA)PYTHONPATH=viewer python3 -m pytest tests -q -p no:cacheprovider805 passed
Front end (vitest)cd web && npm test595 passed
Total1400 passed

CI (.github/workflows/tests.yml) runs the Python suite on Ubuntu, macOS and Windows, for Python 3.11 and 3.12, with PYTHONPATH=viewer. The counts above were measured locally on Linux with Python 3.13; the macOS and Windows jobs are the CI evidence for those platforms. Two extra guard workflows check the viewer's polling interval. Details and the exact output are in TESTING.md.

Limits

  • It records Hermes sessions only. A different harness would need its own recorder writing the same schema.
  • Tool starts are not seen, only tool ends, so a tool that hangs forever does not appear until it finishes.
  • Events can be dropped under heavy load. The writer keeps a GAP marker so loss is visible rather than hidden.
  • The viewer is loopback only by design; there is no remote access mode. It opens the recording
    read-only. Its few write actions save files in Omniscience's own data folder (settings, privacy
    flags, problem bundles you preview first, which usage sources are on).

The full list is in LIMITS.md.

How it compares

ProjectWhat it doesWhere Omniscience differs
agent-run-debuggerImports one trace, gives a timeline, failure points and an inert replayOmniscience is live and shows an execution graph; replay rewinds that graph
olympusDashboard of every agent and profile, live run list, anomaly flagsOlympus is a fleet list; Omniscience is a per-run topology map
session-lensPer-session cost, full trace, recurring failures, model comparisonSession-lens is desktop reporting; Omniscience is a live graph and scrubber
hermes-telemetryTokens, cost and latency into local SQLite, with commandsMetrics only, no graph interface
langfuse, OTel exportersSend traces to a Langfuse or OTLP backendOmniscience needs no server; export is optional

These tools overlap on parts of observability. The distinct piece here is the live session-to-turns-to-model-calls-to-tools-to-subagents graph with deterministic, scrubbable replay. If you already run Langfuse or need fleet-wide dashboards, keep them.

Contributing

Bug reports, small focused fixes and new ideas are welcome. See CONTRIBUTING.md, the Code of Conduct, and the issue and pull-request templates in .github/.

License

MIT. See LICENSE.

Acknowledgements

Omniscience is built for Hermes Agent. It uses FastAPI and uvicorn, React, React Flow (@xyflow/react), dagre, Vite and Vitest, and is tested with pytest, Hypothesis and httpx. See THIRD-PARTY.md.

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

More by KeyArgo

4 plugins by KeyArgo in the catalog.

KeyArgorevampWinamp-style music, audiobook and radio player for Hermes Desktop. Disclosure — while Hermes runs it serves a token-protected API on 127.0.0.1 (Host-checked); on Linux it refuses other local accounts (via /proc/net/tcp; if that is unreadable it logs a warning and does not check), while on macOS and Windows another local account can load the player page and read the API token. It reads Hermes settings, scans ~/Music (or the configured library folders), makes a read-only check of Music Studio's library.json and .wav folder, and keeps its library index, playlists, a credential-masked agent-activity ticker, a private rotating log and automatic 10-minute backups in its own data dir; port leases and locks live in ~/.local/state/revamp/run (%LOCALAPPDATA%\\revamp\\run on Windows). It runs git to identify checkout builds and, at startup, ps to find and stop its own leftover pop-out. It contacts Radio Browser for station search (public addresses only), the stations you or the agent pick and their logo hosts, lrclib.net for lyrics and api.webamp.org / r2.webampskins.org for the Skin Museum; it may run low-priority ffprobe. The optional pop-out launches a local Chrome/Chromium with a private profile and never opens a DevTools port; on Linux it writes two desktop entries under ~/.local/share/applications and icons in its data folder. The browser, git, ps and ffprobe child processes inherit Hermes' environment. Its hooks observe tool calls and approvals without answering or changing them; no accounts, telemetry or stored passwords.CommunityDesktop app9KeyArgoauraA film pane and an audio-reactive visualiser for Hermes Desktop: YouTube videos, playlists and direct MP4/WebM in the Right panel, on the Aura page or in a floating watch window, plus internet radio, and a MilkDrop-compatible visualiser (140 presets) driven by what the machine is already playing, with agent moods for thinking, tools, approvals, errors and streaming. Disclosure — audio comes from system loopback only, never the microphone, and is analysed in memory, never recorded or uploaded. Aura starts a token-protected HTTP server on 127.0.0.1 while Hermes runs. Films and radio stations are fetched from the URLs the user or the agent chooses (films may be on the local network); keyless search and playlists read YouTube's public pages and are cached for five minutes, and the station directory is radio-browser.info. The optional Desktop window launches a local Chrome/Chromium with its own private profile. No account, no telemetry, no self-updater.CommunityDesktop app8KeyArgohermes-music-studioDescribe a song and Hermes helps you make it: it drafts lyrics and style with you, renders nothing until you approve, then makes a real take on ACE-Step 1.5 (on this computer or a server you run) or MiniMax Music 3 through ComfyUI, and checks whether the take did what you asked. Disclosure — renders run in a detached local worker; the studio talks only to render addresses you add (a local ACE-Step install, a ComfyUI or ACE-Step server, or an ACE-compatible hosted endpoint whose optional key is kept by Hermes) and, when it looks for a renderer, to ComfyUI's usual ports on this computer; it writes takes, drafts and its activity log to its own data folder, uses the model already configured in Hermes for drafting, and only when you press its download button fetches the ACE-Step 1.5 weights (14.7 GB, pinned revision) from huggingface.co. No telemetry, no self-updater. Linux, macOS and Windows.Communitygeneral

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section