/img/avatar.jpg

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
+ 私有化支持自定义模型,但官方强烈建议使用默认模型
架构 ./AI_Code_Review________1_1761972196512.png 没有架构图,有一篇 Blog 介绍:
https://bito.ai/blog/how-does-bitos-ai-that-understands-your-code-work/
./AI_Code_Review________2_1761972196514.png
./AI_Code_Review________3_1761972196519.jpg
上下文 Knowledge Base :guidelines & learning
Review instructions:config
Issue
Lint
MCP

没有查到使用 RAG,但配置里有部分 embed 模型
https://docs.coderabbit.ai/self-hosted/github#prepare-an-env-file
./AI_Code_Review________4_1761972196522.png
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
./AI_Code_Review________5_1761972196524.png
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
./AI_Code_Review________6_1761972196526.png
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
效果 ./AI_Code_Review________7_1761972196529.png ./AI_Code_Review________8_1761972196532.png ./AI_Code_Review________9_1761972196534.png
私有化 支持
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
价格 ./AI_Code_Review________10_1761972196535.png ./AI_Code_Review________11_1761972196538.png ./AI_Code_Review________12_1761972196542.png
使用体验 太多指令,使用复杂

总结

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
+ 私有化支持自定义模型,但官方强烈建议使用默认模型
架构 ./AI_Code_Review________1_1761971700271.png 没有架构图,有一篇 Blog 介绍:
https://bito.ai/blog/how-does-bitos-ai-that-understands-your-code-work/
./AI_Code_Review________2_1761971700274.png
./AI_Code_Review________3_1761971700278.jpg
上下文 Knowledge Base :guidelines & learning
Review instructions:config
Issue
Lint
MCP

没有查到使用 RAG,但配置里有部分 embed 模型
https://docs.coderabbit.ai/self-hosted/github#prepare-an-env-file
./AI_Code_Review________4_1761971700282.png
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
./AI_Code_Review________5_1761971700283.png
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
./AI_Code_Review________6_1761971700285.png
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
效果 ./AI_Code_Review________7_1761971700288.png ./AI_Code_Review________8_1761971700290.png ./AI_Code_Review________9_1761971700291.png
私有化 支持
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
价格 ./AI_Code_Review________10_1761971700293.png ./AI_Code_Review________11_1761971700296.png ./AI_Code_Review________12_1761971700299.png
使用体验 太多指令,使用复杂

总结

Vibe Coding 屠龙纲要

/vibe_coding_guidance/dragon.png

Vibe Coding氛围编程作为一种新兴的编程范式,由OpenAI联合创始人、前特斯拉AI部门总监Andrej Karpathy于2025年2月在社交平台X上首次提出。以Cursor Agent模式(Composer)为代表的编程智能体作为Vibe Coding的基础工具,为软件开发带来了革命性的便利,让开发者能够通过自然语言表达编程意图,指导AI编写、测试、优化代码。

CodeRider Loom基于自定义组件生成前端页面

/coderider-loom-design-webpage-based-on-custom-component/a2c4dd51-8b8f-46b3-bf45-c3da64b25da9.png

1. 需求背景

在企业一些表单类系统业务场景中,研发团队一般会根据业务情况封装一些自定义的前端组件库。如基于Vue和Element UI,使用企业统一的设计风格,实现了文本框、日期选择器、地址选择器、表单控件、下拉菜单等组件,部分组件甚至预绑定了数据源。