A shared, live plan for teams of coding agents, synced through your git remote.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y hivemind-agents
MCP client config
{
"mcpServers": {
"hivemind": {
"command": "npx",
"args": [
"-y",
"hivemind-agents"
]
}
}
}A shared, live plan for teams of coding agents.
You split the work, everyone's agents go off and build, and an hour later the plan in each agent's
head is stale: someone changed the User schema, someone else switched auth libraries, two agents are
building the same endpoint. hivemind keeps one plan in sync across every agent on the team and puts
teammates' changes into each agent's context at its next tool call.
npx hivemind-agents install
Run it once per machine. No server, no account, no room codes: the team is the git repo.
Teammate's agent changes an API while yours is mid-task. A few seconds later, after its next command, your agent sees:
[hivemind] Teammates updated the shared plan since you last checked:
⚠️ BREAKING alice-3f2a1c updated contract: `User.id`: uuid (breaking) (was: int)
🎯 (overlaps files you touched) bob-91d0e4 added task: [doing] Signup form @bob-91d0e4
- alice-3f2a1c added decision: JWT in an httpOnly cookie, not localStorage [inferred]
Check whether your current work depends on the breaking changes above and adapt it.
At session start it gets the whole plan: goals, contracts (API shapes, schemas, shared types), decisions, who's doing what, and open questions.
Just ask your agent, e.g. "We're 3 people building X this weekend. Make a plan for the team." It
records goals, contracts, decisions and tasks in hivemind (tasks unassigned, with dependencies), and
each teammate's agent can claim one by key. You can also add things yourself with hivemind add or
in the dashboard (hivemind open).
Plans change mid-hackathon. hivemind makes sure the old direction doesn't linger next to the new one:
hivemind review (or the plan_review tool) has the model check the whole plan for contradictions
and suggest fixes (~15 s). your agent ── hooks ──► hivemind ──► .git/hivemind/state.json (local cache, read in ~30 ms)
│
background daemon: push your ref, fetch everyone's (every 3 s while active)
│
origin: refs/hivemind/<member> (hidden refs, never branches)
refs/hivemind/<member>) on your existing remote. Nobody ever writes to someone else's ref, so
there are no merge conflicts. Branches, PRs and your working tree are never touched.contract_publish, decision_log, task_add, task_claim, …), and they're told to for anything urgent.| Agent | Plan at start | Updates mid-task | Auto-extraction | Notes |
|---|---|---|---|---|
| Claude Code | ✅ | ✅ every prompt and tool call | ✅ | |
| Codex CLI | ✅ | ✅ every prompt and tool call | ✅ | Approve the hooks once with /hooks in Codex (Codex requires this for any new hook) |
| Cursor | ✅ | ✅ after each tool call | ✅ | Built from Cursor's hook docs; not yet tested in a live Cursor session |
install detects which of these you have and configures each one (--only=claude,codex to choose).
/plugin marketplace add Leonhest/hivemind
/plugin install hivemind@hivemind
Same hooks and MCP tools, no npm needed. Use either the plugin or npx … install, not both.
install puts a hivemind command on your PATH (or use npx hivemind-agents <command>).
hivemind status who's in the plan, last sync
hivemind plan print the shared plan
hivemind open live dashboard in your browser (and a form to add to the plan)
hivemind review check the plan for contradictions
hivemind add <goal|task|contract|decision|question> <key> <text> [--breaking]
hivemind doctor check that everything is wired up
hivemind disable turn hivemind off for this clone (hivemind enable to undo)
hivemind uninstall remove hooks and MCP config (your repos' plan data is left alone)
hivemind status) so nobody is surprised. Don't want that? hivemind disable turns it off for
that clone; hivemind enable turns it back on.claude -p with Haiku
(or codex exec if you only have Codex) using your existing subscription or API key: about
$0.005 per extraction on API pricing, or a small slice of your subscription usage. Set
HIVEMIND_EXTRACTOR_BACKEND=none to turn it off and rely on the MCP tools only.origin remote you can push to (without push
access you still receive updates, but can't share yours).origin? hivemind stays out of the way.Run hivemind doctor. Logs are in .git/hivemind/ in each repo (hivemind.log, daemon.log, extract.log).
MIT