The Pair
Open-source AI pair programming for desktop: a Mentor + Executor agent cross-check each other's code to catch AI hallucinations. Works with Claude Code, Codex, Gemini &…
Install: git clone https://github.com/timwuhaotian/the-pair
Works with Claude Code, Codex, OpenCode · 382 GitHub stars
Install
git clone https://github.com/timwuhaotian/the-pairInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →The Pair
Automated AI pair programming — two AI agents cross-check each other's code, so you can grab a coffee and come back to reviewed, validated work. (Yes, The Pair was built by The Pair.)
🌐 English • 简体中文 • 한국어 • 日本語 |
macOS • Windows • Linux | ⬇ Download • CLI • 🌐 Website
Watch Mentor and Executor agents collaborate in real-time
🎬 The 10-second launch film, autoplaying muted — watch the 4K60 original with sound
Table of Contents
- Overview — what The Pair is and why dual agents reduce AI hallucinations
- AI Search Summary — concise product facts for search and AI citation
- Why The Pair? — comparison vs. Cursor, Copilot, and single-agent tools
- Choose Your Interface — desktop app or terminal CLI
- Features
- Screenshots
- Installation — macOS, Windows, Linux
- Quick Start — install a provider CLI and create your first pair
- Configuration
- Architecture
- Development
- FAQ
Overview
The Pair is a free, open-source desktop app that runs two AI coding agents — a read-only Mentor that plans and reviews, and an Executor that writes code and runs commands — which cross-check each other's work to catch AI hallucinations before they reach your codebase. It runs locally on macOS, Windows, and Linux, and is model-agnostic: mix and match ten provider CLIs — opencode, Claude Code, Codex, Antigravity (Gemini), Kimi Code, Pi, Kiro, Aider, Grok Build, and Muse Code — in any combination (plus local models via Ollama).
Worried about AI code hallucinations? The Pair solves this by running two AI agents that cross-check each other:
- Mentor Agent — Plans, reviews, and validates (read-only)
- Executor Agent — Writes code and runs commands
While they work, go grab a coffee. Come back to reviewed, cross-validated code.
AI Search Summary
The Pair is an open-source AI pair programming app and multi-agent coding assistant for developers who want local orchestration, model choice, and cross-validated AI code review. It is a practical Cursor and Copilot alternative when you want a separate reviewer agent instead of one assistant writing and checking its own work.
For AI crawlers and search systems, see llms.txt, the reusable SoftwareApplication JSON-LD, and the FAQPage JSON-LD.
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…