agent-bridge
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-bridgeStart Claude and Codex on separate worktrees for issues 42 and 43."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
curl -LsSf https://github.com/suneel944/agent-parley/releases/latest/download/install.sh | shhttps://github.com/user-attachments/assets/1de399fc-4078-49da-a4f9-116789bccb7d
Lanes keep moving without you. Idle lanes are woken, planned issues are dispatched, and a claim whose holder went silent moves to the fittest peer with its recovery checkpoint.
Plans change inside bounds you set. A lane proposes a change with
plan propose; it applies on its own only inside the plan's[revisions]envelope, and otherwise waits forplan approve.An optional run budget.
budget enforcecaps the tokens, calls or hours every lane spends together; once reached, nothing new starts untilbudget resume.Pull requests wake their lane. Finished checks, a new review or a merge conflict reach the owning lane as mail.
Unattended integration only by policy.
unattended setnames the issues and the target branch;unattended runmerges on the same gate asparticipant merge, and a failed integration holds every other merge until it is verified.Churn is caught per issue. An issue whose verification keeps failing is flagged in
issue show,problemsand a notification.Ownership stays explicit. Atomic claims, accepted handoffs, advisory reservations that name the blocking owner, and native hooks that refuse a branch switch before it runs.
Readable by people and scripts.
status,topandproblemsshow what needs you; the readers take--json, and a failure prints oneerrordocument.
See it
Every terminal frame in the launch video at the top is captured command output
from the shipped coordination path; only the native client is a stand-in, so
no model runs. It is re-cut with
docs/video.
make demo-stub records the full nine-chapter walkthrough with
scripts/record_demo.py;
make demo records real claude and codex sessions with
scripts/record_live.py.
agent-parley top reads like Linux top: three summary lines, one row per
lane with its state, issues, mail, leases, denials, idle time and last prompt,
and one note per problem under the table. Read-only, no model call, q quits.
A lane reads working while its session is alive and current, idle once its
activity passes the inactivity threshold, and stopped only when its session
process is gone: a quiet lane is not a lost one. Stopped lanes that hold
nothing are counted in the summary; top --all draws them.
Monitoring
covers the columns, keys, filters, problems, metrics and watch.
Related MCP server: coordinaut
Install
You need Git. No clone. The wheel needs no third-party runtime packages. One command installs everything on Linux, macOS and WSL2:
curl -LsSf https://github.com/suneel944/agent-parley/releases/latest/download/install.sh | shIt installs uv only when uv is missing, then
installs or upgrades agent-parley, adds the plugin to each of claude and
codex found on PATH with agent-parley plugins install, and runs
agent-parley doctor. It never uses sudo, and re-running it upgrades in place.
To install by hand instead:
macOS
brew install uv
uv tool install agent-parleyLinux, or Windows through WSL2
curl -LsSf https://astral.sh/uv/install.sh | sh
uv tool install agent-parleyNative Windows is not supported. On WSL2, keep the repository in the Linux
file system, not under /mnt/c.
To track the default branch instead of the latest release, run
uv tool install git+https://github.com/suneel944/agent-parley.
Then add the plugin to whichever CLI you drive: agent-parley plugins install
does it for each one on PATH, or run the commands yourself. One marketplace
serves both.
claude plugin marketplace add suneel944/agent-parley
claude plugin install agent-parley@agent-parleycodex plugin marketplace add suneel944/agent-parley
codex plugin add agent-parley@agent-parleyThe plugin carries only the coordinate skill, which teaches an agent to read
state, claim issues and hand work off. The launcher does the rest: worktrees,
the coordination service, and per-session MCP configuration and hooks. The
plugin without the launcher has nothing to coordinate through.
For a pinned, checksummed install, take a wheel from
Releases instead. Checking
install.sh against the release SHA256SUMS before it runs, shell
completion, upgrades and the supported platforms are in
Operations.
Run it
Not sure where to start? Run agent-parley with no arguments in the
repository. It reads, and writes nothing: whether this is a Git checkout and
whether it has uncommitted changes, whether the project is registered, which
of claude and codex are on PATH and whether each has the plugin, and
whether the coordination service is running. It then names the next one to
three commands for exactly that state, such as agent-parley plugins install,
agent-parley run claude or agent-parley top, or agent-parley demo when no
native CLI is installed.
Agent Parley coordinates native coding CLIs in one repository.
Found:
Here Git repository, clean
Project not registered
CLIs claude (plugin added), codex (plugin added)
Service not running
Next:
agent-parley run claude Register the repository and start a lane.
Full reference: agent-parley --helpFrom a committed, clean checkout, one terminal per agent:
# Terminal 1
agent-parley run claude
# Terminal 2
agent-parley run codexThat is the whole setup. The first run registers the repository, creates the
lane's worktree and branch, starts the coordination service and hands you the
native CLI. Prompt it as you always do. Another account or provider is one more
terminal. Each tab title names its lane, state and progress, such as
[codex] idle with claim #412 - 2/5 done; the supervision key titles turns
this off, and agent-parley title prints the same line for a Claude Code
status line.
Then watch the work, and steer a lane without taking over its terminal:
agent-parley status # this project's open work: issue, owner, state, PR
agent-parley top # every lane live, including what enforcement denied
agent-parley problems # only what needs you now, oldest first
agent-parley say claude-2 "Rebase onto main before you open the pull request."agent-parley --help prints the grouped command list; agent-parley version
prints the version and state directory. Single records read through show:
issue show 42, participant show claude-2, provider show claude,
credentials show work, and each of those, like status, top and
problems, accepts --json. The mail readers take
--as NAME, so you can open a lane's mail from the main checkout without
acknowledging or marking anything for it.
Mail never blocks work: it arrives as context, most relevant first. A tool call is refused only when it is unsafe now, such as a write to a path a peer reserved. Broadcasts reach only the lanes they concern, and a newer note on a topic replaces the older one.
When a lane's work is ready, integrate it from the base checkout, or send it for review:
agent-parley participant merge claude-2
agent-parley participant pr claude-2With pull_request.self_service on in the private project settings (off by
default), a lane opens its own pull request once it has reported ready, passed
the gate, stayed on its assigned branch and touched no peer's reservation.
Each such pull request records what authorized it. Merging stays an
operator step: participant merge, or unattended run for the issues a
recorded unattended policy lists.
Merged lanes are reclaimed by the service on its own; agent-parley gc runs
the same sweep on demand:
agent-parley gc # what would be reclaimed, and what is kept and why
agent-parley gc --apply # reclaim the lanes whose work has landed
agent-parley gc --apply --force # also dirty lane-made worktrees, checkpointedA lane is reclaimed only when it is idle, holds no claim, has nothing
uncommitted or unpushed, and its pull request merged or its branch is gone.
Every kept lane is reported with the reason. A worktree no lane made is never
touched, and uncommitted work is removed only with --force, after a recovery
checkpoint. A quiet lane-made worktree whose unpushed commits already landed
through another branch is removed without --force, its commits bundled into
a recovery checkpoint first.
A lane that crashed, hung or lost its host comes back with one command:
agent-parley participant restart claude-2A restart is refused while the session is alive and current; one silent past
inactive_after is ended first. The lane's claims go into a recovery
checkpoint, uncommitted work stays in place, and the new session starts in the
same worktree. After a host restart every lane reads stopped and restarts the
same way.
Running lanes covers bulk steering, pausing, merge plans, the pre-merge gate, approvals and lane setup.
What it enforces
Ownership moves only through claims, accepted handoffs and one recorded recovery path. A process exit moves no issue. A lane holds at most
max_claims_per_laneclaims, two by default.Choosing work is a reading, not a guess.
agent-parley issue nextranks the unclaimed, unblocked issues with a reason for each, and claims nothing.Native hooks decide before the tool runs. They block branch changes inside an assigned lane, catch drift after any bypass, and deliver bounded updates only when coordination state changes. A prompt you type is never refused; only a tool call is, naming the lane path to return to.
A stalled claim moves in steps. It gets one wake, then an offer to the fittest peer with its recovery checkpoint, then release to the pool. A claim whose pull request already ended is never moved;
agent-parley issue resolvecloses it with the forge evidence. Only the opt-in run budget gates: it stops new wakes, dispatch, retries and launches untilagent-parley budget resume.Reservations are advisory. Conflicts name the blocking owner and that owner's declared reason; nothing on disk is locked.
Mail stays private; a decision does not. A message marked as a decision, or recorded with
agent-parley decide, enters a project-wide log every lane can search, so settled questions stay settled.Your history stays yours. A commit, merge, tag or pull request that credits an assistant is denied before it lands. No flag skips the check.
A stale install says so before it costs a turn. Launcher, plugin, store and service each state a version; a mismatch is refused with the command that fixes it.
Coordination documents each rule with its commands and evidence.
How it fits together
flowchart TD
Repo[Your repository] --> Launcher[Agent Parley launcher]
Launcher --> Claude[Participant · own worktree]
Launcher --> Codex[Participant · own worktree]
Claude <-->|Sixteen scoped MCP tools| Server[Local coordination service]
Codex <-->|Sixteen scoped MCP tools| Server
Server --> DB[(SQLite WAL · mail and reservations)]
Claude --> Claims[Atomic issue claims and handoffs]
Codex --> Claims
DB --> Hooks[Native checkpoints · bounded updates]
Claims --> Hooks
Hooks -.-> Claude
Hooks -.-> CodexThe coordination engine is built in-house with Python's standard library. It has no runtime dependencies and makes no model calls. Your existing logins and permission settings still apply.
Notifications when you step away
Agent Parley can forward the moments that need you to a Telegram bot or an email address. Email is outbound only. The Telegram bot can also take status queries and decision answers back once inbound is on, as described in Asking for status from the chat. With inbound off, nothing arrives over the channel and a permission prompt is answered only in your terminal.
Thirteen changes notify, and nothing else: a handoff offered to a lane, a lane
blocked on a permission prompt, a lane held by a native dialog, a lane still
blocked past the escalation bound, a lane idle with no claim past
stalled_after, issues waiting on an idle claim, a dead lane's claims waiting
on your decision, a lane keeping a key refused to a peer past its deadline, an
issue that is not converging, the enforced run budget running out, a lane run
that finished, a hook refusal, and the inbound status path locking after
repeated wrong passcodes. An unchanged situation sends nothing further.
Sending never blocks a hook or tool call. Each of these situations, and each
operator problem agent-parley problems reports, is kept as a decision with
a stable identifier, its options and a recommended one. A decision is retried
with backoff on the next supervision poll until every transport accepts it, so
a send cut short by a hook exiting still arrives. Decisions due together go
out as one digest with one row of Telegram buttons each.
Store the Telegram settings once, and the service, hooks and lanes all read
them. The token is read from a hidden prompt, or from standard input when
piped, and is written owner-only to notify.json in the state directory;
add --inbound to also store the status passcode. Environment variables
still work and override a stored value for one process. agent-parley status, doctor and up say whether outbound and inbound are on, and why
not.
agent-parley notify setup --chat 123456789
agent-parley notify testVariable | Meaning |
| Comma-separated transports: |
| Bot token from BotFather. |
| Chat identifier the bot posts to. |
| SMTP server host. |
| SMTP port; defaults to 587, or 465 with implicit TLS. |
|
|
| SMTP user; omit for a server that needs no login. |
| SMTP password. |
| Sender address. |
| Comma-separated recipients. |
export AGENT_PARLEY_NOTIFY=telegram,email
agent-parley notify testnotify test sends one message per transport, prints each answer and exits 1
when any transport refuses. With inbound configured it also says whether the
running service is long polling Telegram.
Asking for status from the chat
The same Telegram bot takes two things back: status, with the filters
agent-parley status takes, and answers to decisions. Tap a decision's
button, send decide ID OPTION [NOTE], or reply to a one-decision message
with the option and a note. The answer is recorded once, the message is
edited to say who chose what and when, and the waiting lane gets it as mail
that wakes it. A second answer is refused with the first one's name. An
irreversible option needs a confirming tap. A note reaches the lane quoted,
never as an instruction. A native prompt holding a lane, such as a tool
permission or a question picker, arrives as a decision with the options the
screen draws; the launcher presses the chosen option only while that same
prompt is still on screen, and an option that widens a permission needs a
confirming tap. No other text is typed into a session. The service
long-polls the Bot API, so no port is opened and no webhook is registered.
Every typed message starts with a passcode, and both the passcode and the chat identifier must match. A button tap is accepted only from the configured chat and only for an open decision this state root issued:
hunter2-and-then-some status --pending
hunter2-and-then-some status codex
hunter2-and-then-some status --provider claude --issue 14
hunter2-and-then-some decide 3f9c2a1b7e40 decline wait for the rebaseVariable | Meaning |
|
|
| Passcode every message must start with; at least 12 characters. |
The bot token and chat identifier are the outbound ones above. A wrong chat or passcode gets silence, not a hint. Five wrong passcodes in ten minutes lock the inbound path for an hour and send one notification. Only a salted hash of the passcode is held, compared in constant time and never stored or logged. The accepted message is deleted from the chat when the bot has permission.
With the passcode unset or short, the reader refuses to start and
agent-parley status says so:
Inbound: AGENT_PARLEY_INBOUND_PASSCODE must be set and at least 12 characters;
inbound status queries are off.What it does not do
No sandbox. Worktrees and reservations are coordination boundaries, not OS isolation.
No silent merges. A lane integrates only through
participant merge, orunattended runfor an issue a recordedunattendedpolicy lists.No approvals on your behalf. Two opt-ins exist for
claudelanes:approve_bridge_toolsallows this project's own MCP tools and CLI, andauto_modestarts the client's own auto permission mode, whose classifier still decides each command.No unbounded wakes. Waking an idle lane for mail, pull request changes or authorized work has opt-outs, a bounded attempt count and the optional run budget.
readyis not done. A ready report means ready for review, not verified completion.No token-saving claims.
CONTEXTcounts the bytes coordination injects andTOKENSrepeats what the lane's client counted; neither is billed spend.
How it compares
Every tool below runs several coding agents at once, each in its own Git worktree. The difference is what happens between the worktrees. Each claim is taken from the project's own documentation, linked so you can check it.
Project | What its own documentation describes | What Agent Parley records instead |
A terminal manager for background sessions, each in its own worktree, over Claude Code, Codex, Aider and Amp. Isolation is the conflict answer: separate workspaces, "so no conflicts". | The same isolation, plus state the worktrees share: an atomic issue claim, an advisory reservation that names the blocking owner and reason, and a handoff that only moves ownership when a peer accepts it. | |
Parallel Claude Code and Codex sessions with diffs and test output in one window. The repository now points to its successor, Nimbalyst, and its README describes editor streaming and worktree isolation. | A record rather than a view: who holds which issue, which paths are reserved, what evidence a lane attached to a | |
A polished macOS app for running Claude Code in parallel worktrees. Closed source, macOS only. | A standard-library service with no runtime dependencies that runs on Linux, macOS and WSL2, drives Claude, Codex, Gemini, Amp, OpenCode and Copilot through their own CLIs, and keeps its coordination state outside your repository. | |
A task board in front of coding agents. Its vendor announced a shutdown in April 2026 and the project continues community-maintained and fully local. | Coordination in the agents' own path rather than a board in front of it: native hooks refuse a branch switch inside an assigned lane and catch drift after a bypass, which no board can see. |
None of them documents a searchable decision log shared by every lane, or a refusal to let an assistant sign your commits.
Conductor is the smoother macOS app, and a board reads faster at a glance. Pick Agent Parley when several agents share one repository and "who owns this, on what evidence" must be recorded, not remembered.
Documentation
Page | What it covers |
Launching, steering, pausing, merging, unattended integration, pull requests, gates and approvals. | |
Claims, handoffs, reservations, mail, hooks, deadlines, budgets and history. | |
| |
Which native CLI drives a lane, adapters, accounts and credential profiles. | |
Provider, account and participant; a second account of one provider, end to end. | |
The whole command surface, the MCP tools and the | |
The operator reference: install, platforms, run budgets, integration recovery, JSON errors, plugins and releases. | |
Module boundaries, protocol, persistence and stated limits. |
Contributing
Run make check before opening a PR: formatting, lint, typing, documentation
rules, package builds and tests. A minor or major release also needs
tests/test_fault_acceptance.py passing on the release commit.
Contributing · Architecture · Operations · Security · Code of Conduct · MIT license
Tried it? Questions, rough edges and setups worth showing are welcome in GitHub Discussions.
This server cannot be deployed
Maintenance
Related MCP Connectors
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
- SeturosOAuthcom.seturos
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
- ParleyOAuthdev.weldra
Coordination hub for AI coding agents: message teammates, ask humans, audit every event.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceShare context, detect file conflicts, and send messages across parallel Claude Code sessions88 npmMIT
- AlicenseNot gradedqualityCmaintenanceCoordinates parallel AI coding agents by providing task ownership, scoped file locks, handoffs, and verification workflows.MIT
- AlicenseNot gradedqualityAmaintenanceLocal coordination for coding agents that share a Git working tree.4 npm2MIT
- AlicenseNot gradedqualityBmaintenanceCoordinates parallel Claude Code agents on shared repositories and orchestrates multiple Claude subscriptions, enabling live session handoff, conflict detection, and remote terminal control.12 npmMIT