跳转至

AI 编程

代码模型 / 自动编程 / AI Code Review

代码生成模型

模型 链接 说明
DeepSeek-Coder-V2 https://github.com/deepseek-ai/DeepSeek-Coder-V2 国产,代码能力强
Qwen2.5-Coder https://github.com/QwenLM/Qwen2.5-Coder 阿里,代码专用
StarCoder2 https://github.com/bigcode-project/starcoder2 BigCode 开源
CodeLlama https://github.com/meta-llama/codellama Meta 代码模型
CodeStral https://huggingface.co/mistralai/Codestral-22B-2024-06-18 Mistral 代码模型

AI 编程工具

工具 链接 说明
Cursor https://cursor.sh/ AI IDE,最流行
GitHub Copilot https://github.com/features/copilot VS Code 集成
CodeGeeX https://codegeex.cn/ 国产,免费
Aider https://github.com/paul-gauthier/aider 终端 AI 编程
Continue https://github.com/continuedev/continue VS Code 开源插件

自动编程 Agent

项目 链接 说明
SWE-Agent https://github.com/princeton-nlp/SWE-agent Princeton,修复 GitHub Issue
OpenDevin https://github.com/OpenDevin/OpenDevin 开源 Devin 复现
Aider https://github.com/paul-gauthier/aider 终端 AI 配对编程
AutoCodeRover https://github.com/nus-apr/auto-code-rover NUS,程序修复

AI Code Review

工具 链接 说明
CodeRabbit https://coderabbit.ai/ AI PR Review
Amazon CodeGuru https://aws.amazon.com/codeguru/ AWS 代码审查

练习

  • 安装 Cursor/CodeGeeX,用 AI 辅助完成一个项目
  • 用 DeepSeek-Coder 生成代码并审查
  • 用 Aider 在终端中实现 AI 配对编程

资源

资源 链接
HuggingFace 代码模型 https://huggingface.co/models?pipeline_tag=text-generation&other=code
BigCode 项目 https://www.bigcode-project.org/