You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/overview/why-coderabbit.md
+402-30
Original file line number
Diff line number
Diff line change
@@ -6,61 +6,433 @@ sidebar_position: 2
6
6
description: CodeRabbit is AI-powered code reviews built for modern development teams
7
7
---
8
8
9
-
As developers, we understand the critical value of code reviews - they're the backbone of maintaining code quality and knowledge sharing across teams. But let's be honest about the growing challenges: as codebases expand and development velocity increases, traditional code reviews often become a bottleneck. This is where CodeRabbit comes in, not to replace human reviewers, but to make their work more impactful and helpful.
9
+
import Tabs from '@theme/Tabs';
10
+
import TabItem from '@theme/TabItem';
10
11
11
-
### Deep Understanding, Immediate Insights
12
+
#Why CodeRabbit?
12
13
13
-
Think about how you approach reviewing a complex pull request. You first try to understand the context, examine potential edge cases, and consider architectural implications. CodeRabbit performs this same thoughtful analysis, but delivers insights within minutes of PR submission.
14
+
Looking back at CodeRabbit's journey, our fundamental reasons remain unchanged:
14
15
15
-
For example, when examining a change to your authentication system, CodeRabbit doesn't just flag syntax issues - it analyzes the entire authentication flow, identifying potential security vulnerabilities in token handling or session management specific to your implementation:
16
+
1.**To build the best code review experience in the tech**
17
+
18
+
> This continues to be our core mission. It was clear to us then, as it is now, that development workflows are becoming increasingly complex — and teams need intelligent automation to maintain quality while moving fast.
19
+
20
+
2.**In an ever-evolving tech space, we believe AI-powered code review is the future**
21
+
22
+
> Just like Git revolutionized version control and CI/CD transformed deployments, we believe AI-assisted code review will become the standard for quality assurance.
23
+
24
+
3.**An insight that modern code review can be reimagined**
25
+
26
+
We call this approach _contextual analysis_, which allows us to understand not just the code changes, but their implications across your entire codebase. This enables us to provide insights about:
27
+
28
+
- Security vulnerabilities
29
+
- Performance impacts
30
+
- Architectural changes
31
+
- Best practices
32
+
- Knowledge sharing
33
+
34
+
4.**The conviction that our AI can provide a better Developer Experience (DevX)**
35
+
36
+
Features such as:
37
+
38
+
- Instant analysis
39
+
- On-demand Reports
40
+
- Review Instructions
41
+
- CodeRabbit Commands
42
+
- PR summary on the fly
43
+
- Visual diagrams
44
+
- Docstrings (Beta)
45
+
- Custom review rules
46
+
47
+
> All these features improve the developer experience by reducing review time, maintaining consistency, and sharing knowledge effectively across teams.
48
+
49
+
These are CodeRabbit's foundational principles, but given the many _code review tools_ available today, let's explore why **you** should choose CodeRabbit:
50
+
51
+
---
52
+
53
+
# CodeRabbit is AI-Powered
54
+
55
+
Your intelligent code review companion that understands context.
56
+
57
+
> From its foundation as a Generative AI-first platform, CodeRabbit has evolved to become the preferred code review tool among developers because of its speed, intelligence, adaptability, and support for features like contextual analysis, security scanning, and architectural insights. CodeRabbit supports all major programming languages and integrates with popular development [tools](/tools).
58
+
59
+
:::info Get Started
60
+
If your team needs intelligent code reviews, CodeRabbit delivers. If you're new to AI-powered reviews, [sign up for a Free account](https://app.coderabbit.ai/login), join the [Discord server](https://discord.gg/coderabbit), and start the journey with us.
61
+
:::
62
+
63
+
## CodeRabbit is Context-Aware
64
+
65
+
An AI architecture built for understanding, reliability, and efficiency
66
+
67
+
<divclassName="row">
68
+
<divclassName="col col--6">
69
+
<div className="card">
70
+
<div className="card__header">
71
+
<h3>Intelligent Features</h3>
72
+
</div>
73
+
<div className="card__body">
74
+
<ul>
75
+
<li>Instant code understanding</li>
76
+
<li>Security vulnerability detection</li>
77
+
<li>Performance impact assessment</li>
78
+
<li>Architecture evaluation</li>
79
+
</ul>
80
+
</div>
81
+
</div>
82
+
</div>
83
+
<divclassName="col col--6">
84
+
<div className="card">
85
+
<div className="card__header">
86
+
<h3>Context Analysis</h3>
87
+
</div>
88
+
<div className="card__body">
89
+
Understanding context means analyzing how code changes affect the entire system, not just the modified files. This approach contrasts with traditional code review tools that only look at direct changes.
90
+
</div>
91
+
</div>
92
+
</div>
93
+
</div>
16
94
17
95

