MindSync turns the CLI you already use into the lead orchestrator — routing tasks to the right agent, preventing file conflicts, and remembering decisions across sessions.
$ pip install mindsync-ai$ mindsync setup --mode auto$ mindsync doctor$ mindsync agents✓ known hosts configured · recognised workers on PATH
Idempotent setup — existing MCP registrations preserved unless --force.
One command. The orchestrator picks the worker, locks the files, supervises the run, and saves what mattered to memory.
mindsync runs the MCP server, setup, and memory. mindsync-dispatch routes bounded tasks to workers — your human-facing CLI stays the lead orchestrator.The tools are identical — what changes is who keeps score between them.
$ claude "fix auth bug" …edits src/auth.py from memory of an older conversation… $ codex "write auth tests" …rewrites the same file, clobbers the first fix… $ grok "review what changed" …reviews a mix of both edits, flags problems nobody remembers making… result: you are the router, the referee, and the memory. for every task.
$ mindsync-dispatch run auto "fix auth bug" ◆ routed → codex (fit 0.92) ◆ focus lock: src/auth.py held …worker implements… ✓ done · decision saved to memory $ mindsync-dispatch run auto "add auth tests" ◆ conflict avoided → routed to claude, waits on codex's lock release ✓ done · context replayed, not re-explained result: one command per task. the system keeps its own state.
Without a shared layer, agents duplicate work, overwrite each other's files, lose decisions between sessions, and make you pick a worker by hand for every single task.
The human-facing CLI decides when delegation is actually useful — you stop naming a worker for every task.
Workers are ranked by task fit, availability, and priority. Every automatic route reports its reason and candidate scores.
Active file and project focus is visible before work begins, so two agents don't edit the same file blind.
Decisions, blockers, and durable facts persist per project and replay into the next run instead of being re-explained.
Tracked jobs, timeouts, cancellation, and process-tree cleanup — plus optional git worktree isolation per job.
No hosted control plane, no MindSync account. Remote sync is optional and runs through your own SSH host.
Opt-in --on-limit handoff or MCP on_limit rotates exhausted worktree jobs to the next agent. Pluggable usage readers support checkpoint-gated preemptive transfer when polling is enabled; default is stop with no forced checkpoint and no raw usage or auth persistence. Cooldowns: mindsync-dispatch limits.
The orchestrator keeps planning, authorization, integration, and the final answer. Delegated workers receive bounded tasks and cannot recursively delegate through MindSync.
Agents record decisions, blockers, and durable facts per project in local SQLite. The next run gets a bounded, priority-ordered replay: durable facts pack first, then unresolved blockers, then routine history — so noise can never crowd out what mattered.
--yes.MindSync separates the MCP host from the worker backend. A CLI may act as either, or both — without locking you into a single model or provider. These eight are first-party. Setup also picks up other PATH-installed CLIs whose names it already knows. Unknown binaries are suggested, not registered, and never executed.
| CLI | MCP host setup | Best at |
|---|---|---|
| OpenAI Codex | Native | Coding, debugging, testing, DevOps |
| Anthropic Claude | Native | Architecture, reasoning, review, large context |
| Google Gemini CLI | Native | Alternate backend in the Gemini/Antigravity family |
Antigravity (agy) | Via Gemini CLI host | Preferred backend in that family |
| Grok CLI | Native | Research, reasoning, review, security work |
| Cursor Agent | JSON setup | Coding and repository work |
| OpenCode | JSON setup | Coding, review, repository work |
| Aider | — | Focused code editing |
First-party hosts get a real MCP recipe (native mcp add or a known JSON file). A new CLI with an unusual name lands via mindsync register. Setup will not guess mcp add flags or run a binary it cannot name.
One package, pure Python. Nothing else to provision.
pip install mindsync-ai
Registers known MCP hosts and recognised PATH workers. Idempotent and previewable.
mindsync setup --mode auto
Check health, inspect the roster, then hand out a task.
mindsync doctor && mindsync agents
Add MindSync to Codex, Claude, Cursor, or any MCP client — then delegate from the tools you already use.
see MCP config below
{
"mcpServers": {
"mindsync": {
"command": "mindsync"
}
}
}
Windows: if your MCP client does not share PATH, point command at your venv's python.exe and use "args": ["-m", "mindsync.server"].
Requires Python 3.10 or newer. --dry-run previews every change without touching a file.
No. MindSync runs entirely on your machine — routing, focus tracking, and memory are all local files and local SQLite. The only network calls are the ones your own CLIs already make to their model providers. Optional remote sync goes through your own SSH host.
You become the router, the referee, and the memory: choosing the worker for each task, checking who touched which file, and re-explaining decisions every session. MindSync automates those three jobs while your CLI stays the lead orchestrator.
Only through each CLI's official, documented registration surface (native mcp add or a known JSON config, including OpenCode's opencode.jsonc). Setup is idempotent — existing registrations are preserved unless you pass --force, and --dry-run previews everything first. Unknown binaries are listed as suggestions and never executed. Unusual names use mindsync register.
No — deliberately. Delegated workers receive bounded tasks and cannot recursively delegate. Planning, authorization, integration, and the final answer stay with your human-facing CLI, so there is always one accountable chain of command.
If MindSync already knows the name (Codex, Claude, Gemini, Grok, Cursor, OpenCode, Aider, and a short seed list), mindsync setup will register it. An unusual binary is listed as a suggestion — add it with mindsync register --name … --bin …, then confirm in mindsync agents. Do not trust an agent that only says it registered.
Local-first, MIT licensed, and four steps away.