raysonmeng / agent-bridge
A local bridge for bidirectional collaboration between Claude Code and Codex. 连接 Claude Code 与 Codex 的本地实时协作桥接工具。
Why this job: topics: mcp-server, model-context-protocol, mcp

What it does
- Bidirectional Claude ↔ Codex messaging in one working session — the daemon intercepts Codex output and pushes it to Claude as channel notifications; Claude replies via the reply MCP tool, and the bridge injects the reply into the Codex thre
- Push delivery with fallback. messages arrive as channel notifications; a failed push falls back to an in-memory queue drained by get_messages. Loop prevention via the per-message source field.
- Turn coordination. a busy-guard rejects replies during an active Codex turn; a per-turn inactivity watchdog stops a lost turn/completed from locking injection forever; noisy intermediate events are collapsed so only meaningful agentMessage
- Multiple pairs side by side. one Claude+Codex pair per project directory, ports allocated per pair in +10 strides from 4500. Pair-aware claude / codex / resume / kill / doctor / budget via --pair.
- Resilient lifecycle. a persistent background daemon survives Claude Code restarts (auto-reconnect with backoff); orphan-process cleanup; abg doctor read-only diagnostics; abg pairs prune reclaims stranded state.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 58 days ago
- Stars
- 427
- +8 this week
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v0.1.31
- Released 58 days ago
- Built with
- TypeScript
- 91% of the code
Is it looked after?
- Contributors
- 1
- Last 90 days
- Issues
- 67% closed
- 17 still open
- Pull requests
- 149 merged
- 35 waiting
- Releases
- 31
- 30+ in the last year
More: languages, topics and project record
Languages
- TypeScript 91%
- HTML 5%
- JavaScript 3%
- Shell 1%
Topics
- agent-collaboration
- claude-code
- cli
- codex
- developer-tools
- local-first
- mcp
- model-context-protocol
- multi-agent
- ai
- anthropic
- bun
Project record
- JobMCP servers
- StatusListed
- Commits193
- Forks69
- Watching4
- Stars in 28 days+44
- CreatedMar 20, 2026
- First seen by usNov 7, 2026
- CheckedNov 9, 2026
