💻
Freeopen-sourceterminalgitpair-programmingcli

Open-source AI pair programmer for your terminal — edit code in any git repo with Claude or GPT-4.

What is Aider?

Aider is an open-source AI pair programmer that lives in your terminal and works directly on a git repository. You run it in a project directory, tell it what you want changed, and it edits the files and commits the result, which means every change it makes is a reviewable diff rather than a block of text you paste somewhere. Working through git is the design decision that defines it: you can inspect, amend, or revert anything it did with the tools you already use. It connects to hosted models including Claude and GPT-4, so the quality of the assistance depends on the model you point it at and the API access you supply. Because it is a CLI, it composes with the rest of a terminal workflow and does not ask you to change editors to get AI help.

Who is Aider for?

Aider suits developers who already live in a terminal and do not want to move into a new IDE to get an assistant. It is a strong fit for targeted, well-scoped changes in an existing repo: renaming a concept across files, adding a function with tests, fixing a bug you can describe precisely. The git-native workflow makes it comfortable for people who are cautious about AI edits, since nothing arrives without a commit you can read and drop. It is also a sensible option when you want control over which model you use and what it costs. It fits less well if you want a graphical editing experience, inline autocomplete while typing, or a hosted agent that runs without your machine involved.

How does Aider compare?

Cline covers similar autonomous editing ground but lives inside VS Code, with approval gates in a graphical panel rather than a terminal prompt, which some people find easier to supervise. Opencode is the other terminal-first option in this category, so the choice between them comes down to workflow feel and model handling rather than capability class. Cursor is the largest departure: a full AI-native editor where the assistant is woven into typing, navigation, and multi-file chat, which is more comfortable day to day but means adopting the editor itself. Aider stays deliberately small. It does one loop well, keeps git as the source of truth, and leaves your tooling alone.

Compare with: Cline, Opencode, Cursor

Aider pricing

The catalog records Aider as free, and it is open source, so the software itself costs nothing and you can read exactly what it does. The cost that does exist sits with the models: Aider talks to hosted providers through your own API keys, so you pay those providers directly for the tokens you use. That arrangement is usually an advantage, since spend is transparent, attributable to real work, and stops entirely when you stop using it. There is no subscription tying you to the tool.

Notes

No notes have been added for this tool yet.

Aider FAQ

Does Aider require a git repository?
Git is central to how it works. Aider makes its edits as commits, which is what gives you a clean diff to review and an easy way to undo anything you dislike. Using it in a repo is the intended path, and it is also the safest way to let an assistant touch real code.
Which models can Aider use?
It works with hosted models including Claude and GPT-4, accessed with your own API keys. Because the tool is separate from the model, you can change providers as the landscape shifts without changing your workflow, which is a real advantage in a category where the leading model moves every few months.
Is Aider free?
The tool is free and open source. What you pay for is model usage, billed by whichever provider's API key you supply. For light or occasional editing that tends to be modest, and unlike a subscription it goes to zero during weeks when you do not use it at all.
Browse all Code & Dev