What Code Review is and its current status
Code Review is a feature of Claude Code that automatically analyzes pull requests in GitHub repositories. Anthropic introduced it in March 2026 as a research preview for Team and Enterprise plans, and has since made it generally available. The system does not replace human review: its purpose is to detect errors that a quick read might miss, complementing the work of human reviewers.
The feature operates through a multi-agent workflow: when a pull request is opened, a team of agents is deployed to work in parallel. These agents search for bugs, verify findings to reduce false positives, and classify issues by severity. The result is published as a high-signal overview comment on the pull request, along with inline annotations for each specific bug identified.
How work is distributed among agents
The depth of the review scales with the size and complexity of the pull request. Large or complex changes receive more agents and a deeper analysis, while trivial changes receive a lightweight pass. According to Anthropic's internal testing, the average review takes around 20 minutes.
The agents do not approve or reject the pull request. Anthropic explicitly states that Code Review does not approve pull requests: that decision remains a human responsibility. The system closes the gap between the volume of generated code and reviewers' capacity to read it thoroughly, allowing developers to focus on relevant findings.
Task distribution in the Code Review workflow
Each agent has a specific role within the review process.
| Stage | Function | Output |
|---|---|---|
| Bug search | Agents analyze code in parallel to identify potential defects | List of candidate findings |
| Verification | Findings are checked to filter out false positives | Confirmed bugs |
| Classification | Bugs are ordered by severity | Overview comment and inline annotations |
Results published by Anthropic
Anthropic has published metrics from its internal use. Before implementing Code Review, 16% of pull requests received substantive review comments; that figure is now 54%. In large pull requests (over 1,000 lines changed), 84% receive findings, averaging 7.5 issues. In small pull requests (under 50 lines), that percentage drops to 31%, averaging 0.5 issues.
Less than 1% of findings are marked as incorrect, according to Anthropic engineers' assessment. These data come from the company's internal testing and usage; they do not constitute an independent evaluation or a guarantee of detection in all contexts. Accuracy may vary depending on the type of code, project complexity, and team configuration.
GitHub integration and required permissions
Code Review integrates through a GitHub App that requires specific permissions. The app needs read and write access to contents, pull requests, issues, checks, and actions, in addition to metadata and organization member permissions. These permissions allow cloning repositories, creating pull requests, posting review comments, and reading CI status for auto-fix.
The feature is available for GitHub.com and GitHub Enterprise Server (GHES). For GHES, an organization owner must connect the instance once; afterward, developers can use cloud sessions and receive automated reviews without additional per-repository configuration. Setup is performed in the Claude Ship section of organization settings, where Code Review is enabled for selected repositories.
GitHub App permissions for Code Review
The app requires these permissions to function correctly.
| Permission | Access | Use |
|---|---|---|
| Contents | Read and write | Cloning repositories and pushing branches |
| Pull requests | Read and write | Creating PRs and posting review comments |
| Issues | Read and write | Responding to issue mentions |
| Checks | Read and write | Posting Code Review check runs |
| Actions | Read | Reading CI status for auto-fix |
Cost, spend control, and limitations
Reviews are billed based on token usage and typically cost between $15 and $25 on average, scaling with the size and complexity of the pull request. Administrators can control spend through monthly organization-level caps, enabling the feature only on selected repositories, and monitoring usage via the analytics dashboard.
Code Review is not compatible with the GitHub MCP server on GHES instances. To use GitHub Actions on GHES, manual workflow setup is required; the /install-github-app command only works on GitHub.com. The feature is not available on individual plans; it requires a Team or Enterprise plan. Teams must verify that their GitHub instance is reachable from Anthropic's infrastructure if using cloud sessions, allowing Anthropic's outbound IP addresses in their firewalls.
Keep exploring
Corrections and transparency
If you spot incorrect or outdated information, send us a correction with the page and source we should review.
Submit a correction