Coding
Aider
Pair with an AI coding assistant in the terminal while reviewing file changes in Git.
- Product Hunt rating
- Pricing
- Open-source software
- $0 for the client
- Model inference
- Usage varies by model provider
- Best for
- Developers reviewing terminal-based AI changes inside a version-controlled codebase.
Video tutorial
Learn Aider AI Chat · Software from Eduardo Garza · Watch on YouTube ↗
What is Aider?
Aider works from the command line, using a repository and a selected model to help make edits. This layout is a good fit for engineers who already check diffs in Git and prefer to keep project operations visible in the terminal.
The Git history gives you a natural checkpoints system. Begin on a clean disposable branch and note where the agent’s changes appear before asking for more.
Set up and test a real workflow
Start from a clean Git branch and add the two files needed for a small change, such as a date formatter and its test. Keep the repository's preferred test command at hand. Check the cost and configuration of the selected model separately from Aider's installation, and inspect what is staged after the edit.
What to look for in the result
Ask Aider to retain the original case of a recognized airport code while allowing surrounding whitespace. Include tests for " JFK ", "jfk", and a blank value. After generation, read the changes and verify the original case requirement explicitly. If the patch uppercases every code instead, the test should fail regardless of whether the output seems plausible to someone reading the interface.
| Problem | What to check | What to change |
|---|---|---|
| The model edits a file that was only provided for comparison | Check which files are added to the edit context and which are read-only | Narrow writable files and rerun the targeted request |
| A generated commit contains pre-existing changes | Check Git status and inspect the actual commit contents | Separate the changes on the test branch and verify the intended patch before moving it |
Try it: Make one focused parser correction
Work in a test repository and record the initial revision.
Add support for using YYYY-MM-DD dates in the document fixture importer. Preserve the existing ISO datetime path. Add a test for one valid date and one malformed input, and leave the rest of the importer unchanged.
- Add the parser and its tests to the task context. Verify the baseline test results.
- Request the targeted improvement. Check the patch and any commit it created.
- Run both old and new tests and compare failures against the stated requirements before accepting the result.
What a usable result looks like
The parser accepts the specified format and gives meaningful feedback for the malformed input.
| Check | What you might see | What to do next |
|---|---|---|
| Scope | Only intentional files changed. | Compare the diff against the starting revision. |
| Compatibility | Earlier fixture tests still pass. | Run the package tests. |
| Malformed case | Invalid input returns a controlled error. | Confirm no underlying data changed. |
What to save from the trial
One reviewed patch with a repeatable terminal history.
Another scenario
Compare two provider models on the same task by resetting two separate branches to the same commit.
Use cases and what to check
| Use case | How to try it | What to check |
|---|---|---|
| Parser change | Add support for one known input format. | Verify the old examples still work. |
| Test improvement | Ask for a regression case in one existing test file. | Confirm it detects a wrong result. |
Which plan should you try?
| Plan | Price | Who should consider it |
|---|---|---|
| Open-source software | $0 for the client | Run alongside a Git project and choose your model. |
| Model inference | Usage varies by model provider | Estimate token costs or local machine resources. |
Estimate model spend separately and keep the context limited to relevant files.
Provider pricing and access ↗ · Checked
What people say about Aider
1 featured user review.
CLI workflow in a starter repository
The reviewer liked that Aider separated planning from editing and automatically committed changes. With the DeepSeek R1 model he tested, he found that he had to provide more context and saw it propose paths that did not exist.
3/5 · August 18, 2025 · Patrick Hulce, hands-on comparison ↗ · Paraphrased
Limits to check
Token costs and model output vary, and generated edits still require review.
When to choose it
Aider works well for developers comfortable with Git and terminal-driven edits who want narrow, reviewable changes or an explicit model choice. IDE-based tools may offer more convenient inline review for a team that spends less time in the terminal.
- GitHub Copilot · Get coding suggestions and ask questions inside your development workflow.
- CodeRabbit · Have an AI reviewer summarize and comment on pull-request changes.
- Qodo · Review code changes with AI and apply organization-specific expectations to pull-request feedback.
Common questions
- Can I revert a bad experiment?
- Use the project’s normal Git review and rollback workflow on the disposable branch.
- Which model should I compare first?
- Choose models your environment supports and measure the same task and tests.
Community posts
-
Keep reference files read-only in an Aider session ↗
The discussion explains the use case for supplying interface or style-reference files for context while keeping edits focused on the intended file.
Aider GitHub Issues