Aider

aider.chat
On the map Visit site

Your AI coding partner in the terminal.

Description

AI pair programming in your terminal · Getting Started · Kind Words From Users · More Information

Aider is an AI-powered pair programming tool designed for terminal environments, allowing developers to edit code in their local git repositories by leveraging large language models (LLMs) like GPT-4 and Claude 3.5 Sonnet. It supports adding new features, fixing bugs, refactoring code, and updating documentation. Aider integrates seamlessly with Git, automatically committing changes with clear messages, and works with various programming languages, making it a versatile tool for enhancing coding productivity and accuracy.

Features

Integrates with Git for automatic commits, Supports multiple programming languages, Works with various LLMs , Can edit multiple files simultaneously, Provides intelligent code editing and refactoring

Use cases

Adding new features to an existing codebase, Fixing bugs identified in code, Refactoring and optimizing code, Updating and maintaining documentation, Pair programming with AI for enhanced productivity

FAQ

Aider is an open-source AI pair programming tool that works primarily in your terminal or IDE, allowing you to collaborate with large language models (LLMs) to write, edit, and manage code inside a single repository. It supports many programming languages and can automatically commit with sensible messages.

To get started with Aider AI, you need to create a project directory, set up a Python virtual environment, and then activate the environment using `source aider-env/bin/activate` on Mac/Linux or `aider-env\Scripts\activate` on Windows. Afterward, install Aider with `python -m pip install -U --upgrade-strategy only-if-needed aider-chat`. You can then use various command modes like `/architect` for planning, `/chat-mode ask` for questions, and `/chat-mode help` for explanations.

Aider supports several chat modes: Architect mode plans complex changes before coding, Ask mode answers questions without modifying files, and Help mode explains features of Aider AI. You can switch modes anytime during your session using `/chat-mode <mode-name>` or simply `/architect`, `/ask`, `/help`.

Aider is compatible with most LLMs including OpenAI GPT models, Claude, and local models via interfaces like Ollama or any providing OpenAI-compatible APIs. It performs well with capable models (preferably GPT-3.5 or better). Less capable models might have trouble handling code edits and commits.

Yes, Aider supports local LLMs through Ollama and can connect to local models that implement an OpenAI-compatible API, allowing you to use private or offline AI models.

You can add special comments containing `AI!` or `AI?` in your code to instruct Aider. Specifically, `AI!` triggers code changes as per the comment, while `AI?` triggers Aider to answer a question about the code. This helps provide in-context instructions exactly where you want the change or explanation.

Yes, Aider allows customization of system prompts and scripting capabilities to tailor the AI behavior to your preferences.

Aider automatically commits changes it makes with sensible commit messages, making it easy to review, manage, or undo edits with familiar git tools.

Issues like stopped highlighting or unexpected language in responses can occur. The troubleshooting guide and `/help` command can assist with such problems, or you can check GitHub issues for solutions.

More detailed documentation and help can be found in the official Aider documentation, which covers commands, modes, configuration, troubleshooting, and advanced usage. Additionally, the in-chat `/help <question>` command retrieves relevant documents on using Aider, settings, LLMs, and troubleshooting. Video tutorials and community resources are also available for practical guidance.

Specs

Type Agent
SectionAI agents / Из awesome-списка
Pricing free (от $0/mo)
Platform Web + desktop
Systems cli, macos, windows, linux, web
Hostingself-hosted
Who forIndividual
Complexitydeveloper
Site languageen
VendorAider-AI
GitHubAider-AI/aider
★ Stars48 556
Rating5.00 (1 reviews)
Views377 994
Launched2024-07-27

Can do

api

Platforms

Tags

api

Source code

Aider-AI/aider

Similar in «AI-агенты»

Submit a site to the catalog

Just send the link — we will work out the rest.

We will review what you send and add it to the catalog if it fits.