010 Coding Collective

010 Coding Collective

What is Aider? The open-source AI pair programmer explained

Aider is an open-source AI tool for the terminal that works with almost any model and records every change as a git commit. What it is, what it costs and how it differs from OpenCode and Claude Code.

AI Aider Open Source AI-Assisted Coding Git OpenCode Claude Code Ollama Software Development

AI in your code, without losing control

A coding agent that works its way through your project on its own can change a lot at once. If you want to see every step, be able to roll it back, and choose which model reads your code, you need a tool that works smaller and tighter.

Pair programming in the terminal

Aider works one request at a time, only in the files you add, and records every change as a git commit with a clear message. It works with almost any model, local ones through Ollama included.

Every step visible, every step reversible

With Aider a developer keeps the overview: the git history shows exactly what the AI did, and /undo reverts the last change. Quality then depends on what you ask the tool and how well you review.

The short answer

Aider is an open-source AI tool for pair programming in the terminal. You start Aider in your project folder, add the files that matter and say in plain language what should change. Aider edits the code and records every change straight away as a git commit.

Aider was one of the first AI tools for the terminal and works with almost any model: from Anthropic, OpenAI, Google and DeepSeek to open models on your own machine. It is released under the Apache 2.0 license and has more than 50,000 stars on GitHub. These days Aider writes most of its own new code.

What Aider does

Aider works differently from an agent that roams your project on its own. You decide which files are in the conversation, and Aider handles one request at a time. That makes it smaller and more predictable.

1

Every change a commit

After each edit Aider makes a git commit describing what changed. /diff shows you the change and /undo reverts it. If you still have uncommitted work of your own, Aider commits that separately first.

2

A map of your project

With every request Aider sends along a compact map of your repository: the files, classes and functions, and what depends on what. That way the model knows how your code fits together, beyond the files you added.

3

Ask, build or plan first

In code mode Aider edits files. In ask mode it discusses your code without changing anything. In architect mode one model makes a plan and a second model writes the change. You switch with /code, /ask and /architect.

4

Tests and linting after each step

Aider runs a linter over the code after every change. /test runs your tests and has Aider try to fix the failures itself, and with the right setting that happens after every change.

5

From your own editor

With the --watch-files option Aider watches the comments in your code. Write a comment ending in AI! and Aider carries it out. End it in AI? and Aider answers the question. So you keep working in whatever editor you like.

Aider can also run a shell command with /run, pull a web page into the conversation with /web and take spoken instructions with /voice. What Aider does not do: explore your whole project on its own, hand work to subagents or connect tools through MCP. If that is what you need, a coding agent such as OpenCode or Claude Code is the better fit. What makes a tool like Aider an AI harness is covered in what is an AI harness.

Which models work with Aider?

Almost any. Aider works with Anthropic, OpenAI, Google Gemini, DeepSeek, OpenRouter, Amazon Bedrock, Azure and GitHub Copilot, and with local models through Ollama and LM Studio. You pass the model and your API key when you start it, for example aider --model sonnet --api-key anthropic=<key>.

You start a local model with aider --model ollama_chat/<model>. Your code then never leaves your machine. Aider sets a suitable context window for Ollama itself, but expect less from a small local model than from a large model in the cloud. More on working with local models is in the best AI harness for coding.

What does Aider cost?

Aider itself is free. You install it with Python and pay only for the model, with your own API key at the provider. There is no Aider subscription.

What you spend depends on the model and on how much you ask. Every request sends the added files and the map of your project, so add only what you need. Architect mode costs more, because two models work on the same change. If you want to pay nothing, you can work with a local model or a free model through OpenRouter.

Aider, OpenCode and Claude Code side by side

All three let you change code with AI in the terminal. The difference is in how independently they work and how you get to review the changes.

Aider OpenCode Claude Code
Made by An open-source project on GitHub. Anomaly, as an open-source project. Anthropic, the company behind Claude.
Models Almost any model, local ones too. From more than 200 providers, local ones too. Anthropic's Claude models.
How it works One request at a time, in the files you add. An agent that searches your project itself, with subagents. An agent that searches your project itself, with subagents.
Git Every change is a commit, automatically. You commit yourself, or ask the agent to. You commit yourself, or ask the agent to.
Conventions in A file you add with /read, such as CONVENTIONS.md AGENTS.md, and it also reads CLAUDE.md CLAUDE.md
Cost Free, you pay for the model. Free, you pay for the model. Works with ChatGPT or Copilot. Included in paid Claude plans, or pay per use through the API.

