Aider
★ 46.9k · GitHub →The original terminal AI pair programmer, built around git.
Install
$ pip install aider-chat What is Aider?
Aider is the original terminal-based AI pair programmer and remains one of the most focused tools in the category. Installed with pip and pointed at almost any LLM — Claude, GPT, DeepSeek, Gemini, or local models — it edits your code in a conversational loop. Its defining habit: every AI change lands as a proper git commit with a descriptive message, so reviewing, diffing, and undoing agent work is just normal git.
Under the hood it builds a repository map — a compact structural summary of your codebase — so the model understands large projects without stuffing every file into context. That map, plus carefully tuned edit formats per model, is why Aider punches above its weight on cost efficiency: it tends to burn fewer tokens per change than heavier agentic loops. Voice input, image/webpage context, and a watch mode that responds to AI comments you type in your own editor round out the workflow.
The honest framing in mid-2026: Aider is a pair programmer, not an autonomous agent. It shines at conversational, human-in-the-loop editing but doesn't run its own multi-step plans, spawn sandboxes, or manage long unattended tasks the way Claude Code or OpenHands do. Its release cadence has also slowed compared to the fast-moving newer agents, so weigh maturity and simplicity against a smaller stream of new capabilities.
Key capabilities
- ▸ Git-native: every AI edit is a clean commit — review, diff, and undo with plain git
- ▸ Repository map gives the model structural awareness of large codebases token-efficiently
- ▸ Works with almost any LLM, including DeepSeek and fully local models — often the cheapest option per change
- ▸ Watch mode: type an AI comment in your own editor and Aider picks it up and implements it
- ▸ Voice input plus image and web page context for multimodal prompting
When to use it
Pick Aider when you want tight human-in-the-loop editing with maximum model freedom and minimum token spend — it pairs especially well with cheap models like DeepSeek for everyday changes, and the git-commit-per-edit discipline is ideal if you review everything anyway. Don't pick it for long autonomous tasks, sandboxed execution, or MCP-heavy tool ecosystems: Claude Code, Cline, or OpenHands are built for that, while Aider deliberately stays a conversational pair programmer.
Alternatives
Frequently asked questions
Is Aider free, and which models does it work with?
Aider itself is free and Apache-2.0 open source; you only pay the API bill of whatever model you connect. It works with Claude, GPT-family, Gemini, DeepSeek, and almost any other hosted or local LLM. Pairing it with a low-cost model like DeepSeek makes it one of the cheapest ways to do AI-assisted editing.
How is Aider different from Claude Code?
Aider is a conversational pair programmer: you steer every step, and each edit becomes a git commit. Claude Code is a more autonomous agent that plans multi-step tasks, runs tests, and iterates on its own. Aider gives you more model choice and lower token costs; Claude Code handles bigger tasks with less supervision.
What is the aider repo map and why does it matter?
The repo map is a compressed structural index of your codebase — key files, classes, and function signatures — that Aider sends instead of raw file contents. It lets the model reason about large projects while keeping context small, which improves edit accuracy on big repos and meaningfully cuts per-request token costs.
Star count updated 2026-07-02 · refreshed weekly from the GitHub API · browse all tools →