This page may contain affiliate links. We may earn a commission if you purchase through our links, at no extra cost to you. Learn more.

Aider

Open-source terminal AI pair programmer that works with your local git repo

4.4/5(0 reviews)

What is Aider?

Aider is an open-source AI pair programming tool that runs entirely in your terminal. You start Aider from the command line inside your git repository, add the files you want to work on to the context, and describe what you want done in natural language. Aider then generates the code changes, shows you a diff, and commits directly to git with an automatically generated commit message — making it feel less like using a chatbot and more like working with a fast, capable colleague who commits their own work.

The open-source nature of Aider is a significant advantage: there are no subscription fees, the code is auditable, and it supports any LLM you can access via API — OpenAI, Anthropic Claude, Google Gemini, local Ollama models, and many others. The tool is actively maintained with frequent releases and a strong community. Aider consistently ranks near the top of the SWE-bench coding benchmark when paired with frontier models, giving it credibility as a serious engineering tool rather than a demo project.

Aider's workflow centers on file context management. You explicitly add files to the context with /add commands, which keeps the LLM focused on the relevant code and reduces token waste. The voice input feature lets you dictate changes, which some developers find useful for describing complex refactors while keeping their hands free. Aider also supports a --watch mode that automatically picks up any AI-readable comments you add to files and implements them — an interesting workflow for developers who prefer to annotate code with intent and let the agent execute.

Key Features

  • Terminal-based AI pair programming with direct git commit integration
  • Support for OpenAI, Anthropic, Google Gemini, Ollama, and 50+ LLM providers
  • File context management with explicit add/drop workflow
  • Automatic git commits with AI-generated commit messages
  • Voice input for dictating code changes
  • Watch mode for implementing annotated code comments
  • Multi-file editing and refactoring
  • Web search integration for documentation lookup
  • Diff review before committing changes
  • Repo map for whole-codebase context awareness

Pros & Cons

Pros

  • Completely free and open-source — pay only for model API usage
  • Works with any LLM provider including local models for full privacy
  • Direct git integration makes workflow fast and version-controlled
  • Consistently high SWE-bench scores demonstrate real engineering capability

Cons

  • Terminal-only interface is a barrier for developers accustomed to GUI tools
  • Requires manual file context management to get best results
  • No built-in IDE — less suitable for quick inline completions
  • Setup requires API keys and some command-line familiarity

Pricing

Model: Free / Open Source

PlanPriceKey Limits
Open Source$0/moFree to use, pay only for model API usage
With Claude SonnetPer token~$3/M input, $15/M output — typical session costs $0.10-1.00
See Full Pricing

FAQ