MindSync AI
adityarya24.github.io/mindsync-ai
Local-first MCP orchestration for coding agents. The CLI already talking to you stays in charge: MindSync routes work by capability, blocks file collisions, and keeps session memory across runs. No MindSync account. Remote sync is optional.
You → human-facing CLI (orchestrator) → MindSync → Codex / Claude / Gemini / AGY / Grok / Cursor / OpenCode / Aider
Workers get bounded tasks. They cannot recursively delegate through MindSync.
Quick start
pip install mindsync-ai
mindsync setup --mode auto
mindsync doctor
mindsync agents
Requires Python 3.10+. Restart the configured CLI sessions after setup.
setup registers known MCP hosts (Codex, Claude, Gemini, Grok, Cursor, OpenCode)
and recognised PATH agent CLIs. MCP is installed only when MindSync has a real
recipe — it will not guess mcp add flags. Unknown binaries are suggested, not
registered, and never executed. Use mindsync register for an unusual name.
mindsync setup --dry-run # preview
mindsync setup --cli grok # one known host, no PATH scan
mindsync setup --no-discover # hosts only
mindsync setup --no-hooks # skip Codex standalone hooks
Install from source: python -m pip install -e ".[dev]"
Supported clients
A CLI may be an MCP host, a worker, or both.
| CLI | MCP host | Worker | Notes |
|---|---|---|---|
| OpenAI Codex | Native | Yes | Also gets standalone memory hooks |
| Anthropic Claude | Native | Yes | Architecture, review, large context |
| Google Gemini CLI | Native | Yes | Gemini/Antigravity family |
Antigravity (agy) |
Via Gemini | Yes | Preferred worker in that family |
| Grok CLI | Native | Yes | Research, review, security |
| Cursor Agent | JSON | Yes | ~/.cursor/mcp.json |
| OpenCode | JSON | Yes | ~/.config/opencode/opencode.jsonc |
| Aider | — | Yes | Focused editing |
Gemini CLI and agy are one family. When either is the human-facing orchestrator,
both are excluded from automatic worker selection.
Orchestration
Policy lives in ~/.mindsync/orchestration.json. Modes: auto, suggest, off.
mindsync config orchestration.mode auto
mindsync-dispatch run auto "implement and test the fix" --capability coding
mindsync-dispatch status
Completed jobs keep their branch by default. To push a successful isolated job and open a pull request for review, enable it for that repository:
mindsync config onComplete pr --project .
MindSync never merges the pull request. It also declines to publish when a
requested check failed or did not report, private prompt framing cannot be
separated safely, commit hooks refuse the work, or changed paths look like
secrets. Use MINDSYNC_ON_COMPLETE=pr for a one-run override.
Custom worker:
mindsync register --name my-worker --bin my-cli --capability coding
Heavy tags (security, large-context, multimodal) need --confirm.
Roster and jobs: ~/.mindsync/dispatch/ (AGENT_DISPATCH_HOME overrides).
Memory
Dispatch memory defaults to auto in git checkouts (opaque git identity, never
a path or repo name). Failures warn; they do not fail the job.
mindsync memory stats
mindsync memory list --project my-repo
mindsync memory recall --project my-repo --query "database decision"
Nothing is pruned without --yes. See MCP tools on the server (get_sync_context,
delegate_task, job_wait, …) once a host is configured.
Optional remote sync
export MINDSYNC_SSH_HOST=my-server
export MINDSYNC_REMOTE_ROOT=/opt/mindsync
Worker loop and VPS scripts: examples/remote/.
Environment variables: .env.example.
Safety
- The human-facing CLI owns authorization and the final answer.
- Setup never executes a binary it cannot name.
- Existing MCP registrations are preserved unless
--force. - Local state uses crash-safe locks and atomic writes.
Runs with the current user's privileges. See SECURITY.md.
Development
python -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
python -m pip install -e ".[dev]"
python -m ruff check .
python -m pytest -q
Use the venv. sqlite-vec is a package dependency; a bare system Python will
fail the Tier 2 tests.
License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mindsync_ai-1.6.0.tar.gz.
File metadata
- Download URL: mindsync_ai-1.6.0.tar.gz
- Upload date:
- Size: 214.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ee94c131d2700f6a4411f6a798492542fe63d2d95f510c52aef87619c4d35a
|
|
| MD5 |
0f792b7557ea531e933d31e0943bef32
|
|
| BLAKE2b-256 |
cf7298369c5e028b411a327d23b39fb4b3194ed1bf1ee271c6fe5b9cee4d949f
|
Provenance
The following attestation bundles were made for mindsync_ai-1.6.0.tar.gz:
Publisher:
release.yml on adityarya24/mindsync-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mindsync_ai-1.6.0.tar.gz -
Subject digest:
42ee94c131d2700f6a4411f6a798492542fe63d2d95f510c52aef87619c4d35a - Sigstore transparency entry: 2628326416
- Sigstore integration time:
-
Permalink:
adityarya24/mindsync-ai@74ea48ed957b59b74577a8f323aaa2c1e9d20aad -
Branch / Tag:
refs/tags/v1.6.0 - Owner: https://github.com/adityarya24
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@74ea48ed957b59b74577a8f323aaa2c1e9d20aad -
Trigger Event:
push
-
Statement type:
File details
Details for the file mindsync_ai-1.6.0-py3-none-any.whl.
File metadata
- Download URL: mindsync_ai-1.6.0-py3-none-any.whl
- Upload date:
- Size: 146.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3f27522e7732879385baf198d343282ee414503bde3809875ebe51804f4d36b
|
|
| MD5 |
bfa369c397d805bf80fbf1bf9d181d46
|
|
| BLAKE2b-256 |
31e2db4933b74df7443c9fdd61a051f8248d6c14c1f87cb31acb6bc9d385c4e4
|
Provenance
The following attestation bundles were made for mindsync_ai-1.6.0-py3-none-any.whl:
Publisher:
release.yml on adityarya24/mindsync-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mindsync_ai-1.6.0-py3-none-any.whl -
Subject digest:
b3f27522e7732879385baf198d343282ee414503bde3809875ebe51804f4d36b - Sigstore transparency entry: 2628326439
- Sigstore integration time:
-
Permalink:
adityarya24/mindsync-ai@74ea48ed957b59b74577a8f323aaa2c1e9d20aad -
Branch / Tag:
refs/tags/v1.6.0 - Owner: https://github.com/adityarya24
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@74ea48ed957b59b74577a8f323aaa2c1e9d20aad -
Trigger Event:
push
-
Statement type: