Silky Smooth Claude & Codex & Gemini Collaboration via Split-Pane Terminal
Build a real AI expert team. Give Claude Code / Codex / Gemini partners that never forget.
English | 中文
Introduction: Multi-model collaboration effectively avoids model bias, cognitive blind spots, and context limitations. However, MCP, Skills and other direct API approaches have many limitations. This project offers a new solution.
| Feature | Benefit |
|---|---|
| 🖥️ Visual & Controllable | Multiple AI models in split-pane CLI. See everything, control everything. |
| 🧠 Persistent Context | Each AI maintains its own memory. Close and resume anytime (-r flag). |
| 📉 Token Savings | Sends lightweight prompts instead of full file history. |
| 🪟 Native Workflow | Integrates directly into WezTerm (recommended) or tmux. No complex servers required. |
Step 1: Install WezTerm (native .exe for Windows)
Step 2: Choose installer based on your environment:
Linux / macOS
git clone https://github.com/bfly123/claude_code_bridge.git
cd claude_code_bridge
./install.sh installWSL (Windows Subsystem for Linux)
Use this if your Claude/Codex/Gemini runs in WSL.
# Run inside WSL terminal
git clone https://github.com/bfly123/claude_code_bridge.git
cd claude_code_bridge
./install.sh installWindows Native
Use this if your Claude/Codex/Gemini runs natively on Windows.
git clone https://github.com/bfly123/claude_code_bridge.git
cd claude_code_bridge
powershell -ExecutionPolicy Bypass -File .\install.ps1 installccb up codex # Start Codex
ccb up gemini # Start Gemini
ccb up codex gemini # Start both| Flag | Description | Example |
|---|---|---|
-r |
Resume previous session context | ccb up codex -r |
-a |
Auto-mode, skip permission prompts | ccb up codex -a |
-h |
Show help information | ccb -h |
-v |
Show version and check for updates | ccb -v |
ccb update # Update ccb to the latest versionOnce started, collaborate naturally. Claude will detect when to delegate tasks.
Common Scenarios:
- Code Review: "Have Codex review the changes in
main.py." - Second Opinion: "Ask Gemini for alternative implementation approaches."
- Pair Programming: "Codex writes the backend logic, I'll handle the frontend."
- Architecture: "Let Codex design the module structure first."
- Info Exchange: "Fetch 3 rounds of Codex conversation and summarize."
"Let Claude, Codex and Gemini play Dou Di Zhu (斗地主)! You deal the cards, everyone plays open hand!"
🃏 Claude (Landlord) vs 🎯 Codex + 💎 Gemini (Farmers)
Note: Manual commands (like
cask,cping) are usually invoked by Claude automatically. See Command Reference for details.
| Command | Description |
|---|---|
/cask <msg> |
Background mode: Submit task to Codex, free to continue other tasks (recommended) |
/cask-w <msg> |
Foreground mode: Submit task and wait for response, faster but blocking |
cpend [N] |
Fetch Codex conversation history, N controls rounds (default 1) |
cping |
Test Codex connectivity |
| Command | Description |
|---|---|
/gask <msg> |
Background mode: Submit task to Gemini |
/gask-w <msg> |
Foreground mode: Submit task and wait for response |
gpend [N] |
Fetch Gemini conversation history |
gping |
Test Gemini connectivity |
Combine with editors like Neovim for seamless code editing and multi-model review workflow. Edit in your favorite editor while AI assistants review and suggest improvements in real-time.
- Python 3.10+
- Terminal: WezTerm (Highly Recommended) or tmux
./install.sh uninstallWindows fully supported (WSL + Native via WezTerm)