18
96
19
-
### Intelligence Through Integration
97
+
:::tip DID YOU KNOW?
98
+
CodeRabbit's AI can detect potential issues that would only surface in production, saving costly debugging time later.
99
+
:::
100
+
101
+
## CodeRabbit is Adaptive
102
+
103
+
Let the AI learn and grow with your team.
104
+
105
+
Being an adaptive system means that CodeRabbit continuously learns from your team's practices and preferences without requiring manual configuration or rule setting. When reviewers accept or reject suggestions, CodeRabbit learns and applies these preferences to future reviews.
106
+
107
+
### Real-World Example: Performance Optimization
20
108
21
-
CodeRabbit combines the specialized insights of over 20 analysis tools (ESLint, Semgrep, Checkov, and more) with AI understanding to provide meaningful, actionable feedback. But instead of drowning you in alerts, it provides curated, context-aware suggestions.
109
+
Here's a real example of how CodeRabbit identifies opportunities for performance improvement:
What makes CodeRabbit truly valuable is its ability to learn and adapt to your team's codebase, practices, and standards. It doesn't just pattern match - it builds a deep understanding through direct interactions with your team. For example, when a reviewer indicates a preference:
160
+
:::note CodeRabbit's Analysis
161
+
The current implementation processes each tool creation sequentially. Consider using Prisma's `createMany` for better performance. This batch operation can significantly reduce database round trips and improve overall execution time.
<li>Identifies common performance bottlenecks</li>
183
+
<li>Learns from your codebase's patterns</li>
184
+
<li>Suggests modern best practices</li>
185
+
</ul>
186
+
</div>
187
+
</div>
188
+
</div>
189
+
<divclassName="col col--6">
190
+
<div className="card">
191
+
<div className="card__header">
192
+
<h4>Provides Context</h4>
193
+
</div>
194
+
<div className="card__body">
195
+
<ul>
196
+
<li>Explains the reasoning behind suggestions</li>
197
+
<li>Highlights potential benefits</li>
198
+
<li>Offers committable suggestions</li>
199
+
</ul>
200
+
</div>
201
+
</div>
202
+
</div>
203
+
</div>
26
204
27
205

