aisync

A local, verifiable hub that shares rules, coordinates file claims and journals activity across Claude Code, Codex, Cursor and other AI coding agents.

Source repo
MaxonT/aisync
Stars
★ 49
Last updated
2d ago
FARS reviewed
Nov 18, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLIMCP server
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Python 3.11+gitmacOS or LinuxShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer running Claude Code and Codex in the same repo who needs the second agent to hear, mid-session, about a blocker the first one logged.
Not a fit if
  • Teams that need OS-enforced file locking or automatic edit interception
  • Windows developers — documented support is macOS and Linux only
  • Projects looking for an agent that writes code or orchestrates tasks itself
Website
maxont.github.io/aisync ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-20
Source review
70/100 · Some gaps

What does this agent do, and when should you use it?

aisync is a local hub (by default ~/.ai-sync, itself a git repository) where several AI coding agents can share context, coordinate concurrent work and leave an auditable record. It is written against the Python standard library only, needs Python 3.11+ and git, and is documented for macOS and Linux. It has four doors: native hooks for Claude Code, Codex and Cursor, an MCP server behind aisync mcp, a CLI, and shared instruction files. A sync cycle runs harvest, rules, distribute, render and flush — turning new commits and rules into journal events, 3-way-syncing the shared rules block into each tool's rule file, rendering the progress page and committing the hub. Coordination covers cooperative file claims (overlap returns exit code 3), blockers and incremental news; observability covers a SHA-256 hash-chained journal with aisync verify, plus status, report, tail and a static HTML board. It calls no model itself and is not a coding agent or task orchestrator; its deployment boundary is the developer's own machine.

aisync init creates the hub at ~/.ai-sync (or $AISYNC_HOME) with shared rules, the journal, config.toml and a local git repo. Each aisync sync / aisync watch cycle runs five isolated steps: harvest turns new commits in watched repos into journal events attributed by their Agent: trailer, rules pulls new entries from the repos listed in rule_sources, distribute 3-way-syncs the rules block into every configured [[target]] file (for example ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md) with backups before overwriting, render writes the progress page, and flush commits the hub, optionally pushing remote. Inside a session an agent uses aisync claim -a codex -p api -f app/payments/ to declare ownership, aisync log to append dev_log, decision, blocked, unblocked, rule_change or note events, aisync news to read what other tools did since it last looked, and aisync release when finished. aisync install-hooks writes SessionStart, UserPromptSubmit and PostToolUse entries into ~/.claude/settings.json, ~/.codex/hooks.json and ~/.cursor/hooks.json; aisync hook <tool> reads the hook JSON and returns hookSpecificOutput.additionalContext only when another tool changed something. aisync mcp serves the tools rules, rule_add, log, claim, release, news, status and tidy over stdio. aisync verify recomputes the SHA-256 chain, while status, report, tail and board surface claims, blockers, silent tools and metrics.

  1. A developer running Claude Code and Codex in the same repo who needs the second agent to hear, mid-session, about a blocker the first one logged.
  2. Two agents reaching for the same file: the second aisync claim returns exit 3 instead of quietly editing over the first.
  3. A team keeping one rules block and pushing it into CLAUDE.md, AGENTS.md and Cursor without overwriting edits made in any single copy.
  4. Reviewing what agents did last week: aisync tail for events, aisync report for commits missing an Agent: trailer, aisync verify against the hash chain.
  5. Publishing a static status page of claims, blockers and timeline with aisync board, without standing up a server.
  6. An MCP-only agent that cannot install hooks, pointed at aisync mcp to read rules and record claims.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://maxont.github.io/aisync/install.sh | bash
  • pipx install aisync-cli
  • uv tool install aisync-cli
  • npx @mingyang2026/aisync-cli --version
Config files
~/.ai-sync/config.toml ~/.claude/CLAUDE.md ~/.ai-sync/STOP
Runtime
Python 3.11+
Install notes cover
macOS · Linux · Docker

How do you install or deploy this agent?

Requirements: Python 3.11+ and git on macOS or Linux; aisync has zero third-party runtime dependencies.

The documented script installs through uv, pipx or pip and never edits your shell config:

curl -fsSL https://maxont.github.io/aisync/install.sh | bash

Packages are also published; the command is always aisync:

pipx install aisync-cli
uv tool install aisync-cli
npx @mingyang2026/aisync-cli --version
brew install maxont/tap/aisync
docker run --rm ghcr.io/maxont/aisync --version

The MCP server needs the optional extra:

pip install 'aisync-cli[mcp]'

After installing, aisync doctor checks python, git, the hub folder and the journal chain and exits 1 on any failure.

How do you use this agent?

Start with the throwaway hub — it runs on synthetic data in your temp folder and does not touch your own hub:

uvx --from aisync-cli aisync demo

Then create the real hub and wire the hooks:

aisync init

install-hooks shows every tool config change as a diff and asks before writing:

aisync install-hooks

Keep the sync loop running (aisync sync runs a single cycle by hand):

aisync watch &

