NerdlyBuilds

My AI Agent Sat Idle for 100 Days. Turning It Off Still Took a Map.

Hermes hadn't done real work since July. A read-only audit found the voice assistant, the to-do list and a design tool all still leaned on it.

·7 min read

Illustration: a small robot with a flashlight and clipboard tracing glowing cables that spill out of a dark server rack to devices all around a home-lab closet

For most of this year, Jarvis had two brains sitting next to each other. One was Hermes, an agent framework I’d installed early on: it had its own API server, a kanban board that dispatched work to agent workers, a cron ticker, profiles, skills, memories, the lot. The other was Sentinel, the router I built later, which gradually took over chat, home questions and to-dos.

By November, Hermes looked dead. Its last real sessions were on July 25. So the plan was one line long: turn it off.

Before I touched anything, I had an agent do a read-only audit of the hub while I was out. Nothing stopped, nothing restarted, nothing got edited, and nothing spoke. The result was a document long enough to need a table of contents, and its first finding was the one that mattered: the agent was idle, but its plumbing was load-bearing.

How idle is idle?

Pretty idle, by the numbers:

  • Only 7 HUD chats had ever used the hermes-agent model, and the last one was in July.
  • The kanban board held 22 cards: 17 done, 5 archived, 0 active.
  • All 6 Hermes cron jobs had been paused since June 24.
  • Its session database hadn’t been written since July 26.

The kanban history was a little humbling, too. Those 22 cards had produced 93 worker runs. 18 finished. 55 ended blocked, 15 crashed and 4 timed out. That’s the record of something I’d stopped relying on long before I admitted it.

The one recent bit of activity was a design tool, Open Design, which had quietly been using the hermes binary as its engine. That turned out to be a theme.

What was still holding on

The search across my home directory turned up 926 files that mentioned Hermes. Most were dead copies, old snapshots and docs. The live ones were the problem, and none of them used the agent. They used the stuff around it.

Diagram: the idle Hermes agent in the middle, with six live dependencies around it: shared secrets read by the voice orchestrator and others, the router's to-do list writing through the Hermes CLI, Open Design using Hermes as its engine, the render MCP running in the Hermes Python environment, the HUD unit starting Hermes as a dependency, and a watcher that speaks out loud.

Secrets. The shared env file for the whole Batcave lived inside the Hermes folder at ~/.hermes/secrets/jarvis.env. The voice orchestrator loaded it as its EnvironmentFile. So did the HUD, the watcher, a print monitor, an appliance bridge, a daily cron script and a fallback in my Home Assistant MCP server. My .bashrc sourced it into every login shell. Deleting ~/.hermes would have taken the voice assistant down with it.

To-dos. Sentinel’s to-do list, which works by voice and chat, wrote cards by shelling out to hermes kanban create. The services could be off and that would still work. Removing the binary would break it.

A design tool. Open Design’s config had agentId: "hermes", so it spawned hermes acp whenever I used it.

An MCP server’s interpreter. My render MCP ran under the Hermes virtualenv’s Python. Not because it needed anything from Hermes. That was just where it got started.

A systemd dependency. The HUD’s unit file said this:

Wants=hermes-gateway.service hermes-proxy.service

So if I stopped Hermes and then restarted the HUD during testing, systemd would helpfully start Hermes again. That kind of thing makes a test lie to you.

A default. The HUD’s chat API fell back to hermes-agent whenever a request didn’t name a model.

The part that could talk

One component deserved more care than all the others put together: jarvis-hermes-watcher. It polled the kanban board every 30 seconds, and whenever a card moved to done or failed, it announced it on the living room speaker: “Sir, the X task is complete.”

That included me dragging a to-do card to Done in the HUD. Any migration step that touched the board while the watcher was running could have made the house start talking, possibly at night, possibly while nobody was home.

It had another habit, too. An old login path in the watcher had produced about 53,600 tracebacks in the dashboard’s journal over 45 days, roughly 8,600 a day, until that path was fixed on November 12. About 700 MB of journal came from that one bug.

So the first rule of the cutover was simple. The watcher stops before anything else happens:

systemctl --user disable --now jarvis-hermes-watcher

Small, reversible moves first

The order mattered more than any single step. Everything before the actual shutdown was a move I could undo, and none of them changed what the house did. Here’s how the evening went, from the ops log:

