开源 AI Coding 工具列表

Aider-AI/aider: aider is AI pair programming in your terminal

sigoden/aichat: All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.

plandex-ai/plandex: Open source AI coding agent. Designed for large projects and real world tasks.

目前 AI 变成还有的问题:

  • diff edit mode 下,生成的 SEARCH/REPLACE 块过于庞大,其实只是改了两行,只有两行的 diff。

AI Coding Leaderboard

Aider LLM Leaderboards | aider

Ollama

Ollama environment variables

Global Configuration Variables for Ollama · Issue #2941 · ollama/ollama

Ollama 模型代码能力评测

Aider 有一个评测:Aider LLM Leaderboards | aider

这里可以搜 Ollama:Code editing leaderboard | aider

DeepSeek-R1: output token 太多。

命令行工具

Aider

Tips:

  • 不充分的使用体验下来:whole edit format 要比 diff edit format 准确率更高,尤其是对于 qwen2.5-coder 14B。同一个 prompt,以 whole 的方式输出对代码的效果更好。Code editing leaderboard | aider 这里在每一个模型后面写了 edit format,可以作为参考。

对于 L4 机型,性能最好的模型和搭配是:qwen2.5-coder 32B + whole edit format,但是 aider 给的对于这个模型的默认 format 是 diff format,输出慢点就慢点吧。

缺点:

  • 无法生成 diff chunks 到文件中,只能直接对文件修改,我们没有办法 review 中间修改的结果。

Gemini CLI

每天 1000 次免费调用额度,就是需要翻墙网络环境。即使有了 API Key,在发请求的时候 Google 也会去判断有没有翻墙。

Codex CLI

OpenAI 出的,需要 OpenAI 的 API Key。

价格比较贵。

Claude Code