What it is
Aider is a terminal-native AI pair programmer. It runs in your shell, reads your repo, chats with you about the change you want, edits multiple files in one shot, and — this is the part that matters — commits each accepted change to git with a sensible message. It supports essentially every LLM you can point an API key at: GPT-5, Claude Opus/Sonnet, DeepSeek, Gemini, local models via Ollama or LiteLLM. It’s free, open source (Apache-2.0), and it has one of the most honest, measurable benchmarks in the AI-coding space: the Aider polyglot leaderboard on real-world tasks.
Who makes it and why it matters
Aider is an open-source project maintained primarily by Paul Gauthier and a small contributor community. No VC-bloated roadmap, no enterprise sales team — just a tool that does one thing well. It matters because it proved, early and publicly, that an LLM can write production-grade diffs across a real codebase when you give it the right edit format and a file-level map of the repo. Half the agentic-coding techniques people rave about now were demonstrated in Aider first, in the open, with reproducible numbers.
What it actually does
The workflow is: aider in your repo, tell it what you want, review the diff it applies, watch it commit. No browser, no IDE plugin, no modal dialogs. Two features deserve the spotlight.
Architect / editor mode. Run with --architect and Aider splits the job across two models: an architect model (big, expensive, great at reasoning — say Claude Opus) designs the change and describes it, while an editor model (cheaper, surgical — say DeepSeek or Sonnet) turns that plan into actual file edits. You get near-frontier reasoning at near-cheap prices, and frontier-model laziness stops leaking into your diff because the editor has tight instructions.
Git-native commits. Every accepted change becomes an individual, revertable commit. /undo reverts the last AI edit. If Aider makes a mess, git log shows you exactly what happened and when. For teams that review AI work like human work, this is the difference between “the AI touched my codebase” and “the AI opened twelve reviewable commits.”
pip install aider-chat
export OPENAI_API_KEY=sk-...
cd your-repo
aider --architect --model claude-opus-4-1 src/api.py
How it compares to Cursor and Copilot
vs Cursor. Cursor is the better graphical experience — tab autocomplete, inline edits, a polished agent. Aider is the better honest one. Aider doesn’t hide anything: you see the exact diff, the exact commit, the exact files touched. No shadow side panels editing files you didn’t approve. If you live in an editor all day, Cursor is smoother; if you live in a terminal, Aider feels like home.
vs GitHub Copilot. Copilot is ambient autocomplete plus a chat box; Aider is deliberate, task-scoped editing. They barely overlap. Plenty of people run Copilot for completions and Aider for the “implement this feature across six files” jobs. That’s not redundant, that’s division of labor.
Pricing and free tier
Aider is 100% free and open source. Your only cost is the LLM API you bring — and it works fine with cheap or local models. DeepSeek V3-class models cost pennies per session; a heavy architect-mode day with Opus might run a few dollars. There is no subscription, no seat license, no “pro” tier. This is the cheapest path to serious AI pair programming that exists, full stop.
Where it shines / where it doesn’t
Shines: refactors across many files, writing tests for existing code, terminal-centric workflows, git-heavy review cultures, agentic edits where you want a clean commit trail, and model-shopping via the leaderboard before you commit budget.
Doesn’t: casual browsing-style Q&A (it’s an editor, not a chat companion), people who hate the terminal, real-time autocomplete, and UI work where you need to see rendered output constantly. Also, big monorepos need --map-tokens tuning or Aider will guess the wrong files matter.
Getting started in 3 minutes
pip install aider-chat
export ANTHROPIC_API_KEY=sk-ant-...
aider --model sonnet
# then: "add retries with backoff to the http client"
# review diff > approve > auto-committed
That’s it. Wingman energy, zero dashboard.
PeaBox fit
Aider plus the PeaBox AI LLM Workbench is the honest benchmark loop: run architect and editor combos against your own repo tasks, see which pairing wins, then standardize on it in Prompt Library. Before merging Aider’s output, a pass through CodeProof-AI catches the “confident but subtly wrong” cases that diff review at midnight always misses.
Aider is what you reach for when you want the AI to do real work inside a real git history — no spectacle, no subscription, just diffs you can read and commits you can revert.