LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

AIclaude-codecodexcode-reviewai-agentsopen-sourcedeveloper-tools

cc-pair Has Claude Code and Codex Review Each Other's Code by Trading Numbered Files

Leon Lee's open-source pair command lets one AI coding agent write a change and the other review it, swapping requests, reviews and fixes as Markdown files in a shared folder until the reviewer approves or three rounds pass and both stop to ask you.

Chris Pirillo at a chessboard reading a postcard with the next move, a tray of outgoing and incoming postcards beside him
Illustration: LockerGnome

The setup works in either direction. Claude Code can write while Codex reviews, or the other way around, and the README calls the roles “symmetric.”

Each review is a thread of files. The author’s request lands as 001-request.md in a lane like claude-to-codex/, the reviewer answers in 002-review.md with a verdict, the author replies with fixes in 003-response.md, and so on. Every git worktree gets its own folder, so two branches don’t mix their reviews.

There are two ways to run it. In auto mode, on macOS or Linux, you type pair start --as claude in your own terminal and get “interactive Claude, automatic Codex reviewer”: each time Claude sends a request, pair starts Codex for one review round and hands the review back inline. Each round has a 900-second limit by default. In manual mode you open both agents in separate terminals and say “be my reviewer” to one of them. Codex in that mode is woken by pair’s MCP server instead of checking for new files on a timer, because “a polling pair wait costs a model call per check.”

The README ends on a real exchange, with a bug planted on purpose. In round 1, Codex flagged that totalPages(5, 2) returns 2 and wrote “Use Math.ceil(count / pageSize).” In round 2 it approved: “I re-read src/paginate.js and ran 41 assertions … All passed.”

The project went up October 7, 2026, is at version 0.7.4 on npm, and had three GitHub stars when we checked. The README doesn’t say how many tokens a typical three-round review costs on each side.

Tools like this turn two competing AI coding products into coworkers on the same branch. The design leans on files instead of a chat server, which keeps the record readable and the moving parts few. The open question is cost and time: every round starts or wakes a second agent, and the README has no figures yet for how much that adds to a day of work.

More AI

Every AI story →