CodeRabbit Documentation - AI code reviews on pull requests, IDE, and CLI (original) (raw)

General Questions

How to trigger a CodeRabbit Review?

Once installed, CodeRabbit automatically triggers a review when a pull request is opened against the main branch of any repository. We automatically detect the name of the primary branch (whether this be master, main, dev, etc). You have fine-grained control over what gets reviewed: target branches, draft PRs, labels, title exclusions, and more — through automatic review controls. You can also manually trigger a review at any time by commenting on a pull request with one of these commands (see Commands for full list):

How to run a review from my IDE?

You can trigger CodeRabbit reviews directly from your IDE using our editor plugins:

These plugins allow you to request reviews without leaving your development environment. See the individual plugin documentation for installation and usage instructions.

How to install CodeRabbit?

View step by step instructions depending on your platform:

How accurate is CodeRabbit?

CodeRabbit demonstrates high accuracy in code reviews based on early adoption results. While 100% accuracy isn’t guaranteed due to AI’s evolving nature, our technology continuously improves through:

Language Support

CodeRabbit works with all programming languages, with varying proficiency based on:

What’s the difference between CodeRabbit Code Reviews and CodeRabbit Reports?

CodeRabbit offers two distinct features that serve different roles in your development workflow:

CodeRabbit Code Reviews

Role: Developer, QA, and Code ReviewerAccess Level: Full code access with comprehensive analysis capabilities Key Features:

CodeRabbit Reports

Role: Project Manager and Communication HubAccess Level: Summary-only access without direct code interaction Key Features:

In Summary:

Data Security

Your proprietary code remains confidential with CodeRabbit. CodeRabbit never uses customer code for model training. Data retention only controls whether CodeRabbit stores code-related data on our side to support features such as learnings and related review context.

Organization Management

Switch between organizations easily:

  1. Click organization name (top-left corner)
  2. Select desired organization
  3. Access organization-specific settings

Organization Switcher Organization Switcher

Comparison with Other Tools

Code reviews remain essential, whether the code is written by a human or a bot. This is mainly because the perspective of the reviewer differs from that of the code generator, whether human or machine. This distinction is precisely why human peer reviews have been effective for so long. While AI-powered code-generation tools like GitHub Copilot hold immense potential, it’s important to recognize that these generators are still in their early stages and may not be equipped to auto-generate meaningful code for moderately complex applications.

vs AI Code Generators

vs Traditional Review Tools

Usage and Configuration

When Does CodeRabbit Review PRs?

CodeRabbit- Full-Review

Customization Options

How to Add or Update Your Billing Email

To add or update your billing email, go to Subscription and Billing, select Billing Overview, then edit Billing information. Update the billing email or additional invoice recipients, review the change, and save.

Usage and Configuration

Access & Permissions

Interaction Guide

Interact with CodeRabbit by:

  1. Replying directly to CodeRabbit comments
  2. Tagging @coderabbitai in PR discussions
  3. Adding review comments for specific lines
  4. Customize via review instructions

Usage Limits

During a trial, review limits follow the selected trial tier, such as Pro or Pro+. Open-source plans have separate rate limits that vary by project community and popularity, while paid plans have higher limits. In all cases, limits refill over time rather than resetting all at once, so further reviews and conversations become available again without waiting for a full reset window. For Pro and Pro+ PR reviews, your plan includes a set number of PR reviews per developer, per hour (for example, up to 5 per hour on Pro), refilling over the hour rather than resetting all at once. CodeRabbit’s PR review limits are designed for modern development workflows where humans, coding agents, and automation may all open PRs or request reviews. Because each review uses compute, fair usage limits help manage costs, keep the service reliable, and preserve review capacity for all teams. CodeRabbit uses recent PR review activity to decide when more reviews become available. Developers with typical PR review activity continue to see reviews refill normally for their plan. During sustained high-volume usage or concentrated bursts of review requests from one developer identity, CodeRabbit may temporarily space out additional reviews for that developer. Reducing or pausing review activity lets recent usage come down over time, which can restore faster refill behavior. Your plan allowance is not changed. To learn more, see our Fair Usage Limits Policy. See Rate limits for the per-developer limits on each plan. To reduce unnecessary PR reviews, tune automatic review controls: pause automatic incremental reviews after 1 or 2 reviewed commits, turn off automatic reviews and add a configured ready-for-review label to opt PRs in, use title exclusions for WIP or generated changes, or request reviews manually. If your organization needs uninterrupted eligible over-limit reviews, you can purchase credits through the Usage-based Add-on. CLI and agentic API-key reviews also use assigned-seat allowance first, then usage credits only for eligible over-limit reviews.

How can I check my remaining PR review limit?

You can comment @coderabbitai rate limit or ask an obvious question such as @coderabbitai reviews remaining? to check your PR review limit and refill timing without consuming a review.

