
Aider
CLI终端里的 AI 结对编程工具:为整个代码库建立仓库地图,改动自动提交 git,可接入 Claude、DeepSeek、OpenAI 等几乎所有模型及本地模型,改完可自动跑 lint 与测试。
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
- Installation Guide
- Usage Guide
- Tutorial Videos
- Connecting to LLMs
- Configuration Options
- Troubleshooting
- FAQ
Community & Resources
Kind Words From Users
- "My life has changed... Aider... It's going to rock your world." — Eric S. Raymond on X
- "The best free open source AI coding assistant." — IndyDevDan on YouTube
- "The best AI coding assistant so far." — Matthew Berman on YouTube
- "Aider ... has easily quadrupled my coding productivity." — SOLAR_FIELDS on Hacker News
- "It's a cool workflow... Aider's ergonomics are perfect for me." — qup on Hacker News
- "It's really like having your senior developer live right in your Git repo - truly amazing!" — rappster on GitHub
- "What an amazing tool. It's incredible." — valyagolev on GitHub
- "Aider is such an astounding thing!" — cgrothaus on GitHub
- "It was WAY faster than I would be getting off the ground and making the first few working versions." — Daniel Feldman on X
- "THANK YOU for Aider! It really feels like a glimpse into the future of coding." — derwiki on Hacker News
- "It's just amazing. It is freeing me to do things I felt were out my comfort zone before." — Dougie on Discord
- "This project is stellar." — funkytaco on GitHub
- "Amazing project, definitely the best AI coding assistant I've used." — joshuavial on GitHub
- "I absolutely love using Aider ... It makes software development feel so much lighter as an experience." — principalideal0 on Discord
- "I have been recovering from ... surgeries ... aider ... has allowed me to continue productivity." — codeninja on Reddit
- "I am an aider addict. I'm getting so much more work done, but in less time." — dandandan on Discord
- "Aider... blows everything else out of the water hands down, there's no competition whatsoever." — SystemSculpt on Discord
- "Aider is amazing, coupled with Sonnet 3.5 it's quite mind blowing." — Josh Dingus on Discord
- "Hands down, this is the best AI coding assistant tool so far." — IndyDevDan on YouTube
- "[Aider] changed my daily coding workflows. It's mind-blowing how ...(it)... can change your life." — maledorak on Discord
- "Best agent for actual dev work in existing codebases." — Nick Dobos on X
- "One of my favorite pieces of software. Blazing trails on new paradigms!" — Chris Wall on X
- "Aider has been revolutionary for me and my work." — Starry Hope on X
- "Try aider! One of the best ways to vibe code." — Chris Wall on X
- "Freaking love Aider." — hztar on Hacker News
- "Aider is hands down the best. And it's free and opensource." — AriyaSavakaLurker on Reddit
- "Aider is also my best friend." — jzn21 on Reddit
- "Try Aider, it's worth it." — jorgejhms on Reddit
- "I like aider :)" — Chenwei Cui on X
- "Aider is the precision tool of LLM code gen... Minimal, thoughtful and capable of surgical changes ... while keeping the developer in control." — Reilly Sweetland on X
- "Cannot believe aider vibe coded a 650 LOC feature across service and cli today in 1 shot." - autopoietist on Discord
- "Oh no the secret is out! Yes, Aider is the best coding tool around. I highly, highly recommend it to anyone." — Joshua D Vander Hook on X
- "thanks to aider, i have started and finished three personal projects within the last two days" — joseph stalzyn on X
- "Been using aider as my daily driver for over a year ... I absolutely love the tool, like beyond words." — koleok on Discord
- "Aider ... is the tool to benchmark against." — BeetleB on Hacker News
- "aider is really cool" — kache on X
相關資源

Mistral Vibe
CLIMistral 官方开源的终端编码助手:用 Mistral 模型读写代码、执行命令与搜索代码库,内置多种 agent 配置与子代理,支持 Skills、MCP 与 --prompt 脚本模式。需要 Mistral API Key。
mistralai/mistral-vibe5k
mcp-server-git
MCPMCP 官方参考实现:让 agent 操作本地 Git 仓库,查看状态与 diff、暂存与提交、创建和切换分支、按时间检索提交日志。Python 编写,用 uvx 即可运行,目前仍处早期开发阶段。
modelcontextprotocol/servers90.6k
pre-commit
CLI多语言 git hook 管理框架:在 .pre-commit-config.yaml 里声明格式化、lint、密钥扫描等钩子,提交前自动运行,也可用 pre-commit run --all-files 让 agent 提交前自检。
pre-commit/pre-commit15.6k
OpenCode
CLI开源终端编码 Agent,可自由切换多家模型供应商,内置可改代码的 build 与只读分析的 plan 两种 agent 及子代理,另有桌面客户端。原 sst/opencode。
anomalyco/opencode214k
Gemini CLI
CLIGoogle 官方开源终端 Agent,使用 Gemini 模型与 100 万 token 上下文,内置 Google 搜索、文件与 Shell 工具并支持 MCP;个人 Google 账号有免费额度。
google-gemini/gemini-cli107k
GitHub CLI
CLIGitHub 官方命令行:在终端里管理 PR、Issue、Release 与 Actions 工作流,多数命令支持 --json 输出便于 agent 解析,并提供官方 agent skill。需先 gh auth login 登录。
cli/cli46.7k