AI Agents Started Half of GitHub Pull Requests: Explained

A developer reviewing a pull request on a large monitor

AI Agents Started Half of GitHub Pull Requests: Explained

A developer reviewing a pull request on a large monitor

If you searched for AI agents started half of GitHub pull requests what it means for developers, you have seen the headline that defines coding in 2026. According to GitHub's Octoverse 2026 report, AI agents now start about half of all pull requests on the platform.

The code that developers review, merge and maintain is increasingly written by software, not by people.

The milestone matters less as a number than as a turning point. Pull requests are where code becomes a team's shared property: they are reviewed, discussed, tested and merged. When half of them start with an agent, the review process, the junior developer's job and the meaning of code quality all change at once.

This guide explains what the shift means in plain English: how we got here, what it does to code review, what it means for junior developers and code quality, and how teams should adapt. The headline stat is GitHub's; the implications are what this guide adds, and where a claim is uncertain, it says so.

The Short Answer

AI agents starting half of pull requests means the bottleneck in software development has moved from writing code to reviewing it. The volume of code a team produces rises sharply, but the capacity to review it does not, so review becomes the scarce resource and the skill that matters most.

A team doing a code review around a table with laptops
Key Takeaways

  • GitHub's Octoverse 2026 reports AI agents start about half of all pull requests on the platform.
  • The bottleneck in development moves from writing code to reviewing it, which does not scale the same way.
  • Review burden rises: every agent-written PR still needs a human who understands and owns the change.
  • Junior developers lose the routine work that once taught them the codebase, so onboarding must be redesigned.
  • Code quality depends more than ever on tests, since tests are the check that catches agent mistakes.

How AI Agents Reached Half of Pull Requests

The shift happened fast, and it happened because the agents got good enough. Claude Code, Codex, Cursor and Copilot can now open a pull request that implements a feature, fixes a bug or refactors a module, with tests, and the human's job is to review it.

The agents work through repositories rather than single files, and they run the tests and fix the failures they find.

The volume follows from the economics. An agent can open a pull request in minutes, and a team that once opened ten pull requests a week can now open fifty. The cost per pull request falls, the volume rises, and the platform's statistics follow.

GitHub's Octoverse report captures the moment the volume crossed the halfway mark, but the trend was visible for a year before it.

The shift is also visible in who writes the code. The pull request author is increasingly an agent acting on a developer's instruction, and the developer's role is to direct, review and own the result.

That is a real change in what it means to be a developer, and it is happening faster than most teams have adapted to it.

What Counts as an Agent-Started Pull Request

An agent-started pull request is one opened by an AI agent, usually from an instruction such as fix this bug or implement this feature, with the agent writing the code, the tests and the description. The human may have written the instruction in a sentence or two, and the agent did the rest.

A junior developer pairing with a senior at one screen
The Review Burden: The New Bottleneck

The problem with agent-written code is not that it is bad; it is that there is so much of it. Every pull request, whoever wrote it, needs a human who understands the change, checks it against the design, and owns the result when it breaks in production.

Review capacity does not scale the way agent output does, because review requires understanding, and understanding takes time.

The result is a review bottleneck. Teams that celebrated the speed of agent-written code discover that their pull requests sit unreviewed for days, that reviewers skim instead of reading, and that the quality of review falls as the volume rises.

The bottleneck moved, it did not disappear, and the teams that ignore it ship worse code faster.

The fix is to change how review works. Smaller pull requests, better descriptions, automated checks that catch the routine issues, and review assignments that match the reviewer's expertise to the change. The teams that adapt treat review as the scarce resource and protect it; the teams that do not drown in their own output.

Why Tests Matter More Than Ever

Tests are the check that catches agent mistakes at scale. An agent that writes code and tests, and runs the tests until they pass, produces code that is verified by construction, at least against the tests it wrote.

But tests written by the same agent that wrote the code share its blind spots, which is why human-written tests for the important behaviour still matter.

What the Shift Means for Junior Developers

Junior developers are hit hardest by the shift, because the routine work that once taught them the codebase is now the work agents do first. The first job of a junior developer used to be small bug fixes, small features and test writing, and that work taught them how the system fits together.

When an agent does that work, the learning path disappears.

The evidence for the squeeze is in the hiring data. Stanford's Digital Economy Lab found employment for 22-to-25-year-olds in the most AI-exposed occupations fell about 11 percent from late 2022, driven by weaker hiring rather than layoffs. Anthropic's research found hiring into high-exposure occupations fell about 14 percent for the same age group.

Employers did not fire their experienced people; they stopped opening the entry-level seat.

