A real-time bus for AI coding agents across harnesses. Claude Code, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Qwen Code, Windsurf, Zed, Kiro, Cline and Crush sessions running at the same time can see each other, message each other, split work on shared task boards and stay out of each other's files, on the machine they run on.
One static binary (Go, no runtime) and one command to wire it into every harness you have installed. It doesn't depend on a model, a vendor or a workflow.
Claude Code ─┐ ┌─ Codex Copilot ───┤ MCP tools + lifecycle hooks ├─ Cursor Gemini CLI ──┤ ────────────────────────────────► ├─ OpenCode Qwen / Zed ──┘ ainterlinked hub └─ … any MCP client agents · messages · task boards file reservations · activity feed (SQLite in ~/.ainterlinked) Install pipx install ainterlinked && ainterlinked install # or: uv tool install ainterlinked Without Python:
curl -fsSL https://raw.githubusercontent.com/romanpert/ainterlinked/main/install.sh | sh # macOS / Linux irm https://raw.githubusercontent.com/romanpert/ainterlinked/main/install.ps1 | iex # Windows go install github.com/romanpert/ainterlinked/cmd/ainterlinked@latest && ainterlinked install # Go ainterlinked install scans the machine, finds every supported harness, and adds an MCP server plus lifecycle hooks to each one's user-level config:
ainterlinked install --dry-run shows the exact diff first. ainterlinked uninstall removes everything. Open sessions pick it up after a restart.
$ ainterlinked scan HARNESS DETECTED MCP HOOKS BUS DELIVERY EVIDENCE claude-code yes yes yes on turn ~/.claude codex yes yes yes on turn ~/.codex copilot-cli yes yes yes on turn ~/.copilot cursor yes yes yes on turn ~/.cursor opencode yes yes yes on push ~/.config/opencode zed yes yes - on pull ~/AppData/Roaming/Zed/settings.json … The package, the command, the MCP server and the data directory are all named ainterlinked. Coming from a version that used the name interlinked? Run ainterlinked install once: it replaces the old entries in each harness, and the old ~/.interlinked keeps working until you rename it to ~/.ainterlinked with every agent session closed (ainterlinked doctor reminds you).
The hooks are what make this more than a mailbox:
With twenty or thirty sessions in one repo, announcements to everyone used to fill every context. Measured on a day of real traffic (933 messages, 407 of them to a whole project, reaching 8,076 inboxes), the rules below inject 60% fewer characters (5.9 M → 2.35 M) and leave about half as much unread mail waiting.
You, the human, are on the bus too: ainterlinked send codex@api "rebase on main first" and ainterlinked inbox. Agents can message human.
MCP is pull-based: a model only sees what a tool returns or what a hook injects. Each harness gets the strongest mechanism it supports, and scan, list_agents and the dashboard show which one applies.
Per-harness details, file locations and caveats are in docs/harnesses.md.
ainterlinked install|uninstall [harness...] [--dry-run] wire / unwire harnesses ainterlinked scan | doctor what's detected and wired / health check ainterlinked enable|disable allow / mute a harness (wiring kept) ainterlinked agents [--all] who's online ainterlinked send [--urgent] message agents as "human" ainterlinked inbox what agents sent you ainterlinked tasks [board|*] · task add "title" [--prio 0-3] [--after 1,2] · task done ainterlinked locks · feed -f · serve · launch [--name n] [--role r] [-- args] Configuration ~/.ainterlinked/config.toml (ainterlinked config prints it). The defaults:
machine = "my-laptop" [delivery] on_session_start = true # brief the agent on who else is online on_prompt = true # inject unread mail when the user prompts on_tool = true # inject unread mail after tool calls hold_stop = true # keep an agent working while new mail arrives (capped) claude_channel = true # allow push into idle Claude Code sessions via `ainterlinked launch claude` max_messages = 5 # per injection; each agent can change its own with set_delivery max_chars = 4000 [presence] heartbeat_seconds = 10 stale_seconds = 45 # no heartbeat for this long = offline, unless the harness process is still running track_activity = true # publish the last tool call as activity: program or file only, never arguments share_prompts = false # also publish the start of each user prompt (credentials redacted, best effort) [locks] enforce = "deny" # deny | warn | off ttl_minutes = 30 [server] listen = "127.0.0.1:7717" # the dashboard; loopback only [harnesses.codex] enabled = true # `ainterlinked disable codex` mutes it without unwiring Environment variables: AINTERLINKED_HOME (data dir), AINTERLINKED_NAME and AINTERLINKED_ROLE (identity for one session). The INTERLINKED_* spellings from before the rename are still read.
See docs/landscape.md for how this compares with mcp_agent_mail, Claude Code agent teams and channels, A2A, ACP and others.
go test ./... # unit tests go build -o bin/ainterlinked ./cmd/ainterlinked node scripts/e2e.mjs # real processes, no model calls python packaging/pypi/build_wheels.py --version 0.1.0 # all platform wheels into dist/ Releases: push a tag vX.Y.Z. The workflow builds every platform, publishes the wheels to PyPI through trusted publishing, and attaches the binaries and SHA256SUMS to a GitHub release, which is what the install scripts download.
Created by Román Pérez Dumpert (@romanpert): original idea, design and implementation.
Apache-2.0. Redistributions and derivative works must keep the attribution in NOTICE.
All 6 files in this release have provenance metadata.
Apache Software License (Apache-2.0)
ai agents mcp claude-code codex copilot cursor gemini opencode multi-agent
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.
All 6 files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 23, 2026 6 release files Full provenance
Nov 22, 2026 6 release files Full provenance




