← Back to all projects

Aider

Pair programming in the terminal, committing as it goes

OfficialApache-2.0
Stars
49.8k
Forks
5.1k
Open issues
1.9k
Last commit
22 May 2026

What is Aider?

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 git — Aider 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 editor — Watch 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 failures — Aider runs your linters and test suite after every change it makes and repairs the problems they report.
  • Give it a screenshot or a doc page — Images 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 model — The 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.

Before you choose Aider

  • Changing the model flag does not make every route equally solid. One popular option has been reported to return an empty reply now and then, and the built-in retry does not treat that as worth trying again.Reported in#4441

Star history

15 Aug to 30 Oct · +1.6k

48.2k49.8k

Frequently asked questions

Is Aider free for commercial use?

Aider is released under the Apache-2.0 licence — OSI-approved open source, which permits commercial use.

How can Aider be deployed?

Aider is available as Runs locally.