Agents AI

Aider logo

Aider

AI pair programming in your terminal

Coding
Visit website
Free tierFrom FreePaul Gauthier / Aider-AIFounded 2023Reviewed Jul 2026
Read our hands-on review
Best AI Coding Agents in 2026: Top 10 Ranked & Compared

Our take

Our verdict

7.3/10

Open-source terminal AI coding agent with Git-native edits, repo mapping, and support for 100+ LLMs including local models.

Best for: Experienced developers who want a free, model-agnostic coding agent tightly integrated with Git and comfortable running everything from the command line

Overall score7.3/10
Capability8.0
Ease of use5.0
Value for money9.0
Reliability7.0
Support & docs7.0

Pros

  • Completely free and open source (Apache-2.0) — you pay only your own API provider costs, not a SaaS markup
  • Model-agnostic across all major providers plus local models via Ollama, and the most token-efficient of the major CLI agents (reportedly ~4x fewer tokens than Claude Code)
  • Deep Git integration: auto-commits every AI change with a descriptive message, making history auditable and reversible
  • Repo mapping intelligently selects relevant context rather than requiring you to manually dump whole files
  • Maintains its own public LLM leaderboard benchmarking real edit-format accuracy across models

Cons

  • Terminal-only with no GUI — a significant barrier for developers not comfortable in the CLI
  • Requires manual file selection for editing context; does not automatically navigate the codebase like IDE-native tools
  • Momentum has cooled: latest tagged release was v0.86.0 (Aug 2025) and the Polyglot leaderboard hasn't been refreshed since Nov 2025, trailing newer rivals like Claude Code, Cursor and Codex CLI
  • API costs with cloud models can reach $30–60/month at heavy use, making the 'free tool' framing partially misleading

Overview

Aider is a free, open-source command-line coding agent created in 2023 by Paul Gauthier (former VP Engineering at Geomagical Labs, former CTO at Groupon). It runs in your terminal alongside any local Git repository, builds a semantic map of your codebase, and uses a chosen large language model to write, edit, and commit code based on natural-language chat instructions. As of mid-2026, the GitHub repository has roughly 47,100 stars. It remains actively developed — the latest code push was in May 2026 — though the release cadence has clearly slowed from its 2024–2025 peak: the last tagged release is still v0.86.0 from August 2025, with no v0.87+ nearly a year on.

The tool itself costs nothing — Aider is Apache-2.0-licensed and installs via pip. Users pay only the API costs of whichever LLM provider they choose, or nothing at all if running local models via Ollama. Aider supports all major providers and maintains its own public benchmark (the Aider Polyglot leaderboard) that evaluates models on real edit-format accuracy across 225 exercises in six languages — a more practical signal than general reasoning benchmarks, though as of mid-2026 it hadn't been refreshed since November 2025 (where GPT-5 topped the chart at ~88%).

Aider's design is uncompromising: it is a terminal-first tool built for developers who live in the CLI. There is no web UI, no drag-and-drop, no IDE plugin. That focus produces a tight, token-efficient, model-agnostic workflow for its target audience but creates a real barrier for developers accustomed to graphical environments — and it is no longer the benchmark frontrunner it once was against IDE-native rivals like Claude Code, Cursor, and Codex CLI.

Key Benefits

  • Model agnosticism: Switch between Claude, GPT-5, DeepSeek, Gemini, Grok, or a locally run model in a single config change — no vendor lock-in.
  • Git-native edits: Every accepted AI change is immediately staged and committed with an auto-generated message, keeping history clean and every change reversible with standard git revert.
  • Repo mapping: Aider builds a graph of your repository's symbols and dependencies to identify relevant files automatically, avoiding the common failure mode of truncated or irrelevant context.
  • Self-healing test loop: After applying edits, Aider runs your test suite and linters, and if they fail it feeds the error output back to the model for another attempt — reducing manual back-and-forth.
  • Transparent benchmarking: The public leaderboard at aider.chat/docs/leaderboards lets users pick models based on real-world edit accuracy rather than marketing claims.

Use Cases

  1. Refactoring large codebases — Use repo mapping to safely scope refactors across many files without manually selecting context; Git integration makes each step auditable.
  2. Feature development from the CLI — Describe a feature in plain English; Aider drafts code, runs tests, and commits passing changes end-to-end without leaving the terminal.
  3. Bug fixing with test feedback — Paste a failing test or error message; Aider iterates against the test runner until the issue is resolved or surfaces a clear failure.
  4. Cost-sensitive AI coding — Teams or individuals who want AI coding assistance without a $20–200/month SaaS subscription can use Aider with cheap or local models.
  5. Model evaluation — Developers evaluating which LLM performs best on their codebase can swap models in Aider and compare output quality against the public leaderboard baseline.
Code Editing
CLI Tool
Open Source
Git Integration
Local LLMs

Features

  • Supports all major LLM providers: Claude, GPT-5, Gemini, DeepSeek, Grok, and local models via Ollama
  • Repo map builds a graph of the codebase to send relevant context without exhausting token limits
  • Git-native workflow: auto-stages and commits AI edits with generated messages after each successful change
  • Architect mode (a planning model paired with a separate editor model) and watch mode (AI! in-code comment triggers)
  • Automatic lint and test execution with self-healing: reruns and attempts to fix failures autonomously
  • Voice coding mode, plus image and URL input for visual context and inline documentation references
  • Public LLM leaderboard (aider.chat/docs/leaderboards) tracking edit-format accuracy across 225 polyglot exercises
  • Works inside existing local Git repositories with no cloud account required

Pricing

Free (Open Source)
$0/month
  • Full Aider CLI — no feature gating or paywalls
  • Bring your own API key (Claude, OpenAI, Gemini, DeepSeek, etc.)
  • Local model support via Ollama at zero incremental cost
  • All features included: repo map, Git integration, voice, image input
API Cost Reference (Cloud Models)
~$10–60/month
  • Cost depends entirely on model choice and usage volume
  • Light usage with Claude Sonnet or DeepSeek V3: roughly $5–15/month
  • Heavy use with frontier models (GPT-4o, Claude Opus): $30–60+/month
  • Local models via Ollama: $0 beyond hardware

Alternatives to Aider