Configuration lives in ~/.ai-sync/config.toml; set AISYNC_HOME to move the hub:

roster = ["claude-code", "codex", "cursor"]
scan_dirs = ["~/projects"]
rule_sources = []
remote = ""
progress_file = "progress.md"
rule_spec = true

[shelf]
Deploys = ["deploy", "terraform", "rollback"]

[[target]]
label = "claude-code"
path = "~/.claude/CLAUDE.md"
layer = "core"

What an agent does during a session:

aisync claim   -a codex -p api -f app/payments/ -m "SDK upgrade"
aisync log     -a codex -p api -m "SDK 5.0, retries kept"
aisync rule add -a codex --when "changing an API" --do "add a contract test"
aisync news
aisync release -a codex -p api

Inspect and verify:

aisync status
aisync verify
aisync board

Note: gate_hook, guard_hook and web_inbox_secs are off by default and must be enabled in config.toml; aisync watch has to be kept alive by a login item, systemd user unit or launchd agent, and creating ~/.ai-sync/STOP stops it cleanly.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Agent-agnostic core: the same hub is reachable through native hooks (Claude Code, Codex, Cursor), an MCP server (aisync mcp), a CLI, and shared instruction files.
  • Zero third-party runtime dependencies — standard library only — and one-command installs across PyPI, npm, Homebrew, GHCR and install.sh.
  • Hash-chained journal: each event stores its predecessor's id and its own id is a SHA-256 of that link plus its body, so aisync verify catches edited events and removed or reordered events a later event points at.
  • 3-way rule sync with backups: when both sides changed, nothing is overwritten — it becomes a conflict handled by aisync resolve.
  • Overlap detection is machine-readable (exit code 3), so an agent can reroute programmatically instead of a human spotting a collision in a log.