The answer is not to protect routine work from agents, which is a losing battle, but to redesign how juniors learn. Pair a junior with an agent and a senior reviewer, give the junior the review task instead of the writing task, and make understanding the system the explicit goal of the first year.

The ladder is not gone; its first rung has moved.

The Career Ladder, Compressed

The career ladder is compressing: graduates are expected to contribute at a higher level from day one, because the routine tasks that once justified a junior role are handled by agents.

The experience paradox, that everybody wants to hire someone with three years of experience and nobody wants to give them three years of experience, has become the norm.

Code Quality in the Age of Agent Pull Requests

The quality question is the most contested part of the shift. Optimists point out that agents write consistent, well-tested code and never get tired. Pessimists point out that agents produce plausible-looking code with subtle bugs, and that the volume makes those bugs harder to catch.

Both are right, and the net effect depends on the team's process, not on the agent.

The evidence so far is mixed. Independent testers who ran the same coding task through six models found the best model got every hidden test right in three runs out of four, which is good but not perfect.

A one-in-four failure rate on hidden tests is acceptable when a human reviews the result, and dangerous when nobody does. The review is the quality control, and it cannot be skipped.

How to Keep Quality High

Keep quality high with four rules. First, small pull requests, so review is feasible. Second, tests written or reviewed by a human for the behaviour that matters. Third, a human reviewer who understands the change and owns it, never a rubber stamp.

Fourth, measure defect rates and revert the process, not just the code, when quality slips.

Development Before and After Agent Pull Requests

How the developer's job changes when agents write half the code.

Part of the jobBefore agentsAfter agents
Writing codeThe main workDirected, agent does the typing
Reviewing codePart of the jobThe bottleneck and the key skill
TestsWritten by the developerWritten by agent, checked by human
Junior learningSmall tasks teach the systemReview and pairing teach the system
Volume of PRsLimited by typing speedLimited by review capacity
Quality controlReview catches human errorsReview catches agent errors
Owning the resultThe author owns itThe reviewer owns it

Real Examples: Teams Adapting to Agent PRs

A team that adopted Claude Code found its pull request volume tripled in a month, and its review queue grew from hours to days.

The fix was to split work into smaller pull requests, to require the agent to write a clear description of each change, and to assign reviewers by expertise rather than by rotation. The queue cleared in two weeks, and the defect rate stayed flat.

A team onboarding a junior developer changed the programme completely. Instead of small bug fixes, the junior now reviews agent-written pull requests with a senior, learning the system by reading and questioning the agent's output.

The junior's first solo feature took longer to arrive, but when it did, the junior understood the system better than the previous cohort had at the same stage.

Agent Pull Request Checklist for Teams

  1. Require a clear description of what changed and why.
  2. Redesign junior onboarding around review and pairing, not routine tasks.

Frequently Asked Questions

Do AI agents really write half of GitHub pull requests?

According to GitHub's Octoverse 2026 report, AI agents now start about half of all pull requests on the platform. The figure is GitHub's own telemetry, and the exact methodology is theirs, but the direction is unambiguous: agents are now a major source of code.

What is the biggest problem with agent-written code?

Volume. Agents produce far more code than humans can review, so review becomes the bottleneck. The code itself is often good, but the review capacity does not scale with agent output, and unreviewed code is a liability whoever wrote it.

Will AI agents replace developers?

No, but they change the job. Developers spend less time writing code and more time directing agents, reviewing output and owning results. The skills that matter most are now system understanding, judgement and review, not typing speed.

How should teams review agent-written pull requests?

Keep them small, require clear descriptions, review the tests first, and assign reviewers by expertise. A human who understands the change must approve it, and defect rates should be measured before and after adopting agents.

What does the shift mean for junior developers?

Junior developers lose the routine work that once taught them the codebase, and hiring data shows entry-level roles in AI-exposed occupations falling. Teams should redesign onboarding around review and pairing, and graduates should build system understanding and judgement.

Does agent-written code have more bugs?

The evidence is mixed. The best models get hidden tests right about three times in four in independent testing, which is good but not perfect. Quality depends on the team's process: tests, small pull requests and real review keep defect rates flat.

Conclusion

AI agents starting half of GitHub pull requests is not the end of developers; it is the end of typing as the developer's main job.

The work moves to directing, reviewing and owning, and the teams that thrive will be the ones that treat review as the scarce resource, redesign how juniors learn, and measure quality instead of assuming it. The code is cheaper to produce than ever. Understanding it is more valuable than ever.

For the tools behind the shift, see our roundup of the best AI coding assistants for developers and our guide to which AI is best for coding. For pricing, read Claude Code pricing vs Codex vs Gemini CLI, and for the wider field, the best AI tools for coding.

on this page