AI Code Review 工具调研分析
目录
1. 主流工具横向对比
| CodeRabbit | Bito | Qodo Merge | |
|---|---|---|---|
| 官网 | https://www.coderabbit.ai/ | https://bito.ai/ | 开源:PR-Agent 商业:Qodo Merge |
| 主要功能 | https://docs.coderabbit.ai/overview/introduction Easier to review pull requests 1. Summary 2. Walkthrough 3. Diagram 4. Chat to learn Context-aware code analysis 1. CodeRabbit learns from every interaction 2. Code guidelines 3. Code graph 4. Sandbox 5. 40+ linters 6. Web search 7. AI code reviews 8. Code suggestions 9. Linked issues Automatic finishing touches 1. Unit tests 2. Docstrings https://docs.coderabbit.ai/pr-reviews/pre-merge-checks 类似质量门禁 |
https://docs.bito.ai/ai-code-review-agent/key-features 1. AI that understands your code 2. One-click setup for GitHub, GitLab, and Bitbucket 3. Automated and manually-triggered AI code reviews 4. Pull request summary 5. Changelist 6. One-click to accept suggestions 7. Chat with AI Code Review Agent 8. Incremental code reviews 9. Code review analytics 10. Custom code review rules and guidelines 11. Multiple specialized engineers for targeted code analysis 12. Integrated feedback from dev tools you use 13. Supports all major programming languages 14. Enterprise-grade security |
https://docs.qodo.ai/qodo-documentation/qodo-merge/pr-agent#features PR Agent 基础功能 1. Describe 2. Review 3. Improve 4. Ask Qodo Merge 增强功能 1. Add Documentation 2. Analyze 3. Compliance 4. Custom Prompt 5. Generate Labels 6. Generate Tests 7. Implement 8. Improve Components 9. PR to Ticket 10. Scan Repo Discussions 11. Similar Code 12. Incremental code reviews 13. … |
| 模型 | https://docs.coderabbit.ai/self-hosted/gitlab#prepare-a-env-file + Claude https://www.anthropic.com/customers/coderabbit + 私有化自持自定义模型,仅支持 OpenAI / Azure OpenAI / Claude / AWS Bedrock(Claude) |
https://docs.bito.ai/ai-code-review-agent/overview + SaaS 私有化都是 Claude Sonnet 3.7 / 4 + 没找到自定义模型 |
https://docs.qodo.ai/qodo-documentation/qodo-merge/configuration/model-selection + SaaS 默认 GPT5 & Gemini 2.5 Pro + 私有化支持自定义模型,但官方强烈建议使用默认模型 |
| 架构 | ![]() |
没有架构图,有一篇 Blog 介绍: https://bito.ai/blog/how-does-bitos-ai-that-understands-your-code-work/ |
![]() ![]() |
| 上下文 | Knowledge Base :guidelines & learning Review instructions:config Issue Lint MCP 没有查到使用 RAG,但配置里有部分 embed 模型 https://docs.coderabbit.ai/self-hosted/github#prepare-an-env-file ![]() |
Basic Code Understanding:diff Advanced Code Understanding: RAG + AST + Symbol Indexing Lint Issue |
RAG(Qodo Aware) Dynamic Context Issue Best Practice |
| 自定义规则 | Review instructions + path-based patterns + AST rules Code guidelines + cursorrules + agent.md + CLAUDE.md + 等等 Learnings ![]() |
custom-code-review-rules + Provide feedback on Bito-reported issues(类似 Learnings) + guidelines |
Custom Prompt (直接修改 Prompt) extra-instructions (在默认 Prompt 上叠加额外指令,CR 自定义规则使用这种方式) Best Practice + Auto(类似 Learnings) + Custom(类似guidelines) |
| MCP 集成 | 支持 | 无 | 无 |
| Lint 集成 | 40+ https://docs.coderabbit.ai/tools/index#linters-and-security-analysis-tools Linters:ESLint, Pylint…. Security analysis:Gitleaks, Semgrep, Brakeman… |
20 + https://docs.bito.ai/ai-code-review-agent/supported-programming-languages-and-tools#static-code-analysis-and-open-source-vulnerabilities-check Static Code Analysis / Linters Open Source Vulnerabilities Check |
无 |
| IDE 支持 | VSCode 仅 CodeReview > You vibe, we verify ![]() |
VSCode、JetBrains 编程助手+CodeReview |
VSCode、JetBrains 仅编程助手 —— Qodo Gen |
| 合并请求集成 | GitHub、GitLab、BB、Azure DevOps | GitHub、GitLab、BB | GitHub、GitLab、BB |
| 项目管理集成 | Jira、Linear、GitHub https://docs.coderabbit.ai/integrations/issue-integrations#issue-trackers 支持读取 、创建 Issue |
Jira https://docs.bito.ai/ai-code-review-agent/jira-integration 支持读取Issue |
|
| CLI 支持 | 支持 | 支持 | 支持 —— Qodo Command(企业版) PR Agent CLI(开源) |
| 配置方式 | UI: + Organization settings + Repository settings 文件: + YAML Template – YAML validator + Central configuration priority + Local .coderabbit.yaml file + Central configuration + Repository settings + Organization settings |
UI (类似 SonarQube): + 创建Code Review Agent,关联 repo + CICD 设置 Agent 变量,触发 |
文件: + Global-level:指定名称 repo + Project-level:default 分支 |
| 看板 | 看板简陋: 仅 PR 状态相关指标 https://docs.coderabbit.ai/guides/reports-overview 可用自然语言查询 https://docs.coderabbit.ai/guides/custom-reports 没有采纳率等指标 |
数据丰富:多指标、多维度 https://docs.bito.ai/ai-code-review-agent/code-review-analytics “Overview” dashboard: + Code Requests Reviewed + Lines Reviewed + Repositories Reviewed + Submitters + Issues Found + Issues Categories + Merged PRs + Issues Evaluated for Acceptance Rate + Acceptance Rate + Skip Reason “Submitter Analytics” dashboard + Issues Reported Per 1K Lines + Issue Distribution by Category “Repository Analytics” dashboard |
看板简陋:仅Qodo Merge Impacts per 1K Lines https://docs.qodo.ai/qodo-documentation/qodo-merge/learn-more/impact-evaluation |
| 效果 | ![]() |
![]() |
![]() |
| 私有化 | 支持 https://docs.coderabbit.ai/self-hosted/gitlab > The self-hosted option is only available for CodeRabbit Enterprise customers with 500 user seats or more. docker 部署,Webhook 模式 |
支持 https://docs.bito.ai/ai-code-review-agent/install-run-as-a-self-hosted-service + Install/run via CLI + Install/run via webhooks service + Install/run via GitHub Actions |
支持(下面是 PR Agent 的私有化部署文档, Qodo Merge 的私有化没有找到文档,但 Pricing 中说支持私有化) https://docs.qodo.ai/qodo-documentation/qodo-merge/pr-agent/installation/index#self-hosted-pr-agent + Run as Pipeline + Run as webhook service + Run as a AWS Lambda Function |
| demo | |||
| 价格 | ![]() |
![]() |
![]() |
| 使用体验 | 太多指令,使用复杂 |
总结
| 总结 | What should we do? | |
|---|---|---|
| 模型 | 均支持私有化部署,但使用 MaaS 模型,推荐 Claude 4 / ChatGPT 5,不建议使用其他模型 | 代码评审模型用 MaaS 或私有化大参数模型?或者支持 Claude、ChatGPT? |
| 上下文 | 均对上下文做了增强,如知识库、RAG、内置 Linter、集成 Issue、集成 MCP 等 | 使用 Loom 做 Review? MCP 对接 GitLab Issue? |
| 规则 | 均支持多种规则,全局、项目 | 支持全局规则? |
| 对话模式 | 均提供对话模式,可以和 AI 讨论评审建议,并自动总结用户习惯作为规则(Auto Learning) | 支持对话模式?自动总结规则? |
| 评审方式 | 均在 MR/PR 中进行 review,若提供 IDE 插件,可以在 IDE 侧 review 未提交或未合并的代码 | 基于 Loom 的 IDE 侧评审? |
| 增量评审 | 均提供增量 review,以提高速度,节省 Token | TBD |
| 产品形态 | 均提供 Web、IDE、CLI 形式 | CodeRider 是否提供 CLI,集成在 GitLab CI 中 |
| 功能延申 | 均在提供除 AI 代码评审外的延申功能,如 Bito 提供 AI Coding 助手,Qodo 有完整的工具链(Gen, Merge, Aware),CodeRabbit 也提供单测生成等功能 | CR 本身具备这些能力 |
| 使用方式 | 指令都比较多,有一定的上手成本 | 与 GitLab 集成,在网页上点按钮即可完成 多种 review,无需操作指令 |
| 价格 | SaaS 价格约 25 美金一人月,私有化另算 |
1 个席位能用所有项目?
2. 使用 Claude Code 结合 GitLab CI 实现 CodeReview
GitLab CI
- comments contains “/review”
对话
规则
学习规则
全局规则
建议
MCP











