aider

Aider-AI / aider

终端里的 AI 结对编程工具,直接读写仓库文件并生成语义化的 commit。

Python LLM 应用 开发工具 AI 编程 终端 Git

为什么值得看

编辑点评

终端里真正好用的 AI 结对编程工具。它直接读写你仓库里的文件,改完自动生成一个语义清晰的 commit,回滚方便。适合习惯命令行、又想让 AI 动手改代码的开发者。

Star 趋势

近 7 日
  • Star 总数48,999
  • 今日新增+10
  • 7 日增速-50%
  • Fork4,959

同类项目

同场景 · LLM 应用 / 开发工具

项目文档

来自 GitHub README · main 分支

AI Pair Programming in Your Terminal

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

Features

Cloud and local LLMs

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

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

100+ code languages

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

Git integration

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

Use in your IDE

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

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

Voice-to-code

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

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

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

文档抓取自 GitHub 仓库 README,版权归原作者所有;已过滤徽章等噪音并经安全消毒后展示。