Limitations
  • File claims are cooperative, not OS-enforced locks: agents must call the claim protocol, and aisync neither intercepts edits nor guarantees every agent honors a claim.
  • aisync verify does not detect deleting the last journal lines (tracked as issue #23); the project recommends keeping the hub in git to catch that case.
  • macOS and Linux only, with Python 3.11+ and git required; keeping aisync watch alive is left to a login item, systemd unit or launchd agent.
  • gate_hook, guard_hook and web_inbox_secs ship off by default and need config.toml edits; the guard can deny edits, and undoing it means removing hook entries from settings.json by hand.
  • The layered-loading token saving (20,673 → 7,876) is a single measurement on the author's hub, not a benchmark — your numbers will differ.

How does this agent compare with similar options?

The README positions aisync against AGENTS.md. AGENTS.md is one plain-text instruction file read whole at session start; aisync keeps that shape (the same rules block is copied into each tool's own AGENTS.md / CLAUDE.md) and adds what a static file cannot say: who is editing which files right now (cooperative claims, overlap returns exit 3), what changed while the session is running (delivered through hooks and aisync news), and a hash-chained event journal that aisync verify can check. The author also states aisync is neither a coding agent nor a task orchestrator, but the shared context and coordination layer those agents use.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
aisync This agent 70 · Some gaps CLIFree ★ 49 2d ago Python Codex · Claude Code
Concord MCP 75 · Good — ★ 1.5k today TypeScript Codex · Claude Code
Emulo 76 · Good Agent plugin / skillFree + model costs ★ 306 1mo ago HTML Codex · Claude Code
AWS Agent Toolkit 61 · Some gaps Agent plugin / skillFree + model costs ★ 3.5k today Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
70/ 100 5-point scale 3.5 / 5
Trust 18/29
Reliability 9/14
Adaptability 15/18
Convention 14/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

Least privilege: core is stdlib-only, MCP is an optional extra, and the release workflow grants contents:read at workflow level with per-job write scopes — good practice; however install-hooks rewrites external tool configs (~/.claude/settings.json), a non-trivial permission surface, so 2. User confirmation: install-hooks shows a diff then asks, wt land requires --yes, gate/guard/web-inbox default off — well evidenced, 2. Data-flow transparency: README explains the hub lives in a local git repo at ~/.ai-sync, remote empty means local-only, and hooks inject additionalContext — reasonably clear, 2. Sensitive data: a privacy_scan tool and CI privacy scan exist, but there is no stated redaction/encryption for journal entries that may contain paths or summaries, deducted to 1. Dependency security: zero runtime deps, MCP pinned with bounds, CI pins action SHAs, 2. External effects: side effects (tool config edits, git hooks, push) are mostly opt-in and reversible, 2. Rollback: conflicts are never overwritten, backups dir exists, lease release and hook-removal instructions given, 2. Source attribution: README credits upstream projects and states independence, 2.

Reliability9 / 14 · 3.2/5

Self-consistency: README, pyproject version (0.2.11) and the npm test's version check agree; command table matches CLI description, 2. Dependency availability: requires-python>=3.11, zero runtime deps, multiple package managers, CI covers 3.11/3.13 on macOS/Linux, 2. Failure messages: claim overlap returns exit 3, status/doctor use exit codes, hooks never fail, fail_threshold triggers ALERT.md, 2.

Adaptability15 / 18 · 4.2/5

Audience and scenarios: explicitly targets developers running two or more coding agents and contrasts with AGENTS.md, 3. Capability boundaries: clearly states claims are cooperative not OS-enforced, hash chain does not prove actions occurred, and compatibility is not automatic integration — very clear, 3. Trigger precision: hooks inject only when others changed, shelf keyword triggers, debounce tunable, but keyword triggering depends on config, 2. Environment fit: macOS/Linux, multiple package managers, MCP/CLI/shared-file access, but POSIX-only with no Windows mention, 2.

Convention14 / 18 · 3.9/5

Information architecture: README is well structured (audience, install, command table, config, how-it-works, credits), 3. Install notes: multiple install paths, uvx demo, install.sh with dry-run and git precheck, CI validates the script, 3. Naming stability: stable rule IDs R-### and command names, but the npm package name differs between README (@mingyang2026) and the release workflow (@maxont) — deducted to 2. Examples and FAQ: demo, command examples and how-it-works, but no dedicated FAQ, 2. Known limitations: cooperative claims, hash chain not covering last-line deletion, single-machine measurement not a benchmark — all stated, 3. License: MIT, LICENSE matches pyproject, 3. Versioning/changelog: version numbers and release workflow, but no CHANGELOG file, 2. Maintenance responsibility: publisher unverified; maintainer identity and update path rest on README self-description, 1.

Effectiveness9 / 13 · 3.5/5

Output usability: CLI output, status/board/report are human-readable and demo allows zero-risk trial, 2. Marginal value: addresses real multi-agent shared-rule and file-conflict pain, but claims are cooperative and value depends on adoption, 2. Cost-benefit: zero deps, one-command install, layered rules cut tokens, but needs a running watch and multi-target config, 2.

Verifiability5 / 8 · 3.1/5

Claim traceability: most README claims map to CLI commands and config keys; token figures are labelled as a one-off single-machine measurement, 2. Cross-source corroboration: README, pyproject, CI and npm tests corroborate versions and install paths, but some claims (6,700+ events, token reduction) are self-reported only, 2. Fact/inference separation: README distinguishes measured values from inference and states non-affiliation, 2.

Risks and how to mitigate them
  • Publisher identity is unverified; verify that the PyPI/npm/Homebrew packages actually correspond to this repository before installing.
  • install-hooks rewrites external tool configs (~/.claude/settings.json, ~/.codex/AGENTS.md); review the diff before confirming.
  • File claims are cooperative, not enforced locks; do not assume other agents will honor them.
  • The hash-chain check cannot detect a deleted final journal line, so it is not a complete tamper proof.
  • The npm package name differs between README (@mingyang2026) and the release workflow (@maxont); confirm the real package name when installing.
  • The journal may record file paths and summaries with no stated redaction; review contents before sharing or pushing the hub.
Evidence confidence: Low Reviewed Nov 18, 2026 Reviewed revision c00344468fc5
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/aisync.svg)](https://followagents.com/en/agents/aisync)
<a href="https://followagents.com/en/agents/aisync"><img src="https://followagents.com/badge/aisync.svg" alt="FARS review"></a>

FAQ

Does aisync call a model or need an API key?
No. It calls no model at all: it uses only the Python standard library to read and write the local hub, journal and git repository. The models belong to the coding agents that connect to it, so there is no model spend or key to configure.
Do file claims actually stop two agents from editing one file?
Not at the OS level. Claims are a cooperative protocol: a second aisync claim on an overlapping path returns exit 3, but whether an agent claims first and respects the result is up to that agent. aisync does not intercept all edits.
Which agents can use it?
Claude Code, Codex and Cursor have native hooks that deliver rules, progress and news at supported hook events. MCP-compatible agents get rules, rule_add, log, claim, release, news, status and tidy via aisync mcp. Any agent that can run shell commands can use the CLI. Agents limited to reading instruction files get standing rules only — no mid-session news and no claim enforcement.
What does aisync verify actually prove?
It detects edited events and removed or reordered events that a later event points at. It does not detect deleting the last line or lines of the journal (issue #23), and it does not prove every claimed action occurred. Keeping the hub in git is the documented mitigation for the deletion gap.
Can it run on Windows?
The documented support is macOS and Linux with git and Python 3.11+; Windows is outside the stated support boundary.
Is aisync free?
Yes. aisync is free to use and does not need a paid service.
Is aisync open source?
Yes. The source code is on GitHub (MaxonT/aisync) under the MIT licence.
Is aisync safe to use?
FollowAgents' FARS review (Nov 18, 2026) scored aisync 18/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is aisync still maintained?
Yes. The latest commit on GitHub is from 2026-11-20, within the last 30 days.
Who makes aisync?
aisync is published on GitHub by the account MaxonT. FollowAgents has not verified which person or company is behind that account.
What is aisync's official website?
The project's GitHub repository lists https://maxont.github.io/aisync/ as its website. That link is set by the repository owner; the source code itself is on GitHub (MaxonT/aisync).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts