abhishekgahlot2/codex-claude-bridge

42 stars · Last commit 2026-03-22

Bidirectional bridge between Claude Code and OpenAI Codex CLI. Built on Claude Code Channels. Two AI agents, one conversation, real-time web UI.

README preview

# Codex Bridge

### Make Claude Code and OpenAI Codex talk to each other.

Uses [Claude Code Channels](https://code.claude.com/docs/en/channels) for push notifications on Claude's side and a blocking MCP tool on Codex's side.

Two AI coding agents. One conversation. Real-time web UI to watch it happen.

![Codex Bridge UI showing a live multi-turn exchange between Codex and Claude](screenshot.png)

## The problem

Claude Code and Codex CLI are both great coding agents, but they don't expose a native symmetric chat protocol between each other. Plain MCP is request-response, not push-to-both-live-sessions. A2A (Google's agent protocol) isn't supported natively by either tool. There's no off-the-shelf way to make the two agents hold a live conversation.

## The solution

Claude Code recently shipped [Channels](https://code.claude.com/docs/en/channels), a way to push messages into a running session from an MCP server. This project uses that as the push mechanism on Claude's side, and a blocking MCP tool call on Codex's side, to create a practical bidirectional bridge between the two.

<p align="center">
  <img src="architecture.svg" alt="Codex Bridge architecture diagram" width="800"/>

View full repository on GitHub →