← Back to directory
A

AgentBridge

Community
Connect Claude Code and Codex for live local collaboration.
Category
Collaboration #60 of 83
Stars
★ 442 Very popular
Transport
stdio (local process)
Runtime
Bun 1.3.11+ · Node.js
Credentials
No credential needed
License
MIT
Last commit
Tools
1
47FMRS · D

The README describes a local bidirectional messaging bridge for Claude Code and Codex, its CLI setup, and its default permission behavior. The server manifest was not cached, so the complete MCP tool list and a generic client configuration cannot be confirmed.

Strongest · Documentation 13/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
7/20
Maintenance
8/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 7/20
The README describes the MCP channel, daemon, message routing, busy guard, reconnect behavior, and diagnostic commands, making the happy path plausible. The manifest is not cached, so tool declarations cannot be checked against implementation, and no reviewable CI workflow or key-path test evidence is provided. The score is conservative under the static calibration.
Security and permissions 7/20
The README explicitly says the default launch uses Claude's --dangerously-skip-permissions and Codex's --yolo, allowing commands and file edits without prompts. It offers --safe and advises using the defaults only in a trusted workspace; the project also says it is not a security boundary. These risks are disclosed, but the default permissions are broad and credential handling and implementation-level data flows cannot be verified. The supplied evidence does not establish a red line.
Maintenance 8/20
The object metadata lists an MIT license and says the repository is not archived; the README describes update notifications and provides maintenance documentation. Verifiable release history, commit activity, issue response, and a security response channel are absent. Stars and open issue count do not add points.
Documentation 13/20
The README covers prerequisites, installation, CLI usage, configuration, architecture and data flow, limitations, troubleshooting, and experimental features. Deductions reflect the absence of a complete MCP tool parameter and error contract, limited credential-handling and cost details, and no implementation evidence to verify the documented claims.
Setup experience 12/20
The README gives steps for installing Bun and the package, initializing the project, and starting Claude and Codex. It also documents a manual plugin-install fallback and a safe mode. Deductions reflect the need for Bun, two separate clients, and plugin configuration, lack of official Windows support, and the absence of a cached manifest or client configuration files to verify the install path statically.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Developers who want Claude Code and Codex to exchange messages in a local project.
  • Users able to install and run Bun, Claude Code, and Codex CLI.

Not for

  • Teams seeking a hosted or multi-tenant service.
  • General orchestration across arbitrary agent backends.
  • Environments requiring a strong security boundary between untrusted tools.

Required permissions

  • By default, abg claude uses --dangerously-skip-permissions and abg codex uses --yolo, allowing agents to run commands and edit files without prompting for each action.
  • The bridge runs locally and uses local ports to connect Claude Code, its daemon, and the Codex app-server.
  • Use --safe or set AGENTBRIDGE_SAFE=1 to launch with normal permission prompts.

Risks and side effects

  • Default launch flags allow agents to execute commands and modify files without prompts; use only in a trusted workspace.
  • The project says it is not a security boundary, and its cross-network collaboration layer is marked experimental.
  • Automatic quota resume depends on a companion guard; Claude-side resume is best-effort.

Setup

Before you start

Runtime:Bun 1.3.11+ · Node.js

Other optional settings (13)
CODEX_WS_PORT optional Sets the Codex app-server WebSocket port; defaults to 4500.
CODEX_PROXY_PORT optional Sets the bridge proxy port used by the Codex TUI; defaults to 4501.
AGENTBRIDGE_CONTROL_PORT optional Sets the control port between bridge.ts and daemon.ts; defaults to 4502.
AGENTBRIDGE_LIVENESS_PROBE_TIMEOUT_MS optional Sets the maximum wait for the incumbent Claude session to respond during contention; defaults to 3000 ms.
AGENTBRIDGE_TURN_WATCHDOG_MS optional Sets the per-turn inactivity watchdog timeout; defaults to 300000 ms.
AGENTBRIDGE_CODEX_TRANSPORT optional Selects how the daemon connects to the Codex app-server: auto, ws, or unix; defaults to auto.
AGENTBRIDGE_STATE_DIR optional Sets the directory for pid, status, and logs; defaults to the platform-specific directory.
AGENTBRIDGE_DAEMON_ENTRY optional Overrides the daemon entry point; defaults to ./daemon.ts.
NO_UPDATE_NOTIFIER optional Set to any value to disable the update notice.
AGENTBRIDGE_NO_UPDATE_NOTIFIER optional Set to any value to disable the update notice, with the same effect as NO_UPDATE_NOTIFIER.
AGENTBRIDGE_UPDATE_PROMPT optional Set to 0 to disable the interactive update prompt and keep notice-only behavior.
AGENTBRIDGE_UPDATE_CHECK_INTERVAL_MS optional Sets the npm version check interval; defaults to 86400000 ms.
AGENTBRIDGE_SAFE optional Set to 1 to launch Claude Code and Codex with normal permission prompts.

Requires Bun, Claude Code, and Codex CLI. Install Bun, install @raysonmeng/agentbridge globally with npm, and run abg init in the project directory. Then run abg claude and, in another terminal, abg codex. The install process may register the Claude Code plugin automatically; if it does not, add the raysonmeng/agent-bridge marketplace and install the agentbridge plugin from Claude Code. The README provides no server manifest or direct configuration example for generic MCP clients.

Check that it works

Start AgentBridge and connect Claude Code and Codex. Confirm `reply` appears in the client tool list, then use it to send a message and verify that it reaches the Codex session.

Troubleshooting

  1. Confirm Bun is installed; Node.js alone cannot run the AgentBridge daemon and plugin server.
  2. Run abg doctor for read-only checks of the environment, daemon health, build state, and logs.
  3. If automatic plugin registration did not complete, add the marketplace and install the plugin in Claude Code, then reload plugins.
  4. Consult the project's Troubleshooting documentation for bridge state, Codex .git issues, and version requirements.

Things to try

Once connected, you can ask your AI assistant things like:

  • Send my latest message from Claude Code to Codex.
  • Ask Codex to review the current changes and send its findings back to Claude Code.
  • While Codex is working, ask it to check the result it just produced.

Tools 1

reply writes
Sends a reply from Claude Code to the Codex session.

Use cases

Have Codex implement a task while Claude Code reviews changes and sends requests in the same session.
Let the two agents negotiate a task split and work on their respective parts.
Continue long tasks across subscription quota windows after installing the companion quota guard.

Supported clients

Claude Code
Codex

Listed from the project's documentation, not tested by this site.

Overview

AgentBridge is a local bridge connecting Claude Code and Codex in the same working session. It forwards messages bidirectionally through an MCP channel and the Codex app-server protocol, supporting cross-review, task splitting, and task handoff across quota windows. Message passing does not merge the agents' full contexts. The project describes itself as an experimental human-in-the-loop collaboration tool, not a hosted service or general-purpose agent orchestration framework.

Similar servers

Source revision 0244dfa2d6df Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/agent-bridge.svg)](https://followmcp.com/en/servers/agent-bridge)