Hermes Plan Mode Makes Your AI Agent Ask Before It Touches Anything
A free plugin turns Hermes Agent's plan command from a polite request into a real lock, and its README is just as useful for the doors it admits it can't close.
Tell almost any AI agent "just make a plan, don't change anything yet," and you are trusting its manners. The instruction sits in the prompt next to everything else. Most of the time the model listens. Sometimes it decides the fix is obvious, writes the file, and tells you afterward.
That gap between "asked not to" and "can't" is where a lot of agent accidents live. And it's mostly invisible, because a plan mode that's only a prompt looks exactly like one that's enforced, right up until it isn't.
A small plugin trending on GitHub this weekend makes the difference concrete. Hermes Plan Mode takes Hermes Agent's /plan command, which its README says "is a prompt, which the model can ignore," and turns it into a lock. Then it does something rarer: it lists, in plain words, every place the lock doesn't reach. That list answers the one question worth asking of any agent's safety switch: where does the lock sit, and what doesn't walk through that door?
First, what Hermes Agent is
Hermes Agent is an open-source AI agent from Nous Research, MIT-licensed. You can run it in a terminal, as a desktop app, or on a cheap server you talk to from Telegram or other chat apps. It reads files, runs shell commands, browses, calls MCP tools (MCP is the common plug format that lets agents use outside services), and builds up skills over time.
Like most agents, it can do real damage when it moves before you've agreed on what it's doing. Hermes has a /plan command for that. Out of the box, it asks the model to plan first. It doesn't stop the model from doing anything else.
What the plugin changes
Hermes has a checkpoint that most tool calls pass through before they run, called the pre_tool_call hook. Think of it as the main door most tool calls walk through on their way out. Plugins can stand at that door and say no.
Hermes Plan Mode stands there. While you're planning, it lets only a short list of read-only tools through: reading and searching files, web search, viewing skills and past sessions, a todo list, asking you questions, and looking at pages and images. Everything else gets turned away, including file writes and patches, the terminal, code execution, sub-agents, messaging, and MCP tools. The README's list ends with "every unknown tool," which is the right default. A new tool the plugin has never heard of is blocked until someone vouches for it.
The only file the agent can write during planning is its own plan, a Markdown file under .hermes/plans in your project. When the plugin blocks a call, the reply ends with a line saying so, for example "Plan mode blocked 1 tool call: terminal." That line exists because Hermes itself prints nothing when a hook stops a tool, so without it you'd never know the agent tried.
The approval belongs to you, and only to the plan you saw
This is the part worth copying into any agent setup.
The plugin's agent-facing tool has no "approve" action, so the model can't approve its own plan. Approval comes from you, through a card or Hermes' approval prompt, or by typing /planmode approve. Per the security model, each plan revision gets its own approval key built from a digest of the file, a fingerprint of its exact contents.
That has two practical effects. If the plan changes after you read it, your old approval no longer counts, and the plugin asks you to look again. And clicking "Always" behaves like "once" for plans, because every new revision is a new key.
It also handles the case people forget. If you've turned Hermes' approvals off entirely (its yolo setting), Hermes would normally approve everything without asking. The plugin keeps plan mode on and asks you directly through a question card instead. No human answer, no approval.
Once you approve, you pick how much rope to give. "Approve and auto-accept edits" lets it build. "Approve and review each file edit" stops on every write or patch for a yes or no. And by default, with a setting called Allow commits off, git commit and git push from the terminal stay blocked while the plan runs, unless you ask for a commit.
Try it in five minutes
You need Hermes 0.21.3 or newer for the classic command-line interface, and 0.21.5 or newer for the gateway, terminal UI and desktop app (0.21.6 or newer is recommended). The plugin is MIT-licensed and needs no API keys and no extra dependencies.
Install and enable it:
hermes plugins install 100yenadmin/hermes-plan-mode --enable
That installs the main branch. To pin the v1.7.0 release from November 28, the README says --ref takes the release's full 40-character commit SHA, not a tag name:
hermes plugins install 100yenadmin/hermes-plan-mode --enable \
--ref 75fa9e5be8e80438079970d36d63cfa85bf6cf69
Restart any Hermes session that was already running (gateway users also run hermes gateway restart). Then, in a project, start a Hermes session and give it a small real task, like the README's own example:
/plan add a --dry-run flag to the import command
What to expect: the agent reads code, may ask you a question or two, writes a plan file, and shows you an approval card. Before you click anything, try these:
/planmode statusshows the phase you're in./planmode showprints the full plan./planmode offleaves plan mode without approving anything.
If you want to change the plan yourself, choose Keep planning, run /planmode edit, save your edit, then /planmode show and /planmode approve. Approving an edited file before showing it gets refused. That refusal is the feature working.
The honest part: what still runs outside the lock
A lock on one door says nothing about the other doors. The plugin's best section is Known limitations, and it's worth reading before you trust any plan mode, this one or another.
The Codex runtime walks around it. If you run Hermes on its Codex app-server runtime, that runtime executes its own commands and patches outside pre_tool_call. The README is blunt: "Plan mode does not enforce them. Use a normal Hermes tool runtime when enforcement matters."
Side agents keep full tools. In the terminal UI, /background and btw side agents run under their own task id. They "keep full tools while the parent chat is in plan mode."
The agent can skip the approval card if you've told it not to ask questions (issue #19). The typed /planmode approve route is the fallback.
Remote terminals can lose the plan. If your terminal backend runs over SSH or in a container that doesn't share your working directory, the plan file can land where the plugin can't find it.
The no-commit block is best-effort. It reads terminal commands the way a shell would, through &&, pipes and bash -c. It doesn't catch aliases, scripts, code execution, MCP git tools, or other commit-making git commands like merge or cherry-pick.
Other plugins and slow hooks can interfere. Another plugin that rewrites tool arguments after this one checks them can change what runs. And if the hook times out, Hermes carries on without it, so "enforcement may start late... or not at all for that turn."
None of these are hidden. That's the point. A plan mode that names its gaps lets you set it up so the gaps don't matter: stay on the normal tool runtime, skip side agents while planning, keep a local terminal backend.
What this teaches about any agent's safety switch
Strip away the Hermes details and the opening question applies to every "safe mode" in every agent you use: where does the lock sit, and what doesn't walk through that door?
A prompt-level rule sits nowhere. The model can ignore it. A hook-level rule sits on one path, and its strength depends on how many tools take that path. A sandbox at the operating system level sits underneath everything, at the cost of more setup.
Hermes Plan Mode is honest about being the middle option. It's a real lock on the main door, plus a clear list of side doors. For most day-to-day work, the main door is where the risky calls go. The list tells you when that stops being true.
Honest limitations
It only works with Hermes Agent. If you use Claude Code, Codex or another agent, the plugin itself is no help, though the README's comparison table is a handy checklist of what to look for in theirs.
Planning costs time. The maintainer's own pre-registered benchmark of version 0.4.5 against Codex's plan mode, on the same model and task suite, found plan mode met every safety threshold and still took 1.61 times as long end to end. That's the project's measurement on its own Python suite, not an independent one, and it measured version 0.4.5, not the current release.
It's young and small: about 280 stars as of November 29, maintained by a single GitHub account, with frequent releases. Pin a commit if you depend on it, and re-read the changelog before upgrading. Version 1.7.0, for example, added a "finish hold" that asks the agent once to keep going when it tries to end a turn with plan steps still open; it can be turned off with finish_hold: off.
And the approval prompt is Hermes' generic one. On the command line it's titled "Dangerous Command," and it times out after 300 seconds by default. A timed-out prompt leaves the plan waiting, and /planmode approve still works.
Make "don't touch anything" mean something
The habit worth building is small. Before you hand an agent a task that could break something, decide whether "plan first" is a request or a rule in your setup. If it's a request, assume it will be ignored on the day it matters.
If you run Hermes, install the plugin, try one /plan on a throwaway branch, and watch for the blocked-call line at the end of the reply. If you run something else, open its docs and look for the equivalent of this README's Known limitations section. If you can't find one, that tells you something too.
Sources: hermes-plan-mode README at v1.7.0; CHANGELOG at v1.7.0; v1.7.0 release; Hermes Agent README. Reviewed version: v1.7.0 (commit 75fa9e5), November 28, 2026. Star count from shields.io and the repository page, November 29, 2026.