Skip to main content
Aider icon

Aider

Pair program with language models from a terminal while working on a new or existing codebase.

Visit website
Aider screenshot

Introduction

What it is

Aider is a terminal pair programmer. You point it at a new project or an existing repository, talk to a model you connect yourself, and it edits the files. Git is how you see and undo what it did.

What it can do

Edit the repository you are already in. You change into the project and start Aider with a model and an API key. The homepage's examples are DeepSeek, Claude, and OpenAI. It says it works with those and with almost any LLM, including local models. The homepage names Claude 3.7 Sonnet, DeepSeek R1 and Chat V3, OpenAI o1, o3-mini, and GPT-4o as models it works well with.

Map the codebase before the edit. Aider builds a map of the repository so a change can land in a larger project. The FAQ says it will run in a large repo, and that adding files you do not need to change raises the token cost. The practical instruction there is to add the files that will actually be modified.

Commit the change so it can be reviewed. Aider commits with a message. You then use ordinary git to diff, manage, or undo the AI edits.

Check the result with your own tools. It can lint and test after a change and try to fix what your linter or test suite reports. You can also add images, web pages, or voice to the chat. From an editor, the homepage says you can leave a comment in the code and have Aider pick it up.

Who it's for

Someone who already has a checkout and a model API key, and who wants the edits to arrive as git commits. The install path on the homepage is a local Python install, not a hosted seat.

Where you use it

The terminal, inside the project directory. The homepage also says it can be used from an IDE. The docs navigation lists Docker, GitHub Codespaces, and Replit as other ways to run it. The browser path on the homepage is copy and paste with a web chat, for when you are not using an API.

Pricing

The homepage and the FAQ do not list an Aider subscription. You bring an API key, and the model provider bills the tokens. The FAQ says adding extra files increases that token cost. The install shown is python -m pip install aider-install, then aider-install.

Questions

Do you have to add the whole repo to the chat? The FAQ says you can, including with a wildcard or a directory, and that extra files raise token cost. It recommends adding the files that need to change.

Which models does the homepage name? Claude 3.7 Sonnet, DeepSeek R1 and Chat V3, OpenAI o1, o3-mini, and GPT-4o, plus local models and other APIs through your own key.

Back to tools

Related tools

Continue website preview

Continue

continue.dev

Open-source coding assistant for the editor.

CodeRabbit website preview

CodeRabbit

coderabbit.ai

AI review comments on pull requests.