Grafy News
Try Grafy free

AI Agents Are Now Writing and Reviewing Their Own Code

Nearly half of engineers report that AI agents are reviewing the code they generate, creating new bottlenecks in the software delivery lifecycle.

Illustration for the news story: AI Agents Are Now Writing and Reviewing Their Own CodeSource: VentureBeat — AI

Software engineering workflows are undergoing a fundamental shift as AI agents transition from simple assistants to autonomous participants in the development lifecycle. According to a new report from LeadDev, nearly half of the surveyed engineers and leaders indicate that the same AI agents responsible for writing code are also being tasked with reviewing it.

This automation is driving a massive increase in output, but it is simultaneously creating a new structural bottleneck. The LeadDev AI Code Review Report 2026 reveals that pull requests per developer have risen by at least 25% since the adoption of AI coding tools. Consequently, 45% of respondents identified code review capacity as the primary constraint slowing down software delivery.

Why is code review becoming a bottleneck?

As AI tools lower the barrier to generating code, the volume of changes entering the pipeline has outpaced the ability of human engineers to verify them. Harjot Gill, CEO and co-founder of CodeRabbit, noted that the traditional "gate" of product management grooming backlogs has been bypassed because the cost of moving from an idea to code has plummeted. This means the review stage has become the final, and often congested, checkpoint for all new software changes.

Data from the report suggests that pull requests are not just more frequent, but also larger in scale. Approximately 67% of respondents reported an increase in the size of pull requests. This growth makes thorough manual inspection difficult, leading many developers to skim through changes rather than performing line-by-line analysis. This trend is reflected in the fact that 38% of respondents say review cycles have actually slowed down since adopting AI, compared to only 25% who say they have sped up.

How confident are engineers in AI-generated code?

Despite the speed of generation, there is a significant gap in human understanding of the resulting output. Only 26% of those surveyed expressed high confidence in their ability to understand AI-generated changes as thoroughly as they do human-written code.

While 82% of respondents still perform manual reviews of AI-generated code before merging, the depth of these reviews varies. According to the report, 58% of engineers feel they understand the general intent of the AI's code but struggle to grasp every specific detail. Furthermore, 11% of reviewers admit they are primarily checking whether the code simply runs and passes its tests, rather than performing a deep logic or architectural audit.

What are the risks of autonomous AI review?

One of the most significant concerns raised in the report is the practice of using the same agent for both creation and validation. While 47% of organizations rely on AI agents to review the code they themselves wrote, experts suggest caution. Paul Nashawaty, a principal analyst at Efficiently Connected, advised that while AI is helpful, developers should not rely on the same agent that generated the code to act as the final validator.

There is also a lack of context and oversight in many current workflows. Only 18% of respondents feel they have enough context to judge the architectural impact or the "blast radius" of an AI-suggested change. Additionally, 68% of reviewers reported that they do not consistently know which specific changes require deeper, more rigorous scrutiny.

How can organizations manage AI code governance?

To mitigate these risks, the report suggests that enterprises must move toward more structured governance and multi-layered verification. Rather than treating AI review as a single step, organizations should combine independent AI review, automated testing, security scanning, and human oversight based on the complexity of the task.

Effective management also requires clear accountability and escalation rules. For high-risk changes—such as those involving payment logic, database migrations, or authorization rules—human intervention should be mandatory. Some organizations are already implementing risk-based models where low-impact changes may ship with less oversight, while engineers who frequently introduce defects are subjected to stricter human review protocols.

How to apply these insights in your workflow

For developers looking to maintain high standards while leveraging the speed of AI, the key is to use these tools as part of a broader, multi-step process rather than a complete replacement for human judgment.

If you are building or testing new software, you can use Grafy Code to experiment with AI-driven development in a controlled environment. To better understand the complexities of the code your AI is producing, you might also use Grafy Reader to analyze technical documentation or research papers that provide the necessary architectural context for your projects.

Frequently asked questions

Is AI code review slowing down software delivery?

Yes, for many teams, the increased volume of code generated by AI has made review capacity a major bottleneck. While AI allows for faster code generation, 38% of surveyed engineers reported that review cycles have slowed down since adopting these tools, as the sheer size and frequency of pull requests overwhelm manual inspection processes.

Do engineers trust AI-generated code as much as human code?

No, there is a notable lack of confidence in AI-generated changes compared to human-written ones. Only 26% of engineers surveyed are very confident that they understand AI-generated code as thoroughly as code written by humans, with many noting they understand the intent but not the granular details.

Who is held accountable when an AI agent writes and reviews code?

Accountability remains largely centered on humans rather than the AI itself. In scenarios where an AI writes code and another agent reviews it, 48% of respondents believe the person who requested the change should be held accountable for its behavior in production, while 14% believe the person who approved it carries the responsibility.


Source: VentureBeat — AI — Nearly half of surveyed engineers and leaders say the AI agents that write their code also review it