档案库 · 开发与企业工具 · 产品决策 · 2023–2026
Aider押注Git原生终端胜过聊天,AI编程工具获46k星并登上HN首页
Inktomi联合创始人Paul Gauthier的开源终端结对编程工具让大语言模型直接编辑Git仓库,成为后来者竞相模仿和基准测试的标准。
Aider
做的是什么生意
Open-source command-line tool that pairs a developer with an LLM to edit code in a git repository, auto-committing each change and supporting almost any model, including local ones.
起因
Paul Gauthier, founding CTO of Inktomi and later CTO of Groupon, started Aider in spring 2023 after experimenting with GPT-4's codebase understanding using ctags-based repository maps. He released it as an open-source command-line tool in May 2023; the first Show HN posts drew almost no traction.
经过
Through 2023–24 Aider added repository maps, tree-sitter linting, voice input, browser and IDE watch modes, and its polyglot code-editing benchmark became a standard reference — 'Claude 3 beats GPT-4 on Aider's benchmark' hit the HN front page in March 2024, and the tool itself drew 432 points and 156 comments in April 2024. By mid-2024 Aider wrote roughly 70% of its own new code and reached state-of-the-art results on SWE-bench Lite.
结果
Still running as a free, open-source, largely solo-built project with ~46k GitHub stars as of June 2026 and no disclosed funding or acquisition. Its terminal-plus-git paradigm was widely copied by later CLI coding agents such as Claude Code, OpenAI's Codex CLI and OpenCode.
背景
Aider是一个开源的AI结对编程工具,运行在终端中:你与LLM聊天,它编辑你本地Git仓库中的文件,并自动生成提交消息提交每次更改。其赌注是AI编程的正确接口是版本控制循环本身——可审查的diff和git作为撤销系统——而不是从聊天窗口或封闭的IDE插件复制粘贴。
Paul Gauthier,Inktomi创始CTO,后任Groupon CTO,在尝试使用基于ctags的仓库地图为GPT-4提供更好大代码库视图后,于2023年开始了该项目。他于2023年5月发布了该工具;第一个Show HN帖子几乎无人关注。随着工具成熟,关注度上升:其多语言代码编辑基准成为标准,'Claude 3在Aider基准上击败GPT-4'于2024年3月登上HN首页,该工具本身也在2024年4月获得432分和156条评论。
到2024年中,Aider约70%的新代码由自己编写,在SWE-bench Lite上达到最先进水平,并增加了语音输入、IDE监视模式、浏览器UI、代码检查和本地模型支持。它保持免费和模型无关,几乎支持任何LLM,包括完全本地模型,Simon Willison将其描述为'一款令人印象深刻的开源本地编码聊天助手'。
截至2026年6月,仓库拥有45,945星,无资金或收购——一个主要由单人构建的项目,开创了一种范式。后来的CLI编码智能体,包括Claude Code、OpenAI的Codex CLI和OpenCode,都采用了Aider首创的终端加Git交互方式。
这件事要成立,得有什么
- Gauthier知道瓶颈在于代码库上下文和编辑可靠性,因此Aider投资于仓库地图、tree-sitter代码检查和基于diff的编辑格式,而不是追逐更花哨的模型。
- Git原生设计使AI编辑安全:自动提交的diff将仓库变成撤销系统和审计日志,消除了让LLM接触真实代码的信任障碍。
- 模型无关性和本地模型支持让Aider坐享每次模型发布——Claude 3、DeepSeek、o1、Qwen——同时其基准测试使其成为'这个模型能编辑代码吗'的参考点。
- 开源基准飞轮效应叠加:每个新模型厂商都发布Aider分数,为工具带来免费而持续的曝光,恰好在其需要的终端开发者社区中。
可借鉴之处
接口的赌注可以超越模型的赌注:Aider没有构建模型,但其Git原生工作流成为后来CLI智能体复制的模式——持久的胜利是编辑和提交循环,而不是人工智能本身。
后续进展
截至2026年9月,Aider仍是由Paul Gauthier主要开发的免费开源软件,仓库约有46,000星,无披露的资金或收购;项目在2026年继续增加功能并更新基准。其'终端中的AI结对编程'框架成为一种类别:基于终端、Git原生的编码智能体现在已成为Claude Code、OpenAI Codex CLI、OpenCode和Gemini CLI的默认模式,而Aider的多语言基准仍然是衡量模型代码编辑技能的被广泛引用的指标。
资料来源
- Aider: AI pair programming in your terminal
- Aider-AI/aider
- Aider has written 7% of its own code (outdated, now 70%)
- Aider: Using uv as an installer
- Open Source AI Coding Assistants (2026)
发现哪里写错了?告诉我们。
轮到你了
你刚读完一家。说说你在做什么,看看谁在赌同一件事。
免费账号 · 3 次免费提问 · 不用绑卡