Aider Chat

AI pair programming inside your terminal, with git commits built in

Advanced API
Screenshot of Aider Chat, AI pair programming inside your terminal, with git commits built in

What is Aider Chat?

Aider Chat is a code modifier tool. A terminal-based AI pair programmer that edits code in your local repo, maps the whole codebase for context, commits every change to git automatically, and connects to cloud or local LLMs across 100+ languages.

Aider Chat is a command line AI pair programmer that sits in your terminal and edits code in your local repository. You describe a change in plain language, Aider sends the relevant context to an LLM, and the model writes the edits directly into your files. It is designed for work on real, existing codebases rather than greenfield snippets, and the project reports 44K GitHub stars and 6.8M installs, with 15B tokens processed per week. Under the hood, Aider builds a map of your whole repository so the model understands how files relate, which is what makes it usable on larger projects. It supports over 100 programming languages including Python, JavaScript, Rust, Ruby, Go, C++, PHP, HTML and CSS. Every change is committed to git automatically with a sensible message, so you can diff, revert or branch AI work with the tools you already use. It connects to almost any LLM, with the strongest results reported on Claude 3.7 Sonnet, DeepSeek R1 and V3, OpenAI o1, o3-mini and GPT-4o, plus local models. In daily use it fits into an existing workflow rather than replacing it. Aider can watch your files and act on comments you leave in the editor, pull in images and web pages as visual context, accept voice requests for features and bug fixes, and run your linters and tests after each edit so it can fix what they flag. For models available only through a browser chat, Aider also streamlines copy and paste between the terminal and the web UI. The tool competes with IDE-native agents and editor forks. Its pitch is narrower and more technical: no GUI, full git discipline, and model freedom. Installation is a pip command, and a working API key is required for most models, so it suits developers comfortable on the command line.

How do you use Aider Chat?

  1. 1Install Aider
    Run the pip install command for aider-install, then run aider-install. The installation guide covers prerequisites and platform notes.
    Aider Chat — Install Aider
  2. 2Move into your project
    Change directory into the codebase you want to work on so Aider can index it and build the repository map.
    Aider Chat — Move into your project
  3. 3Pick a model and API key
    Launch Aider with a model flag and your provider key, for example aider --model sonnet --api-key anthropic=<key>. The LLM docs list supported providers and local options.
    Aider Chat — Pick a model and API key
  4. 4Describe a change in chat
    Ask for a feature or fix in plain language and Aider edits the relevant files, then commits the result to git with a generated message.
    Aider Chat — Describe a change in chat
  5. 5Review and undo with git
    Use your normal git commands to inspect the diff. If the change is wrong, revert the commit or ask Aider for a correction.
  6. 6Wire in lint and test
    Configure your linter and test commands so Aider runs them after each edit and attempts to fix failures automatically.

Pros and cons

Pros

  • Automatic git commits with sensible messages make every AI edit easy to diff, revert or branchAI
  • Repository map gives the model context across a large, existing codebaseAI
  • Connects to almost any LLM, including local models, so you are not locked to one vendorAI
  • Linters and tests run after each change, and Aider fixes what they reportAI
  • Works inside your editor via file watching and comment-triggered requestsAI

Cons

  • Terminal only: no graphical interface, so IDE-first developers face a real learning curveAI
  • You must supply your own LLM API key and pay the model provider directlyAI
  • Quality varies a lot by model, with weaker results on models outside the recommended setAI
  • Browser chat support depends on copy and paste, which is clumsy for iterative workAI
  • Setup and configuration live in docs and config files rather than a guided wizardAI

How much does Aider Chat cost?

Support

Support runs through documentation (installation, usage, configuration, troubleshooting, FAQ), a Discord community, a GitHub repository and a blog.

Learn more

Integrations

Connects to almost any LLM, including Claude 3.7 Sonnet, DeepSeek R1 and V3, OpenAI o1, o3-mini and GPT-4o, and local models, plus git and your preferred IDE or editor.

Learn more

Features

Repository mapping for large codebases, support for 100+ languages, automatic git commits with sensible messages, editor integration through file watching, images and web pages as chat context, voice-to-code requests, automatic linting and testing with fix attempts, and copy/paste bridging to LLM web chat interfaces.

Learn more

Frequently asked questions about Aider Chat

  • Does Aider Chat have an API?
    Yes, Aider Chat offers an API.
  • How do you use Aider Chat?
    The walkthrough on this page covers 6 steps: 1. Install Aider 2. Move into your project 3. Pick a model and API key 4. Describe a change in chat 5. Review and undo with git 6. Wire in lint and test.
  • What platforms does Aider Chat support?
    Aider Chat is available on MacOS, Windows and Linux.
  • What does Aider Chat integrate with?
    Connects to almost any LLM, including Claude 3.7 Sonnet, DeepSeek R1 and V3, OpenAI o1, o3-mini and GPT-4o, and local models, plus git and your preferred IDE or editor.
  • What are the limitations of Aider Chat?
    Terminal only: no graphical interface, so IDE-first developers face a real learning curve. You must supply your own LLM API key and pay the model provider directly. Quality varies a lot by model, with weaker results on models outside the recommended set.

Status

StatusActive
Views0
Outbound clicks0
Added10/21/2026

Platforms

MacOSWindowsLinux

Pricing

Free