MCP Protocol stdio · JSON-RPC 2.0
Pair Mailbox

Pair Mailbox

Python · Zero dependencies

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.

Patch Exchange 01 / 03
mailbox/outbox/envelope-04.json
role: writer → sealed patch (2 files)
sha256: 9f84c201…e10b4a (verified)
lock: .pair-mailbox/writer.lock (atomic)
reviewer: approved · ready for finish.sh
01

Single-Writer

Only one agent edits files at any given moment; the second strictly conducts review.

02

Sealed Patches

Changes are exchanged as immutable envelopes validated with SHA-256.

03

Atomic Locks

Atomic file locking ensures message queue integrity under concurrent calls.

04

Zero Dependencies

Pure standard-library Python — connects via stdio in any MCP client.

Quick Start

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.

01

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
02

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.