Aider

aider.chat
На карте связей Открыть сайт

Your AI coding partner in the terminal.

Описание

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.

Возможности

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

Сценарии использования

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

Частые вопросы

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.

Характеристики

Тип Агент
КатегорияAI-агенты / Из awesome-списка
Цена бесплатно (от $0/мес)
Платформа Веб + десктоп
Системы cli, macos, windows, linux, web
Хостингself-hosted
Для когоIndividual
Сложностьdeveloper
Язык сайтаen
ВендорAider-AI
GitHubAider-AI/aider
★ Звёзд48 556
Рейтинг5.00 (1 отзывов)
Просмотры377 994
Запуск2024-07-27

Умеет

api

Интеграции

Платформы

Теги

api

Соцсети

Исходный код

Aider-AI/aider

Похожие в разделе «AI-агенты»

Предложить сайт в каталог

Пришлите ссылку — остальное мы выясним сами.

Мы рассмотрим, что вы прислали, и добавим в каталог, если подойдёт.