Urgent.News

What's breaking now, across thousands of outlets.

AI

Anthropic Outlines Its AI-Powered Code Review Process for Claude Code

Anthropic has outlined how the Claude Code team handles code reviews as AI agents increasingly contribute to its codebase. The approach relies on multiple layers of automated verification, AI-powered reviews, and risk-based human approval, aiming to reduce manual review time without increasing regressions or production incidents. By Robert Krzaczyński

Anthropic has detailed the AI-powered code review process for their Claude Code system, where AI agents play a significant role alongside human oversight. The method prioritizes efficiency by shifting much of the verification earlier in the development lifecycle, with tests, builds, and linters running before any code is merged. Multiple AI reviewers independently check for bugs, with a second group verifying their findings. Security checks can halt merges if unresolved issues persist.

Human involvement is contingent on the risk level of the change. Small modifications, like documentation or internal features, often bypass human approval, while larger changes may require one or two human approvers. Modifications to sensitive areas, such as CI workflows, must always be approved by humans. To avoid overwhelming reviewers, cycles are limited to three, with subsequent reviews focusing on new changes rather than re-evaluating the entire pull request.

These changes have led to a higher success rate after the first review, rising from 65% to 78%, while those needing five or more review rounds fell from 8.9% to 1.5%. Despite this automation, software engineering decisions remain crucial, with architects and product leaders retaining ultimate responsibility. Additionally, any incidents or revert actions are fed back into Anthropic's dataset to continually refine their automated review capabilities.

This strategy focuses on mitigating risks introduced by changes rather than the sheer volume of code reviewed by humans. As the use of AI-generated code grows, Anthropic's process offers insights into how teams might adapt the balance between automated checks and human expertise in software development.

Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at infoq.com →

More in AI

I Automated a Friend's Job Search With Claude Code. The Hard Part Was Trust

A friend of mine, an engineer, was losing hours every day to her job search, and most of it wasn't deciding anything. It was checking: the inbox for job alerts, careers pages for anything new, her own…

  • Friend's job search automated with Claude Code
  • System designed to avoid mistakes and leaks
  • Final decision on resume remains with user

More from Sunday 15 November →