28
206
29
-
CodeRabbit will then:
207
+
:::tip Learning from Feedback
208
+
When you accept or reject these suggestions, CodeRabbit learns your team's preferences and adjusts future recommendations accordingly. This ensures that suggestions become increasingly relevant to your specific needs and coding standards.
209
+
:::
210
+
211
+
## CodeRabbit is Integrated
212
+
213
+
Seamless integration with your existing workflow.
214
+
215
+
CodeRabbit combines insights from multiple specialized tools into a single, coherent review:
216
+
217
+
<divclassName="row">
218
+
<divclassName="col col--3">
219
+
<div className="card">
220
+
<div className="card__header">
221
+
<h4>Security</h4>
222
+
</div>
223
+
<div className="card__body">
224
+
Semgrep, Checkov
225
+
</div>
226
+
</div>
227
+
</div>
228
+
<divclassName="col col--3">
229
+
<div className="card">
230
+
<div className="card__header">
231
+
<h4>Style</h4>
232
+
</div>
233
+
<div className="card__body">
234
+
ESLint, Prettier
235
+
</div>
236
+
</div>
237
+
</div>
238
+
<divclassName="col col--3">
239
+
<div className="card">
240
+
<div className="card__header">
241
+
<h4>Performance</h4>
242
+
</div>
243
+
<div className="card__body">
244
+
Lighthouse
245
+
</div>
246
+
</div>
247
+
</div>
248
+
<divclassName="col col--3">
249
+
<div className="card">
250
+
<div className="card__header">
251
+
<h4>Dependencies</h4>
252
+
</div>
253
+
<div className="card__body">
254
+
Dependabot
255
+
</div>
256
+
</div>
257
+
</div>
258
+
</div>
259
+
260
+
But instead of flooding you with alerts, CodeRabbit provides curated, actionable feedback.
261
+
262
+
## Tool Comparison
30
263
31
-
- Remember this preference for future reviews
32
-
- Apply this knowledge across the entire codebase
33
-
- Share this learning with the whole team through its review comments
34
-
- Maintain consistency with your established standards
When a developer opens a pull request, CodeRabbit:
286
+
When a developer opens a pull request, CodeRabbit comes into action:
287
+
288
+
<divclassName="row">
289
+
<divclassName="col col--4">
290
+
<div className="card">
291
+
<div className="card__header">
292
+
<h3>Immediate Analysis</h3>
293
+
</div>
294
+
<div className="card__body">
295
+
<ul>
296
+
<li>Scans changed files and dependencies</li>
297
+
<li>Identifies security vulnerabilities</li>
298
+
<li>Evaluates performance impact</li>
299
+
<li>Checks architectural consistency</li>
300
+
</ul>
301
+
</div>
302
+
</div>
303
+
</div>
304
+
<divclassName="col col--4">
305
+
<div className="card">
306
+
<div className="card__header">
307
+
<h3>Communication</h3>
308
+
</div>
309
+
<div className="card__body">
310
+
<ul>
311
+
<li>Generates concise summary</li>
312
+
<li>Creates visual diagrams</li>
313
+
<li>Generates a changelist and walkthrough</li>
314
+
<li>Chat option</li>
315
+
</ul>
316
+
</div>
317
+
</div>
318
+
</div>
319
+
<divclassName="col col--4">
320
+
<div className="card">
321
+
<div className="card__header">
322
+
<h3>Continuous Learning</h3>
323
+
</div>
324
+
<div className="card__body">
325
+
<ul>
326
+
<li>Remembers team preferences</li>
327
+
<li>Adapts to coding patterns</li>
328
+
<li>Shares knowledge across teams</li>
329
+
<li>Maintains consistent standards</li>
330
+
</ul>
331
+
</div>
332
+
</div>
333
+
</div>
334
+
</div>
335
+
336
+
:::note ENTERPRISE READY
337
+
CodeRabbit is built for production environments with:
338
+
339
+
- SOC 2 Type II certification
340
+
- GDPR compliance
341
+
- Zero data retention
342
+
- Self-hosted options
343
+
:::
344
+
345
+
## Start Reviewing Code in Seconds
346
+
347
+
> CodeRabbit makes it effortless to begin AI-powered code reviews. Our architecture enables instant setup and immediate code analysis, providing you with intelligent feedback within minutes.
348
+
349
+
### Three Steps to Better Code Reviews
350
+
351
+
1.**Sign in** with [GitHub](/platforms/github-com), [GitLab](/platforms/gitlab-com), or [Azure DevOps](/platforms/azure-devops)
352
+
2. Select and add a repositories in CodeRabbit dashboard
353
+
3. That's it. You're good to go.
354
+
355
+
:::tip INSTANT ACTIVATION
356
+
CodeRabbit starts analyzing your first pull request immediately - no complex configuration needed.
357
+
:::
358
+
359
+
### What You'll Get
360
+
361
+
<divclassName="row">
362
+
<divclassName="col col--4">
363
+
<div className="card">
364
+
<div className="card__header">
365
+
<h4>Immediate Benefits</h4>
366
+
</div>
367
+
<div className="card__body">
368
+
- Instant PR analysis
369
+
- Security checks
370
+
- Style enforcement
371
+
- Performance insights
372
+
</div>
373
+
</div>
374
+
</div>
375
+
<divclassName="col col--4">
376
+
<div className="card">
377
+
<div className="card__header">
378
+
<h4>Team Features</h4>
379
+
</div>
380
+
<div className="card__body">
381
+
- Custom review rules
382
+
- Team preferences
383
+
- Knowledge sharing
384
+
- Workflow integration
385
+
</div>
386
+
</div>
387
+
</div>
388
+
<divclassName="col col--4">
389
+
<div className="card">
390
+
<div className="card__header">
391
+
<h4>Advanced Tools</h4>
392
+
</div>
393
+
<div className="card__body">
394
+
- Visual diagrams
395
+
- Impact analysis
396
+
- Batch suggestions
397
+
- Pattern detection
398
+
</div>
399
+
</div>
400
+
</div>
401
+
</div>
39
402
40
-
- Analyzes changes across the entire codebase context
41
-
- Generates a clear, actionable summary
42
-
- Creates visual sequence diagrams for complex changes
43
-
- Provides specific feedback and suggestions
403
+
### Quick Configuration Examples
44
404
45
-
This means human reviewers can focus on architectural decisions and knowledge sharing, rather than catching basic issues.
For teams building production software, CodeRabbit provides:
417
+
</TabItem>
418
+
</Tabs>
50
419
51
-
- SOC 2 Type II and GDPR compliance for enterprise security requirements
52
-
- Self-hosted deployment options for complete control
53
-
- Zero data retention policy - code is analyzed in memory and immediately discarded
420
+
:::note SUPPORT AT EVERY STEP
421
+
Need help? read [quickstart](/getting-started/quickstart) or ask a question in [Discord community](https://discord.gg/coderabbit), and team is here to help.
422
+
:::
54
423
55
-
Want to see the impact yourself? Try CodeRabbit on your next complex refactoring PR - you might be surprised at the subtle implications it catches that could easily be missed in manual review.
424
+
## See the Difference
56
425
57
-
## Not convinced? Read more
426
+
Try CodeRabbit on your next pull request. Experience how AI-powered code review can:
58
427
59
-
You can read more about our custom [code review instructions](/guides/review-instructions) or how we verify issues using [knowledge bases](/integrations/knowledge-base) like Linear and Jira.
428
+
- Reduce review time by up to 90%
429
+
- Catch bugs before they reach production
430
+
- Share knowledge across your team
431
+
- Maintain consistent code quality
60
432
61
-
Join thousands of developers who are already benefiting from AI-powered code reviews.
433
+
> Start reading more about the custom [code review instructions](/guides/review-instructions) or how CodeRabbit verify issues using [knowledge bases](/integrations/knowledge-base) like Linear and Jira.
62
434
63
-
After signing up, join our active Discord community where you'll find CodeRabbit users and team members ready to help you get the most out of your code reviews.
435
+
Transform your code reviews now, [Start your free trial today](https://app.coderabbit.ai/login)and join the Discord server and chat with CodeRabbit users and team.
0 commit comments