Back to services

Aider

aider is AI pair programming in your terminal

View alternatives to Aider
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: Fetching the official website failed this time, so this entry was written from what is already known about Aider. Please refer to the official website https://aider.chat/ for specific details.

Introduction

Aider is an AI pair programming tool that runs in your terminal. You describe what you need in natural language on the command line, and Aider uses a large language model to understand your codebase, edits your local files directly, and commits the changes to Git. It works well for starting new projects and can also handle large existing codebases.

Key Features

  • Multi-model support: Connects to cloud models such as Claude, the OpenAI GPT series and DeepSeek, and can also use local models through tools like Ollama.
  • Repo Map: Automatically generates a structured map of the entire repository, helping the model understand context in large projects.
  • Deep Git integration: Every change is committed automatically with a sensible commit message, so you can review diffs and undo changes with the Git tools you already know.
  • Multi-language support: Supports mainstream programming languages such as Python, JavaScript, TypeScript, Rust, Go and C++.
  • Lint and tests: Can automatically run lint and tests after each change, and try to fix any problems found.
  • IDE collaboration: You can write comment instructions in your favorite editor, and Aider will read them and make the changes.
  • Multimodal input: Images and web pages can be added to the conversation as context, and voice input is also supported for describing programming tasks.

Target Users and Use Cases

  • Developers who are used to working in the terminal and want to use AI to code more efficiently
  • Teams that need to refactor, fix bugs or add features in large existing codebases
  • Users who want the freedom to choose or switch models, including local ones

Core Strengths

  • Free and open source; you only pay for the API of the model you use
  • Not tied to a specific editor or model
  • All changes are recorded in Git, so they can be traced and rolled back

Installation

Aider is built on Python and can be installed with pip:

python -m pip install aider-install
aider-install

After installing, go to your project directory and set up the API key for your chosen model to get started, for example:

cd /path/to/project
aider --model sonnet --api-key anthropic=<你的密钥>

Technical Requirements

  • A Python environment
  • Git
  • At least one usable large language model API key, or a local model service

Things to Note

  • The quality of the output depends heavily on the model you choose, so a model with strong coding ability is recommended.
  • Changes are committed automatically, so it's best to make sure your working tree is clean before you start.