Repository navigation
Releases
agent-bridge 0.14.1
agent-bridge 0.14.1 makes relaying (new in 0.14.0) work when the machine that sends is a Mac.
agent-bridge update installs it by itself (this tag is signed with the release key pinned in .claude-plugin/release-signers). In a Claude Code session, run /reload-plugins afterwards. Homebrew: brew upgrade agent-bridge; Scoop: scoop update agent-bridge.
Fixed
macOS's regex library rejects a repeat count over 255, which Linux's accepts. On a Mac, three patterns matched nothing:
- Relaying (D3). A Mac never kept which peers another machine reaches, so it never handed a message on.
- Replicated logs (D2). The event signatures an exchange carried were dropped on a Mac client.
- Messages-only peers. A Mac peer refused every
locateandgetpath.
Each is now a plain repeat with a separate length check. The tests now fail on any such pattern.
See 0.14.0 for what 0.14 brings: relaying through a paired machine, an installer for any machine, Homebrew and Scoop, agent-bridge setup and uninstall.
agent-bridge 0.14.0
agent-bridge 0.14.0 relays messages through a third machine, and installs on any machine, with or without Claude Code. It was tested on macOS, Linux and Windows.
agent-bridge update installs it by itself (this tag is signed with the release key pinned in .claude-plugin/release-signers). In a Claude Code session, run /reload-plugins afterwards.
Highlights
- Relaying through a paired machine (D3). If A can't reach C but B can (a sleeping Mac, a VPN, one-way trust), A hands C's messages to B, and B delivers them in its next exchange with C.
- Each exchange tells the other side which peers its machine reached in the last 10 minutes. A uses B only after its own exchanges with C have failed for a while (120 s by default,
AGENT_BRIDGE_RELAY_AFTER). - A relayed message stays A's. It's signed with A's machine signing key, and C checks that signature against A's key, learned when A and C last had a direct link. B can't change or forge one.
- The hop limit is 2. A message that arrives both ways is taken once.
- Both clients (bash and PowerShell). Relaying needs 0.14 on all three machines.
- Each exchange tells the other side which peers its machine reached in the last 10 minutes. A uses B only after its own exchanges with C have failed for a while (120 s by default,
- An installer for any machine.
- macOS, Linux:
curl -fsSL https://cruxbitlabs.github.io/agent-bridge/install.sh | sh - Windows, in PowerShell 7:
irm https://cruxbitlabs.github.io/agent-bridge/install.ps1 | iex - It installs only a release whose tag is signed with the release key the installer pins, and checks it before changing anything.
- It needs no administrator. It never replaces a newer copy or a git clone you run.
- To check the installer itself:
SHA256SUMSbelow is signed with the release key (SHA256SUMS.sig), and the install guide says how to verify it.
- macOS, Linux:
- Homebrew and Scoop.
brew install cruxbitlabs/tap/agent-bridge, orscoop bucket add cruxbitlabs https://github.com/cruxbitlabs/scoop-bucketthenscoop install agent-bridge. They update it themselves. agent-bridge setup. It finds the agent CLIs on the machine (Claude Code, Codex, Gemini CLI, Grok Build, Antigravity) and asks once for each whether to wire agent-bridge in.--statusshows what's wired, and--forget <cli>asks again.agent-bridge uninstall. It lists, then takes back, everything setup and the installer put in place: each CLI's wiring, the command and its PATH entry, and the releases.- Your configuration, keys, mail and pairings stay unless you pass
--purge. --purgestops while you still have peers, so no key of theirs stays trusted.
- Your configuration, keys, mail and pairings stay unless you pass
- Pairing in a terminal shows its steps, the code and the other machine in a frame, in color.
Fixed
- PowerShell client: event signatures and the key sent with an exchange always use the machine signing key, also with mail queued. Before, a message's own key could take its place.
- Windows:
agent-bridge.cmdno longer prints "The batch file cannot be found" when an update or uninstall replaces it while it runs, and exit codes come through unchanged. - Windows:
install-cli --statuslists user PATH entries left by an agent-bridge that's gone, andinstall-cli --fixremoves those, and only those. - Several copies side by side (the plugin, an installer copy, a git clone): a session's hook points the command only at a copy as new or newer than the one it runs.
Upgrading
- From Claude Code: let its auto-update catch up, or run
agent-bridge update; then/reload-plugins. - Mixed versions keep working: relaying is used only when all three machines run 0.14.
agent-bridge 0.13.0
agent-bridge 0.13.0 starts the mesh: fewer connections, shared state that heals itself after a partition, large files, and agents started where no session is live. It was tested on macOS, Linux and Windows.
agent-bridge update installs it by itself (this tag is signed with the release key pinned in .claude-plugin/release-signers). In a Claude Code session, run /reload-plugins afterwards.
Highlights
- One long poll per peer (D1). One SSH call per peer now covers every mailbox this machine shares with it: all the projects plus the machine mailbox. Before, it was one per mailbox. This matters most on Windows, which can't share one login between calls.
- Replicated logs (D2). Task events and the project log sync between machines by digest: each exchange compares the logs and sends only what the other side lacks. After a partition heals, every machine folds the same state.
- Each machine signs the events it writes with its own key (
~/.ssh/agent_bridge_sign_ed25519). - An event that comes through a third machine is checked against its author's key.
- One whose bytes changed on the way is set aside in
relay-rejected/.
- Each machine signs the events it writes with its own key (
- Large files as git objects (D5). An attachment over the 256 KB cap travels as a git object, sent before its message.
read --outfetches it back. - An agent on demand (E3).
task new --runandjob --agent-cli claude|codexstart the peer's own Claude Code or Codex headless in a job worktree, in its normal permission mode.- The transcript stays on that machine, and the result comes back as a branch.
- Old mail packed by month (D4). Mail filed or sent more than 30 days ago goes into one file a month, with its bytes kept exactly so its signature still checks. This happens once a day by itself, or now with
archive --compact.read <id>still finds it.
Fixed
- Windows: agent-bridge no longer opens console windows when an agent runs it. Before, each call to ssh, pwsh, ssh-keygen or a job runner could open one.
- Windows peer: message signatures were made through a pipe that ssh-keygen never finished reading under an SSH login. Each message waited 15 s and then went unsigned.
- The task fold keeps the same copy of an id seen twice on every machine, whatever order the copies came in.
- Agent jobs that finished were killed by their own watchdog (exit 143 on Debian).
Next
Relaying through a third machine (D3) is designed (docs/protocol.md, "0.13: the mesh") and comes in the next release.
Upgrading
- From Claude Code: let its auto-update catch up, or run
agent-bridge update; then/reload-plugins. - Mixed versions keep working: a feature an older peer lacks is refused with what to update.
agent-bridge 0.12.0
agent-bridge 0.12.0 brings everything since 0.7.0: four releases' worth of work (0.8 to 0.12), tested together on macOS, Linux and Windows and between two real machines.
agent-bridge update installs it by itself (this tag is signed with the release key pinned in .claude-plugin/release-signers). In a Claude Code session, run /reload-plugins afterwards.
Highlights
Live messaging (0.12)
- A two-way Claude Code channel. The plugin's MCP server is also a channel: messages, task events and link changes arrive in the session as events, and the agent answers with the
replytool. Ten tools in all; none runs a command or answers a permission prompt. - Exactly one delivery path, chosen by itself: the channel in a session started with it, the monitors otherwise.
- Idle notices between machines:
notify-idle <session>sends one notice back when a session on another machine goes idle or ends. - A loop guard: repeated messages are dropped, and a thread past
inbox.max_chainwaits for the owner's next prompt. - Who sent it: the sending agent CLI and its permission mode travel with each message.
- Codex, Gemini CLI and Grok hear of new mail before each prompt (a pull hook; re-run
agent-bridge integrate <cli>).
Working together (0.12)
agent-bridge digest: what needs someone, one line each (urgent mail, blocked or waiting tasks, paused threads, held mail, sessions waiting for their owner).- The project log:
log add --kind decision|finding|warning|note, kept on every machine with the project. - Task order kept by itself: a task with
--afterwaits and goes once those are done;task showrolls up--parentsubtasks. - A task pool:
task new --pooloffers a task to every peer; the first claim gets it, and an assignee that goes quiet for its lease gives it back.pool.max_claimscaps what one session holds. - Roles:
msg @reviewerreaches every session started withAGENT_BRIDGE_ROLE=reviewer. - Overlap warnings: when sessions on two machines edit the same file, both are told (full links only).
- Capabilities: machines report their toolchains (cargo, go, node, dotnet, docker, python, xcode, nvidia, metal);
pick --hasandtask new --pool --needsuse them. - Feature negotiation: each side knows the other's version, and a feature an older peer lacks is refused with what to update.
Security and jobs (0.8 to 0.11)
- Signed messages and signed releases;
agent-bridge updateinstalls only verified release tags (0.9). - Pairing binds its tier (full, safe or messages-only), and the code differs per tier (0.9).
- Safe jobs: a third tier where a peer's jobs run in this machine's sandbox, with secrets redacted and an audit log (0.10).
- Long polls, one-way trust, a mailbox that can't be flooded, and the link reporting itself (0.8).
doctorreports what runs by itself; a threat model and the message's wire format are documented (0.11).
Fixed during the test round
- macOS: the bash client didn't parse under bash 3.2; jq 1.7 rejected the message builder.
- Linux: JSON escaping under mawk (Debian, Ubuntu).
- Windows peer: signed messages were read as empty.
- Bash: task commands exited silently when nothing was redacted;
integrate <cli>stopped before installing anything. - Messages-only links never got noted; a safe job couldn't find its worktree; a pushed message wasn't rate-limited; a peer coming back was reported only after a long poll.
Upgrading
- From Claude Code: let its auto-update catch up, or run
agent-bridge update; then/reload-plugins. - For Codex, Gemini CLI or Grok: run
agent-bridge integrate <cli>again to add the new pull hook. - Mixed fleets keep working: peers on older versions are told what to update when a new feature needs it.
The full docs are in docs/.