Aider

Free 👁 275

Aider is a command-line AI coding assistant that edits files in a Git repository using compatible local or remote language models.

Quick actions
🚀 Visit Aider

Aider runs in a terminal from a project's working directory. Users describe changes in natural language and select the files made available to the model. The assistant proposes and applies edits, using a repository map to provide structural context. Unlike a browser-only conversation, it works directly with project files. Git integration enables developers to inspect differences, track commits and revert changes. Chat commands let users select models, manage files and request explanations before editing code.

Aider supports multiple model providers and can work with some local models through Ollama. A model's ability to produce reliable edits is important; using a local model does not necessarily disable every other connection. Project-specific conventions can guide coding style and architecture. For a PHP application, a developer could restrict a task to a controller and its tests, request a parameterised PDO query, then review the diff. Exclude secrets, isolate changes on a branch and run tests before releasing to production. Repository context is useful but does not guarantee the model has understood every dependency or business rule. A small, reproducible task is easier to verify than a general request to improve the entire application.

A PHP form bug illustrates how Aider can fit into an existing development process. Describe the observed behaviour, relevant inputs, expected result and compatibility requirements. Provide the files responsible for the form, validation and related tests instead of including the entire hosting configuration. A coding-conventions document can specify that the project uses PDO, prepared statements and existing routes, and that no new framework should be introduced. A bounded request reduces the risk of replacing working parts of the application. Include a small reproducible example of the defect, but remove real customer records and credentials from the material sent to the model.

Aider's documentation describes chat modes, commands for managing context and files, and support for linting and testing. A diagnostic session can begin with a question about how the code behaves rather than an immediate edit request. Once the likely cause is understood, request a narrowly scoped change and inspect the Git diff. Add a regression test if the existing suite did not cover the bug. A patch that removes one symptom is not sufficient if it breaks another branch of the workflow. For a multilingual application, explicitly test empty strings, accented characters and missing translations when the change affects text handling.

Overview

Understanding Aider

How to use it?

  1. Install Aider using official instructions and open a Git repository.
  2. Choose a compatible model and store credentials outside the repository.
  3. Create a dedicated branch and check working-tree status.
  4. Add relevant files and describe project conventions.
  5. Specify a small change and acceptance criteria.
  6. Review the diff and run appropriate tests and analysis.
  7. Accept the commit or revert unsatisfactory changes.

Detailed analysis

Aider suits developers who want to retain their terminal and version control workflow. Inspectable, limited changes can make review easier when tasks are scoped properly. In an existing project, start with a reproducible fix rather than a general rewrite. The assistant cannot replace tests or knowledge of business logic. Keep generated commits separate from manual work and verify which files are sent to the chosen model provider. Review dependency changes as carefully as source code, especially when a suggested package introduces network access or broader permissions.

Repository context is not just a question of size. Cross-file changes require an understanding of interfaces, dependencies and local conventions. Model-generated code can be syntactically valid while introducing a functional regression or weakening an access control. Work on a dedicated branch, review proposed commands and keep sensitive configuration outside the material sent to the provider. Aider is most useful when a task has clear acceptance criteria and reproducible tests. For production releases, retain the usual human approval and backup procedures; a generated commit or passing unit test is not equivalent to deployment authorisation. Assess model costs using the actual context and iteration count, including follow-up calls. When using local models, verify hardware requirements and editing quality rather than assuming that a zero per-token API charge makes the complete workflow costless.

Reference checked on 28/11/2026: Aider documentation.

Official sources and documentation

Capabilities

Features, use cases & integrations

Features

  • Terminal-based conversation and code editing.
  • Repository map for context.
  • Explicit selection of files to edit.
  • Git commits and diff inspection.
  • Separate reasoning and editing models in supported configurations.
  • Custom coding conventions.
  • Compatible remote or local model connections.

Use cases

  • Fix a PHP bug with a regression test.
  • Refactor a function without changing its public interface.
  • Write unit tests for existing code.
  • Document a module or command.
  • Update a dependency on an isolated branch.
  • Investigate an error before requesting a fix.

Integrations

  • Git and a development terminal.
  • Compatible model APIs listed in the documentation.
  • Ollama for some local models; existing project editors and test tools.
Preview

Visual previews

Decision

Pricing, advantages & limitations

Pricing

Aider is open-source software. Remote models may charge for token usage, while local models require adequate hardware. Costs rise with context size, file count and repeated iterations. Displayed estimates do not replace a provider's billing records. Check quotas and actual charges before undertaking larger tasks, and include review time in the cost of a change.

👍 Advantages

  • Direct control of project files.
  • Inspectable Git history and diffs.
  • Choice of model.
  • Reusable coding conventions.
  • Suitable for small iterative fixes.
  • No mandatory editor switch.

👎 Limitations

  • Requires familiarity with Git and the terminal.
  • Quality depends on the model.
  • Possible API charges.
  • Confidential code exposure risk.
  • Incorrect or overbroad edits are possible.
  • Human review and tests remain necessary.
Questions & alternatives

FAQ & alternatives

FAQ

Is Aider free?▶

The software is open source, but external model calls can incur fees. Running a local model has its own hardware and energy costs.

Can it edit my code directly?▶

Yes, it operates on project files. Work on a dedicated branch and inspect the differences before merging changes.

Does it support PHP?▶

It can edit PHP files. Specify language version, coding conventions, SQL constraints and expected tests.

How can I avoid sending secrets?▶

Exclude sensitive configuration and credential files, and check what context is actually sent to the model. Do not assume Git ignore rules cover every situation.

Can I use a local model?▶

Yes, documented local connections include Ollama. Check model compatibility and any other services enabled.

Can I undo a fix?▶

Git and the undo command can revert certain commits made by Aider. Check repository status before restoration.

How do I control spending?▶

Add only necessary files, use scoped tasks and monitor actual model-provider consumption.

Can Aider replace code review?▶

No. Review security, business logic, performance and regressions even if automated tests pass.

User reviews

Reviews of Aider

No reviews have been published yet.
Same category

🏆 Tools in the same category

A selection of tools similar to Aider, ordered by recent views.

AI recommendations

🔍 Similar tools

Explore ListoolAI

Explore related topics

Explore topics and categories related to Aider.