← Back to all projects

Aider

Pair programming in the terminal, committing as it goes

OfficialApache-2.0
Stars
48.2k
Forks
4.8k
Open issues
1.8k
Last commit
22 May 2026

Overview

Every change lands as a git commit, which makes an AI edit exactly as reviewable and revertible as a colleague's. Its repository map lets it work on codebases far larger than a context window. Terminal-only by design — a strength if you live there, a non-starter if you want it inside an editor.

What can you do with Aider?

  • Undo an AI edit with gitAider commits every change with a generated message, so git diff and git revert work on its edits exactly as they do on a colleague's.
  • Ask for changes from your editorWatch mode picks up comments you add to your source files and starts working from them, so a request does not have to be typed at the aider prompt.
  • Fix its own lint failuresAider runs your linters and test suite after every change it makes and repairs the problems they report.
  • Give it a screenshot or a doc pageImages and web pages can be added to the chat, so a mockup, an error screenshot or a reference page becomes context for the edit.
  • Point it at any modelThe model is a flag — aider --model sonnet --api-key anthropic=KEY — and a copy/paste mode shuttles context and edits through a browser web chat for LLMs you have no API access to.

Documentation

Reproduced from the Aider-AI/aider README, published under Apache-2.0. Read the original ↗

Features

Cloud and local LLMs

Aider works best with Claude 3.7 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o, but can connect to almost any LLM, including local models.

Maps your codebase

Aider makes a map of your entire codebase, which helps it work well in larger projects.

100+ code languages

Aider works with most popular programming languages: python, javascript, rust, ruby, go, cpp, php, html, css, and dozens more.

Git integration

Aider automatically commits changes with sensible commit messages. Use familiar git tools to easily diff, manage and undo AI changes.

Use in your IDE

Use aider from within your favorite IDE or editor. Ask for changes by adding comments to your code and aider will get to work.

Images & web pages

Add images and web pages to the chat to provide visual context, screenshots, reference docs, etc.

Voice-to-code

Speak with aider about your code! Request new features, test cases or bug fixes using your voice and let aider implement the changes.

Linting & testing

Automatically lint and test your code every time aider makes changes. Aider can fix problems detected by your linters and test suites.

Copy/paste to web chat

Work with any LLM via its web chat interface. Aider streamlines copy/pasting code context and edits back and forth with a browser.

Getting Started

python -m pip install aider-install
aider-install

# Change directory into your codebase
cd /to/your/project

# DeepSeek
aider --model deepseek --api-key deepseek=<key>

# Claude 3.7 Sonnet
aider --model sonnet --api-key anthropic=<key>

# o3-mini
aider --model o3-mini --api-key openai=<key>

See the installation instructions and usage documentation for more details.

More Information

Documentation

Community & Resources

Kind Words From Users