aider
Tool · Free
A terminal AI pair programmer that maps the repository and makes coordinated changes across files. Git integration, linters, and tests help control and roll back changes.
What you can use for free
The program is free under Apache-2.0; local models or a mode that transfers context to web chat can be used.
Paid features and costs
Cloud APIs are billed separately by the chosen provider.
Access and limitations
The program is free under Apache-2.0; local models or a mode that transfers context to web chat can be used. Cloud APIs are billed separately by the chosen provider.
Use cases
- Make a related change across several files
- Work with a local model and Git
Example workflow
A possible workflow; this is not a report of hands-on testing.
Example workflow with aider: Make a related change across several files.
Before you start
- A question about the code and the files relevant to its cause.
- The context size limit and information that must not be sent to an external model.
Steps
- For the task “Make a related change across several files”: select the smallest connected set of files: implementation, call sites, and relevant settings.
- Exclude secrets and unrelated material, then provide the context with a precise question.
- Check the answer against the original files; if information is missing, add only the necessary section.
Check your result
- The context includes the required dependencies; the answer refers to existing symbols and real files.
- Check selected files and transmission volume before contacting an external model.
Choosing aider
Make a related change across several files
Choose this when
- Make a related change across several files
- Work with a local model and Git
Consider alternatives when
- When choosing for this topic, compare aider with Gemini CLI. A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- When choosing for this topic, compare aider with OpenAI Codex CLI. A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Things to consider
- Costs and limits of free use: Cloud APIs are billed separately by the chosen provider.
- Terms of use: Apache-2.0.
- Works with an ordinary repository; when combining several agents, use sequential sessions or separate branches for changes.
- Running lint/test depends on the particular project's commands and tests, rather than a guarantee of AI correctness.
Frequently asked questions
What can you use for free in aider?
The program is free under Apache-2.0; local models or a mode that transfers context to web chat can be used.
What additional costs might arise with aider?
Cloud APIs are billed separately by the chosen provider.
What terms of use matter for aider?
Apache-2.0.
How do you get started with aider?
For the task “Make a related change across several files”: select the smallest connected set of files: implementation, call sites, and relevant settings. Exclude secrets and unrelated material, then provide the context with a precise question. Check the answer against the original files; if information is missing, add only the necessary section.
What should you consider when choosing aider?
A standalone CLI agent.
Can aider be used without a direct API connection?
The README describes a copy/paste workflow: aider prepares context and accepts edits through browser web chat. Another route uses a local model or cloud API. Git integration creates commits, while automatic lint/test runs project checks; web chat and model access are governed by their own terms.
Related tasks and approaches
- Gemini CLI
A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- OpenAI Codex CLI
A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- OpenCode
A candidate to compare under the topic: Terminal agents, Command line. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
License
Apache-2.0.
Apache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsUsage details
A standalone CLI agent working with an ordinary repository; when combining several agents, use sequential sessions or separate branches for changes.
Technologies and topics
- Git
- CLI