Pick Aider when you want to see and be able to undo every change, when you decide which files take part, or when you work with a local model. If you want an agent that takes on a bigger task by itself, OpenCode or Claude Code fit better. If you are torn between those two, OpenCode vs Claude Code lays out the differences.

How a senior team works with Aider

Aider does what you ask, in the files you give it. That is exactly its strength, as long as you set it up that way.

1

Only the files that matter

Add the files that need to change, and let the project map cover the rest. Too many files make every request more expensive and the answer less sharp.

2

Ask first, then code

Talk the approach through in ask mode and only then let Aider write the change in code mode. A mistake in the plan is cheaper than a mistake in the code.

3

Conventions in a fixed file

Put the project's conventions in CONVENTIONS.md and have Aider read that file every time through .aider.conf.yml. Any mistake that comes back twice becomes a rule.

4

Tests after every change

Set your test command so Aider tests after each step and sees a failure right away. You catch a broken change immediately rather than in review.

5

Review the commits

Because Aider commits everything, review gets easier: each step stands on its own in the history. Read them the way you read a colleague's work, and squash them before they reach the main branch.

Aider puts every step the AI takes into your git history. Whether that step is right is still your call.

Where Aider is a poor fit

Aider is made for developers who work in the terminal and can read code. If you want to build something without programming knowledge, a tool like Lovable is a better place to start.

If you would rather work in an editor with AI next to your code, Cursor fits better. And for a large task that spans many files, where the agent has to work out for itself what should change, a coding agent such as Claude Code or Codex is stronger.

Conclusion: AI with a git history

Aider is the AI tool for people who want to stay in control. It works one request at a time, with almost any model, and records every change as a commit, so you always see what happened and can roll it back. What produces good work is the same as with any AI tool: small tasks, clear conventions and a review by someone who knows where things go wrong.

🌿

Aider = control

An open-source tool that works one request at a time and records every step as a commit, with any model.

🧠

Senior developer = judgement

What you ask, which files take part and what gets through review. That is where quality lives.

Frequently Asked Questions

What is Aider?

Aider is an open-source AI tool for pair programming in the terminal. You add files from your project, say in plain language what should change, and Aider edits the code and records every change as a git commit. It works with almost any model, local ones included.

Is Aider free?

Yes, Aider itself is free and open source under the Apache 2.0 license. You pay only for the model, with your own API key at the provider. With a local model through Ollama you pay nothing for the model.

What is the difference between Aider and OpenCode?

Both are open source and work with models from many providers. Aider works one request at a time in the files you add and turns every change into a git commit. OpenCode is an agent that searches your project itself, with subagents, a desktop app and tool connections through MCP.

Does Aider work with local models?

Yes. You start Aider with a model from Ollama or LM Studio, for example with aider --model ollama_chat/<model>. Your code then never leaves your machine. A small local model handles well-scoped tasks fine, but delivers less than a large model in the cloud.

Can I undo a change Aider made?

Yes. Because Aider records every change as a separate git commit, /undo reverts the last one. /diff shows you what changed first. If you would rather commit yourself, turn automatic commits off with --no-auto-commits.

How do I install Aider?

With Python: first python -m pip install aider-install, then aider-install. Then start Aider in your project folder with the model and API key you want to use.

Build faster with AI without lowering the bar?

Our senior developers work with AI tools like Aider and coding agents every day. Bring them onto your project, or have your team learn to use them well in a workshop.

Let's discuss your project

From AI prototypes that need to be production-ready to strategic advice, code audits, or ongoing development support. We're happy to think along about the best approach, no strings attached.

010 Coding Collective free consultation
free

Free Consultation

In 1.5 hours we discuss your project, challenges and goals. Honest advice from senior developers, no sales pitch.

1.5 hours with senior developer(s)
Analysis of your current situation
Written summary afterwards
Concrete next steps