Mob for Hermes Agent
Hermes runs the swarm, Mob decides what lands. This Hermes Agent plugin lets a swarm of Hermes sub-agents push straight to main through Mob: a push lands only if every recorded output stays byte-identical (and, for goal faster, the code gets faster).
Result: 10 Hermes sub-agents on DeepSeek V4.1 Flash made semver 2.29× faster in 36 minutes, with 0 of its 23,452 hidden official test checks broken and 0 differences on 47,760 unseen inputs (details).
Install
Needs Mob first: Node 22.13+, git, bubblewrap on Linux, and npm install -g @mobcomputing/mob.
git clone https://github.com/mobcomputing/Mob /tmp/Mob
cp -r /tmp/Mob/hermes ~/.hermes/plugins/mob
hermes plugins enable mob
Then ask Hermes to set up Mob on your repo and run a swarm on your goal. It follows the bundled skill (mob:mob).
Set the swarm size before you start. Hermes runs 10 sub-agents at once by default, and only 2 in a one-shot run (hermes chat -q):
hermes config set delegation.max_concurrent_children 20
hermes config set delegation.oneshot_max_children 20 # only for one-shot runs
For swarms of more than a few agents, also turn off Hermes's code checker: it starts a TypeScript server for each agent's folder, and 10 of them ran a 3 GB machine out of memory. The gate checks every push anyway.
hermes config set lsp.enabled false
What it adds
-
Skill
mob:mob: Mob'sSKILL.md, plus how to run the swarm asdelegate_tasksub-agents. -
Tool
mob_status:mob status --jsonfor the agent riding the swarm. -
/mob statusin a chat, andhermes mob status [--json]in a terminal. -
A guard (
pre_tool_call): blocks anywrite_file,patch(including V4A patches),execute_code,tool_callor shell command that namesmob.config.mjs,mob.inputs.jsonor.mob/, except plain reads such ascatandgit log, and blocks force pushes to the gate. It asks beforemob init --force.The guard is a tripwire, not a security boundary: code can still build a path at run time. The gate refuses every commit that touches those files whatever the guard does. Nothing in an agent's own clone of the gate can change the gate; the risk the guard covers is an agent with a shell reaching the main repo's
.mob/folder. For a hard boundary, run the agents where that folder cannot be written, for example with Hermes's bubblewrap terminal backend, which makes only the working directory writable, started in the agents' clones.
What it runs on your machine
- Shell commands:
mob_status,/mob statusandhermes mob statusrun themobcommand you installed (mob status), in the repo you name or the current directory. The plugin never installs or downloads anything; withoutmobon your PATH it says how to install it. - The guard reads each tool call's arguments (file paths, patches, Python code and terminal commands) to decide whether to block it. It stores nothing and sends nothing anywhere.
- No network calls, credentials, background processes or telemetry of its own. It reads nothing outside the repo you point it at.
- Mob itself, which the skill tells the agent to run, executes your repo's code on its recorded inputs inside an OS sandbox (bubblewrap on Linux, sandbox-exec on macOS) with no network, and keeps its data in the repo's
.mob/folder. See Mob's README.
Test
python3 -m unittest discover hermes/tests # from the Mob repo root
hermes plugins validate hermes
When Mob's SKILL.md changes, copy it to skills/mob/SKILL.md again and keep the Hermes section at the end; the test checks this.
README from the reviewed commit cbf3765; it updates when the author re-pins.

mobcomputing