Plans and Pricing

What’s the difference between Pro and Pro+?

The Pro plan includes all the features you need for AI code reviews — PR reviews, docstrings, autofix, built-in pre-merge checks, integrations, , and analytics. All ongoing improvements to review functionality are included in Pro. The Pro+ plan includes everything in Pro, plus tasks and actions that happen upstream and downstream of the review process — CodeRabbit Plan and issue planning, unit test generation, simplify code, merge conflict resolution, and other pre/post-merge actions. Pro+ also offers higher rate limits and increased limits for MCP connections and linked repository analysis. See Plans and pricing for the full comparison.

What billing details are required, and how are the emails used?

CodeRabbit collects account contact details (name, company, primary email, phone) and invoice details (billing email, billing address, optional Tax ID) when you start or update a paid subscription. See Billing and changing plans for the full breakdown of required fields and how each is used.

What are the legacy plan rules?

Active Lite and Pro Legacy customers keep their current plan with automatic renewal; inactive or canceled legacy plans cannot be reactivated from the plan picker. See Billing and changing plans for details.

How do upgrades and downgrades work?

Upgrade-style changes (adding seats or moving to a higher plan) take effect immediately; downgrade-style changes are scheduled for the end of the billing cycle. See Billing and changing plans for the full behavior table.

Is CodeRabbit Agent for Slack included in my subscription?

No. CodeRabbit Agent for Slack is billed separately from CodeRabbit review plans (Pro, Pro+, Enterprise). Your CodeRabbit subscription covers pull request reviews, IDE and CLI reviews, and related features. CodeRabbit Agent for Slack usage is measured in agent minutes — the actual runtime each run spends working, and is charged independently. You do not need a paid CodeRabbit review plan to use CodeRabbit Agent, and a paid review plan does not include Agent usage. Some Agent trials include a limited Agent Minutes grant; after the trial grant is exhausted or expires, an admin must activate the Agent plan before new Agent runs can continue. See the Slack Agent overview and Usage for details.

Integration Guide

Prerequisites

Quick Setup

  1. Sign up at coderabbit.ai using your GitHub account
  2. Add your repository through the dashboard
  3. That’s it. CodeRabbit will automatically start reviewing your PRs

Unable to View Repositories in GitLab

If you cannot view repositories in the CodeRabbit UI, please ensure that you are added as a Developer in the primary group for GitLab Cloud or in the first level group for Self-Hosted GitLab.

Unable to Enable Repositories in GitLab

If you’re having trouble enabling the GitLab Repositories toggle, confirm that you have Maintainer access in the primary group for GitLab Cloud or in the first level group for Self-Hosted GitLab.

Account Management

How do I cancel my subscription?

If you can manage your organization’s subscription, go toSubscription and Billing, open your current plan, click Cancel CodeRabbit paid plan, and follow the prompts to confirm. If the page is read-only, ask an organization Admin or Billing Admin to make the change. For the full flow, see Canceling a paid subscription.

How to troubleshoot CodeRabbit not functioning on certain repositories?

If CodeRabbit is not functioning on certain repositories, it is likely due to the repository not being accessible to CodeRabbit and you must reinstall the GitHub App or GitLab Integration. To troubleshoot this issue, please attempt to reinstall the GitHub App or GitLab Integration by following the steps below:

  1. Remove OAuth App from User Settings > Applications
  2. Remove Webhook from Group > Project Settings > Webhooks
  3. Go into the Coderabbit App and install it again. Install

How do I delete my CodeRabbit account?

  1. Sign into your CodeRabbit account
  2. Navigate to the Subscription page
  3. Click the Delete Account button
  4. Review the deletion confirmation modal
  5. Type “delete” to confirm
  6. Complete platform-specific cleanup on the tab above.

A confirmation modal will appear explaining the consequences of account deletion. You can expand each section for detailed information:

Delete AccountDelete Account

After account deletion, you must:Remove OAuth App:

  1. Go to Organization settings
  2. Click OAuth Application Policy
  3. Find coderabbitai and click the pencil icon
  4. Click Revoke

Uninstall GitHub App:

  1. Go to Organization settings
  2. Click GitHub Apps
  3. Select Configure
  4. Click Uninstall

Complete these steps:

  1. Remove OAuth App from User Settings > Applications

  2. Remove Webhook from Group > Project Settings > Webhooks

  3. Remove Bot User from Group > Manage > Members

  4. Go to Project Settings > Service Hooks

  5. Delete CodeRabbit webhooks

  6. Remove CodeRabbit user or delete associated Personal Access Token

  7. Go to Project Settings > Webhooks

  8. Delete CodeRabbit webhooks

  9. Remove CodeRabbit user or delete associated App Passwords