One writes, one reviews.
Autonomous pair programming protocol for AI coding CLIs (Claude, Codex, OpenCode, Antigravity, Pi, OMP). Safe patch exchange up to verified PR with zero dependencies.
Single-writer isolation prevents conflicts between agents.
Single-Writer
Only one agent edits files at any given moment; the second strictly conducts review.
Sealed Patches
Changes are exchanged as immutable envelopes validated with SHA-256.
Atomic Locks
Atomic file locking ensures message queue integrity under concurrent calls.
Zero Dependencies
Pure standard-library Python — connects via stdio in any MCP client.
Connect to your CLIs in one minute.
Python 3.10+ & MCP stdio. Install via Homebrew, shell script, or download verified binaries directly from GitHub Releases.
Run install script
Installs the protocol and generates configs for AI CLIs.
curl -fsSL https://raw.githubusercontent.com/AVP-Dev/pair-mailbox/main/install.sh | sh Finalize and verify PR
Closes the pair programming round, verifies tests, and readies PR.
./finish.sh Important to know
Which AI CLIs are supported?
Ready profiles are included in cli-profiles.json for Claude Code, Codex, OpenCode, Antigravity, Pi, and Oh My Pi (OMP).
Is Russian documentation available?
Yes, README.md, README.ru.md, and docs/ with detailed protocol specifications are provided.