Aider

An open-source AI pair programmer for the terminal that edits code in your Git repository.

Aider is an open-source command-line tool for AI pair programming. You run it inside a Git repository, add the files you want to work on, and describe changes in plain language. Aider asks a language model to edit the files, applies the changes directly and commits them to Git with descriptive messages.

It works with many models, including commercial APIs and local models, and it builds a compact map of the repository so the model understands the wider codebase without sending every file. Tight Git integration makes it easy to review, undo or squash changes. It can also run linters and tests after edits and ask the model to fix what fails, and it supports voice input and watching files for instructions written as code comments.

Aider suits developers comfortable in the terminal who want a transparent, scriptable assistant without switching editors. It requires your own API keys or local models, and costs depend on the model and how much context you send. There is no graphical interface, and as with any agent, changes should be reviewed before they are pushed.