Skip to main content

Aider

Terminal AI pair programmer with git integration and multi-file editing

Code / DevToolsFreeOpen sourceCoding Assistants

Aider is an open-source command-line AI coding tool that connects Claude, GPT, or any LLM to your local git repository. It makes code edits across multiple files based on your instructions, automatically creates git commits with descriptive messages, and maintains full context of your codebase.

Key specs
50,080 GitHub stars source
as of 2026-11-12

Maker of Aider? Get your db.fyi badge

What we know

PricingFreefrom our original listing, not yet re-checked

Skills matrix

SkillStatusDeliveryMaturityEvidence
Code generationPartialModel-dependentModel-limitedNot publicly documented
RefactoringPartialModel-dependentModel-limitedNot publicly documented
Multi-file reasoningPartialModel-dependentModel-limitedNot publicly documented
Test generationPartialModel-dependentModel-limitedNot publicly documented
Static analysis supportPartialModel-dependentModel-limitedNot publicly documented
Codebase indexingPartialModel-dependentModel-limitedNot publicly documented
Semantic retrievalPartialModel-dependentModel-limitedNot publicly documented
Memory retention across sessionsPartialModel-dependentModel-limitedNot publicly documented
Context injection controlPartialModel-dependentModel-limitedNot publicly documented
Inline editingPartialModel-dependentModel-limitedNot publicly documented
Chat-first interactionPartialModel-dependentModel-limitedNot publicly documented
File diff previewPartialModel-dependentModel-limitedNot publicly documented
Git integrationPartialModel-dependentModel-limitedNot publicly documented
Terminal / command executionPartialModel-dependentModel-limitedNot publicly documented
Model switchingPartialModel-dependentModel-limitedNot publicly documented
Multi-model orchestrationPartialModel-dependentModel-limitedNot publicly documented
Prompt augmentation layerPartialModel-dependentModel-limitedNot publicly documented
Agent loop executionPartialModel-dependentModel-limitedNot publicly documented
Local model supportPartialModel-dependentModel-limitedNot publicly documented
Offline capabilityPartialModel-dependentModel-limitedNot publicly documented
Enterprise policy controlPartialModel-dependentModel-limitedNot publicly documented

Why it matters

  • One of the highest-rated AI coding tools on its benchmark leaderboard — particularly strong for multi-file refactoring.
  • Automatic git commit after every change: creates a clean, reviewable history of all AI edits.
  • Works in your existing terminal and editor — no IDE switch, no subscription lock-in, bring your own LLM.
  • Repository map provides accurate codebase context for much larger projects than naive file-inclusion approaches.

Key capabilities

  • Multi-file editing: Edit multiple files in a single request — Aider coordinates changes across your entire codebase.
  • Automatic git commits: Every edit is committed to git with an AI-generated descriptive commit message.
  • Repository map: Compact codebase graph (imports, symbols, classes) keeps large repos within model context limits.
  • LLM flexibility: Works with Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, Groq, and local Ollama models.
  • In-chat commands: /add <file> to include files, /run to execute code, /test to run tests, /undo to revert last commit.
  • Code review mode: --review mode explains changes without applying them — good for reviewing AI suggestions.
  • Voice input: --voice mode for spoken instructions (experimental, requires microphone).
  • Watch mode: --watch monitors for AI comments in code (e.g., # AI: refactor this) and applies them.

Technical notes

  • License: Apache 2.0 — fully open source at github.com/paul-gauthier/aider
  • Install: pip install aider-chat; requires Python 3.8+
  • LLMs: Anthropic API, OpenAI API, Google Gemini API, Groq, Ollama (local), any OpenAI-compatible endpoint
  • Context: Repository map + explicitly added files; configures automatically based on project size
  • Benchmark: aider.chat/docs/leaderboards — tracks completion rates across 133+ coding exercises
  • Author: Created by Paul Gauthier; active open source project with weekly releases
  • Shell integration: Works in any terminal; no VS Code dependency

Ideal for

  • Developers who prefer command-line tools and want AI code editing without leaving the terminal.
  • Engineers doing large-scale refactors or cross-file changes that require consistent multi-file edits.
  • Power users who want precise control over LLM choice, context, and commit strategy.

Not ideal for

  • Beginners unfamiliar with git or the command line — Cursor or Lovable have more accessible UIs.
  • Teams who prefer visual code review of AI changes before they're committed.
  • Projects without version control — Aider's workflow centers on git; non-git directories require --no-git.

See also

  • Claude Code — Anthropic's official CLI coding agent, similar terminal-first approach.
  • Cline — VS Code extension-based AI agent for automated multi-step coding tasks.
  • Cursor — AI-native IDE with visual chat, inline editing, and multi-file agents.

FAQ

What is Aider?

Aider is an open-source command-line tool that lets you use LLMs (Claude, GPT, Gemini, etc.) to edit code in your local git repository. You run `aider` in your terminal, describe what you want, and Aider edits your files, runs tests if configured, and commits the changes to git — all with a single natural language prompt.

Is Aider free?

Aider itself is free and open source (Apache 2.0). You pay for whichever LLM API you connect it to. Using Claude Sonnet via the Anthropic API or GPT via OpenAI API are the most common setups. Cost depends on usage — typically a few cents per session for simple tasks, more for large refactors.

Which LLMs work best with Aider?

Aider publishes a leaderboard at aider.chat/docs/leaderboards. As of 2026, Claude perform best for complex multi-file edits. GPT is a strong alternative. Aider also works with Gemini, DeepSeek Coder, and local Ollama models, though quality varies.

How does Aider handle large codebases?

Aider uses repository maps — a compact representation of your codebase's structure (classes, functions, file relationships) that fits within the model's context window. You can explicitly add specific files to the session with `/add`, and Aider will suggest relevant files when it needs more context.

Competitive positioning

DimensionCursorGitHub CopilotClaude CodeContinueWindsurf
Multi-file editsYesYesYesYesYes
Context depthCodebase + @-mentionsRepo-awareLong contextConfigurableCodebase
Model switchingYes (OpenAI, Anthropic)LimitedAnthropicAny API / localCodeium
Local modelsNoNoNoYesNo
Git awarenessYesYesYesYesYes
Enterprise readinessPartial (Team/Business)YesVendor-dependentSelf-managedNot publicly confirmed

Compare directly: Cursor vs Aider, Claude Code vs Aider, Aider vs Continue, Aider vs Open Interpreter, plandex vs Aider, Aider vs mentat, Aider vs Goose coding and agents use cases.

Alternatives

Integrations

None listed.

Built on

None listed.

Good for these tasks

Listed 2026-02-28 · updated 2026-11-12