the-pair

Open-source AI pair programming desktop app: a read-only Mentor and an Executor agent cross-check each other's code to catch AI mistakes before they land. Bring

What is the-pair?

Open-source AI pair programming desktop app: a read-only Mentor and an Executor agent cross-check each other's code to catch AI mistakes before they land. Bring any model — Claude, GPT, Gemini, Kimi, GLM, Qwen or local Ollama. No agent CLI needed. macOS / Windows / Linux.

Overview of the-pair

What it is

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, supporting ten provider CLIs (opencode, Claude Code, Codex, Antigravity (Gemini), Kimi Code, Pi, Kiro, Aider, Grok Build, and Muse Code) plus local models via Ollama.

Key features

  • Dual-Agent Architecture — Separation of planning (Mentor) and execution (Executor)
  • Unified Pair Console — Conversation, timeline, terminal events, and activity in one scrollable feed
  • Cognitive Event Stream — Intent chips, reasoning steps, and tool call status surfaced per turn
  • Smart Coordination — Structured handoff prompts, quality gates, and smart-pause logic for healthier iterations
  • Real-Time Activity Tracking — Live status with stalled-activity detection after 60s of inactivity
  • Git Change Tracking — Detect modified/added/deleted files, with click-through unified diff viewer
  • Session Recovery — Resume interrupted sessions with full conversation history and turn state restored

Use cases

  • Autonomous coding sessions — Let AI agents iterate on features while you focus on review
  • Code refactoring — Automated analysis and implementation of improvements
  • Bug fixing — Agents collaborate to diagnose and resolve issues
  • Learning tool — Observe how AI agents break down and solve problems
  • Interrupted work recovery — Restore session state after app restart or crash

Getting started

See the repository README for installation and quick-start instructions.

License and pricing

Licensed under Apache-2.0. Open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/timwuhaotianthe-pair.svg)](https://yunodb.com/tools/timwuhaotianthe-pair?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/timwuhaotianthe-pair?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/timwuhaotianthe-pair.svg" alt="Featured on YunoDB" height="20"></a>