Timeline: the watcher was stopped at 19:25. Secrets moved at 19:27, the HUD dependency was removed at 19:28, Open WebUI was repointed at 19:31, Open Design at 19:34, the render MCP got its own environment at 19:36, memories were imported at 19:38, the daily digest was updated at 19:45, and the archive was written and verified at 19:48. Hermes was stopped at 20:21 and disabled at about 20:32.

Secrets got a new home. I backed them up, moved them into a Sentinel config folder that’s only readable by my user, and left symlinks at the old paths so nothing noticed:

install -d -m 700 ~/.config/sentinel/secrets

The plan is to delete the symlinks only once this comes back clean over live code:

grep -r '\.hermes/secrets\|\.hermes/\.env'

While I was in there, I took the plaintext sudo password out of the Hermes env file. Only the agent’s terminal tool had ever used it.

The HUD let go of Hermes. My first idea was a drop-in to clear the Wants=. A drop-in can’t remove dependencies, though, so I edited the unit to After=network.target and ran daemon-reload. I didn’t restart the HUD.

Everything else got repointed. Open WebUI moved from the Hermes proxy to LiteLLM. Open Design’s agentId changed from hermes to claude, and its connection test passed. The render MCP got its own virtualenv. The daily digest stopped listing the Hermes units, so it wouldn’t report them as down every morning. Five facts worth keeping from Hermes’s memory files went into Sentinel’s memory store as pinned entries.

Then an archive, verified. All of it went to the NAS and to the hub, with sha256 checked on the NAS and a restore test that ran SQLite’s integrity_check on the session and kanban databases. Same rule as my disaster recovery setup: never delete anything, and know how to put it back.

The cutover itself

At 20:18 the pre-checks ran. No open connections to any Hermes port, only Hermes’s own processes holding files under ~/.hermes, and no references in crontab, Caddy, Docker env, LiteLLM or the MCP gateway.

At 20:21 the five Hermes units stopped. Two small surprises:

  • The gateway exits with status 1 on SIGTERM by design, so systemd marks it failed. A reset-failed cleaned that up.
  • hermes-cfgwatch sounded like a log watcher. It was really a self-healer that rewrote config.yaml whenever the desktop app blanked a setting. I wanted it masked, but systemctl mask refuses when the unit file lives in ~/.config/systemd/user. So the file got moved out of the way, not deleted.

By about 20:32 everything was disabled. Then came the long checklist: router health and to-dos, the voice orchestrator, the TTS gateway (GET requests only, nothing that makes sound), LiteLLM completions on two local models, the memory store, n8n and a manual digest run, Open WebUI, Open Design, the same 21 Docker containers as before, and a headless sweep of 19 HUD tabs on desktop and phone, muted, with every non-GET request blocked.

Everything passed. No rollback. Nothing spoke, nothing got cast to a screen, and Home Assistant was only read.

The sweep did turn up two failures, and both were old: the Email tab’s Gmail token had been dead since June, and one Projects folder returned a 400. The audit also found that my TTS gateway was running but disabled, which means it wouldn’t have come back after a reboot. That had nothing to do with Hermes, and it’s exactly the kind of thing you only find by looking at everything at once. It’s a cousin of the time a watchdog turned out to be holding my Home Assistant together.

What’s still there, on purpose

I didn’t delete Hermes. The binary, its virtualenv, the whole ~/.hermes folder and the secrets symlinks are all still in place. The router’s to-do list still writes through that CLI until I build its own store. A rollback doc sits next to the evidence folder.

There’s also a naming trap I left alone for now. A container called hermes-memory runs the memory gateway that Sentinel depends on. It sounds like Hermes, it isn’t Hermes, and it’s the one thing in this whole story that would really hurt to remove by accident. Renaming it touches the HUD, the orchestrator, the router and the backup script, so that gets its own evening.

What I’d tell myself in July

The agent is never the dependency. The stuff it quietly became home to is: the env file everyone reads, the CLI another tool shells out to, the virtualenv something else borrowed, the Wants= line, the default model name. None of that shows up in “when did it last do real work.”

So now my order for retiring any piece of the lab is:

  1. A read-only inventory first.
  2. Stop anything that speaks or acts on its own.
  3. Make reversible moves with symlinks and backups.
  4. Archive and verify.
  5. Cut over and run the full checklist.
  6. Delete last, only once the grep comes back empty.

It took one evening of changes and a lot of reading before that. Next time something in the lab “looks dead,” I’ll assume it’s holding something up until a grep proves otherwise.

Get an email when I publish something new