mcpField
A
Aider

Aider

OfficialAgent-ready
aider.chatAI & Agents49.8kaiderUpdated 23w ago
RepositoryVisit website

About Aider

Aider is an open-source AI pair programming tool that runs from the command line and edits code directly in a local Git repository. It works with many model providers, and the model can be selected per session. It also supports automatic commits and test-related workflows.

Key features

  1. 01Edit code directly in a local Git repository
  2. 02Select the model with aider --model
  3. 03Pass a single instruction with aider --message
  4. 04Works with many model providers
  5. 05Automatic commits and test-related workflows

Use cases

  1. 01Having an AI modify or add tests across an existing project
  2. 02Running code changes non-interactively inside a coding agent workflow
  3. 03Switching between models to compare editing results

Install

Pick your OS or package manager and run the command in a terminal.

$
pipx install aider-chat

Once installed, runaider --versionto confirm it works.

Example commands

Common commands in the order you’d use them.

01
aider
02
aider --model sonnet
03
aider --message "add tests"

Details

From the project README

Aider Logo

AI Pair Programming in Your Terminal

Aider lets you pair program with LLMs to start a new project or build on your existing codebase.

aider screencast

GitHub Stars PyPI Downloads Tokens per week OpenRouter Ranking Singularity

Features

Cloud and local LLMs

README image Aider works best with Claude 3.7 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o, but can connect to almost any LLM, including local models.


Maps your codebase

README image Aider makes a map of your entire codebase, which helps it work well in larger projects.


100+ code languages

README image Aider works with most popular programming languages: python, javascript, rust, ruby, go, cpp, php, html, css, and dozens more.


Git integration

README image Aider automatically commits changes with sensible commit messages. Use familiar git tools to easily diff, manage and undo AI changes.


Use in your IDE

README image Use aider from within your favorite IDE or editor. Ask for changes by adding comments to your code and aider will get to work.


Images & web pages

README image Add images and web pages to the chat to provide visual context, screenshots, reference docs, etc.


Voice-to-code

README image Speak with aider about your code! Request new features, test cases or bug fixes using your voice and let aider implement the changes.


Linting & testing

README image Automatically lint and test your code every time aider makes changes. Aider can fix problems detected by your linters and test suites.


Copy/paste to web chat

README image Work with any LLM via its web chat interface. Aider streamlines copy/pasting code context and edits back and forth with a browser.

Getting Started

python -m pip install aider-install
aider-install

# Change directory into your codebase
cd /to/your/project

# DeepSeek
aider --model deepseek --api-key deepseek=<key>

# Claude 3.7 Sonnet
aider --model sonnet --api-key anthropic=<key>

# o3-mini
aider --model o3-mini --api-key openai=<key>

See the installation instructions and usage documentation for more details.

More Information

Documentation
Community & Resources

Kind Words From Users

Comments

Markdown supported