hermes-top is a top-style CLI for watching Hermes Agent activity from Hermes' own persisted state, alongside machine load and GPU utilization.
It reads Hermes session metadata from ~/.hermes/state.db and infers active Hermes-owned work by looking for:
- assistant tool calls that have been issued but do not yet have a matching tool result
- long-running background terminal/process jobs surfaced in Hermes tool results
- open Hermes sessions with no current in-flight tool call, if you opt into idle rows
This monitor stays Hermes-scoped:
- it does not scan
ps - it only lists work that Hermes itself has recorded
- it works on Linux, macOS, and other environments where Hermes uses the same SQLite state store
Because it is reading Hermes state rather than sampling kernel metrics, the resource_hint column is a heuristic:
networkusually means a web/API callcpu-likelyusually means a shell or local compute taskgpu-likelyis inferred from command/tool text likecuda,torch,vllm, or similar markers
If you later want exact CPU/GPU telemetry, Hermes itself will need to emit that into its own state or expose a dedicated runtime endpoint. This first version is designed to be a safe Hermes-only monitor.
When nvidia-smi is available, hermes-top also shows current utilization for every NVIDIA GPU plus compact load history graphs for host load and GPU load over time.
The live dashboard uses ASCII section borders and ANSI colors when the terminal supports them.
pipx install git+https://github.com/jonoringer/hermes-top.gitpipx gives you an isolated CLI install without needing to manage a virtual environment manually.
Run the live table:
hermes-topBy default, the live view shows both active operations and idle open sessions. Older idle sessions are hidden by default so the screen behaves more like an activity monitor than an archive.
One-shot snapshot:
hermes-top --onceShow only active operations:
hermes-top --active-onlyShow all sessions, including older idle ones:
hermes-top --all-sessionsTune how long idle sessions stay visible in the default view:
hermes-top --max-idle-age 900Tune how fresh activity must be to appear in the ACTIVE NOW pane:
hermes-top --recent-window 120Tune section sizes:
hermes-top --active-now-limit 8 --changes-limit 12 --history-limit 10 --recent-events-limit 8Hide sections you do not want:
hermes-top --hide-system --hide-recent-eventsJSON output:
hermes-top --jsonUse a non-default Hermes database:
hermes-top --db-path /path/to/state.dbFrom this folder:
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -e .If Hermes uses the default state location, run:
hermes-topIf Hermes stores state somewhere else, point directly at it:
hermes-top --db-path /path/to/.hermes/state.dbUseful checks on the machine where Hermes is running:
ls -la ~/.hermes
find ~ -path "*/.hermes/state.db" 2>/dev/null
hermes-top --once
hermes-top --active-only --once
hermes-top --all-sessions --once
hermes-top --jsonSTATUS: running, idle, or the background job status Hermes reportedKIND:web,tool,process, orsessionDURATION: elapsed time since Hermes recorded the start of the call/job/sessionSOURCE: Hermes source likecli,cron,discord, etc.TOOL: tool name or command label when Hermes exposed oneRESOURCE: Hermes-derived hint such asnetwork,cpu-likely, orgpu-likelySESSION: Hermes session titleDETAIL: compact argument or job detail summary
host load: current 1m, 5m, and 15m system load averages plus normalized 1m load as a percent of CPU coresgpu load: current per-GPU NVIDIA utilization plus one line per GPU with utilization, memory, and temperature when availableload hist: compact sparkline-style graph showing recent host load samples in live modeutil histandmem hist: per-GPU history graphs for utilization and memory pressure over time
recent events: a compact feed of the latest Hermes messages across sessions so new activity is visible even before the session table meaningfully reordersactive now: only the events inside the recent activity window, intended to feel like a live pulsechanges: newly observed Hermes events since the last refresh, so the screen shows what changed frame-to-framehistory: a scrolling memory of the last observed change events, so activity does not disappear as quickly as thechangespane
If you want hermes-top to become exact instead of heuristic, the best upstream change in Hermes would be:
- Emit a dedicated runtime activity table or JSON feed for in-flight tool calls.
- Persist background process lifecycle updates with stable job IDs.
- Optionally attach self-reported CPU/GPU counters for Hermes-managed workers.
This CLI is already structured so it can swap from inference to first-class Hermes telemetry later.
