Agents Started 40% of Pull Requests. Now What?
Most software today changes through a pull request. Somebody writes a change and asks for it to be added to the real code, and a teammate reads it first. Reading it gives a second person the chance to say “wait, this breaks billing” before your customers find out the hard way.
Machines now write the first draft of a huge share of those requests. Between March and September of this year, the share of pull requests on GitHub that started with an AI coding agent went from about one in six to more than four in ten. The software writing the changes got six times busier in six months, and the people reading the changes did not.
When nobody really reads a change, nobody can explain it when it breaks in the middle of the night. In one survey this summer, 43% of developers and technology buyers said they can’t reliably tell AI-written code from human-written code in their own codebase, so when something goes wrong they can’t even say who - or what - to ask about it.
The fixes don’t need a new product or a bigger budget. They’re review habits most teams already half-follow, written down and made non-negotiable now that the author is so often a machine.
Six Times the Pull Requests, Same Number of Reviewers
Everyone has a pull request sitting in their queue right now that they’re hoping someone else approves first.
GitHub publishes a yearly report on how people use the platform, and this year’s edition came out at the end of October. The headline: more than 40% of pull requests on GitHub started with an agent’s first draft by September, up from 17% in March, or about 110 million agent-started pull requests in September alone - roughly six times March’s volume.
The numbers are mind-blowing. In the 12 months ending September 30, developers saved 34.3 billion commits (snapshots of their work), more than triple the count from two years earlier. They merged 1.3 billion pull requests in that time, about 3.5 million every day. Agent changes tend to be broad: about 87% of agent-started pull requests change more than one file, compared with 79% of the rest.
(No wonder GitHub Actions seems to be down every time I want to deploy.)
The report has no counts for code reviews, review time or review outcomes. Its one review number is that AI-assisted code review usage grew more than 90% year over year, which means the main growth in reading is another machine reading the first machine’s work.
The people doing the reviewing are complaining about the same thing. A survey of 1,528 developers and technology buyers published in June found that 85% believe AI moved the bottleneck from writing code to reviewing and validating it. The 43% figure comes from the same survey, along with a detail I find even more worrying: 87% were confident they could tell within a day whether AI-generated code caused a problem in production, yet 34% of the respondents who actually had one in the past year couldn’t make that call.
GitHub Measured Activity, Not Safety
The numbers prove that agents are opening an enormous number of pull requests and that teams are merging them, but measuring quality is a lot harder.
- It counts what GitHub can see. The report defines an agent-started pull request as one whose first draft came from a coding agent that GitHub can detect, and calls its agent signal a floor. Agents that leave no fingerprint aren’t counted, so the real share is higher, not lower.
- It compares single months with whole years. The 17% and 40% figures are March and September snapshots, while the commit and merge totals cover twelve months.
- The company counting sells the agents. Nobody should throw the numbers out for that, but read them as a measure of adoption and not as a product review.
- “Merged” doesn’t mean “correct.” By September, 90% of agent pull requests merged within two weeks, against about 86% for pull requests without a detected agent. It’s tempting to read that as agents writing better code than people, but it only tells you how often somebody pressed the merge button. The same 90% fits “agents are good at small chores,” “agents get the easy tickets” or “reviewers wave agent work through,” and nothing in the data tells those apart.
A study of about 33,600 agent-authored pull requests from five coding agents found that the ones that didn’t get merged tended to be larger, touch more files and fail the project’s automated checks. When the researchers categorized rejected pull requests by hand, the most common pattern was the reviewer simply walking away - the pull request closed with no meaningful human interaction at all.
Size predicts failure. I am not going to meaningfully review a 3,000-file pull request whether you wrote it yourself or had your AI do it.
Maintainers Asked for an Off Switch, and Got One
Open source felt the flood first. Anyone on the internet can open a pull request against a public project, and an agent can now produce one that looks plausible in a few minutes for almost nothing. Every one of those still costs a maintainer real time to read, test and close, and that maintainer is often a volunteer doing it in their spare time. When opening a pull request costs nothing and reviewing one costs an hour, the people sending junk will always outnumber the people reading it.
By late January GitHub was hearing enough from maintainers that it opened a discussion about low-quality contributions, including the idea of letting projects turn pull requests off entirely. Over the rest of the year it shipped a set of controls that all work the same way: they put a price back on opening a pull request, so nobody’s agent can spend a maintainer’s attention faster than the maintainer can give it.
The bluntest option arrived in February, when projects could turn pull requests off or restrict them to collaborators, so a contributor has to earn trust before getting into the queue at all. For projects that still want outside help, June brought a cap on how many open pull requests each outside contributor can have, with a bypass list for people who’ve already proven themselves. Pull requests opened by Copilot or any other agent count toward that cap, so pointing an agent at a project can’t flood it on someone’s behalf. In August organizations got the ability to apply the cap across every repository at once, and in October maintainers could count drafts toward it, closing the gap where someone could park unlimited half-finished work. For junk that still gets through, admins can archive a pull request to close it and pull it out of public view without an argument in the comments, and since October anyone with the triage role can do it. Smarter bypass rules, like trusting someone with a previously merged pull request or an older account, are still on the roadmap.
Every one of those controls targets people without write access. Inside a company the flood comes from your colleagues’ agents, running with your colleagues’ permissions, and none of these settings will slow it down. The idea transfers to your own team anyway: cap how much of a reviewer’s attention any one source can claim, and make every change earn its way into the queue.
Put a Human Back in Front of Every Merge
None of these ideas are new - agents just removed the friction that used to enforce them for free, back when writing a thousand-line change took a person a week.
Keep Every Change Small
Risk: a reviewer can’t hold a giant change in their head, so they skim it and approve the parts they understood.
Agents produce huge changes without breaking a sweat, and big changes have always been the hard ones to review. Small changes get reviewed more quickly and more thoroughly, and a reviewer is right to send a change back just for being too large. GitHub’s own guide to agent pull requests says to ask for a smaller pull request when the diff touches more than five unrelated files or its purpose can’t be stated in one sentence.
Splitting work is tedious for people and costs an agent nothing, so make the agent do it. Pick a size limit, write it down, and have your automated checks enforce it so nobody has to be the bad guy in the comments. The exact number matters less than having one that the agent hits before a human does. When a job really is big, break it into a chain of small changes that each make sense on their own, which GitHub now supports directly with stacked pull requests - more than 264,000 developers had tried them by September.
Label Agent Work
Risk: when something breaks, nobody can tell which code an agent wrote, so nobody knows which assumptions to question.
Every commit message can end with short labeled lines that git knows how to read and search, and most developers have seen one crediting a co-author. One of the oldest and strictest projects around already standardized this for AI: the Linux kernel’s rules for coding assistants ask for a line naming the tool that helped. Adopt the same habit by telling your agents to label every commit they make, and tag agent pull requests so reviewers know what they’re looking at before they open the diff.
It’s an honor system, not proof, so treat it as a label and not a forensic record. Even so, it turns “how much of our code did agents write?” from a survey question into a quick search, and it tells the person debugging an outage where to look harder.
Require Tests with Every Agent Pull Request
Risk: agent code reads well whether or not it works, and a confident description is not evidence.
A test is the cheapest proof that a change does what it claims. GitHub’s agent review guide says to require a new test that fails on the behavior before the change, because an agent that can’t write a test catching the bug it says it fixed probably hasn’t understood the bug. The same guide treats any change that weakens your automated checks as a blocker - lowered coverage thresholds, skipped tests and edited workflow conditions included.
Make it a rule your automated checks enforce: if the code changed and no tests changed, the pull request doesn’t merge. Some changes genuinely don’t need a test, so let a human grant the exception - never the agent. A passing test the agent wrote proves the agent’s understanding, not yours, so read the test first, because it’s shorter than the code and tells you what the agent thought the job was.
Give Every Part of the Code an Owner
Risk: whoever happens to be free approves the change, and the person who actually understands the payment code never sees it.
Most code hosts let you map parts of a repository to the people or teams responsible for them. On GitHub, those owners are automatically asked to review any pull request that touches their files, and a branch rule can block the merge until one of them approves. An agent has no idea who understands the billing code, so the routing has to know for it.
Give owners to the files that control how your team works, including build and deployment settings, the ownership list itself, and the instruction files your agents read. Without that, an agent “fixing” a failing check can quietly change what gets checked or who’s allowed to approve it, and stale lines in instruction files get read and acted on every single run. Owners only get pulled in once a draft is marked ready, which keeps half-finished agent work out of their inboxes.
Set a Review Budget Per Person
Every team has a reviewer who approves everything within four minutes, and everyone knows exactly who it is.
Risk: reviewers drown, start rubber-stamping, and the queue fills with work that rots unread.
An agent can open pull requests faster than anyone can read them, so somebody has to decide how many is too many. GitHub decided that for strangers with its pull request limits. Do the same for your own team: the person who launches an agent owns the queue it creates, so cap how many open agent pull requests each person can have at once, and have the agent wait when the cap is hit instead of piling on.
Pick a cap close to what a person can properly review in a day, and protect review time on the calendar the way you protect focus time. Then watch two warning signs: time to first review climbing week over week, and pull requests merged with zero comments. The first means the budget is too high, and the second means people have stopped reading.
Make a Human Accountable for Every Merge
Risk: an agent wrote the change, a bot reviewed it, the checks passed, and when it breaks nobody owns it.
The Linux rules are blunt: an AI agent must never sign off on a change, and the human who submits it reviews all of the AI-generated code and takes full responsibility for it. GitHub builds the same instinct into its own agent - if you ask Copilot to open a pull request, your approval doesn’t count toward the required number, so someone else has to approve it.
Watch for the opposite setting. Copilot’s code reviews leave comments by default, but it can be configured to leave real approvals. Use machine review as a first pass, and never let a bot fill the required-approval slot. An agent is a new hire with root, and new hires have managers who sign off on their work.
Accountable doesn’t mean blamed - it means there’s a named person who can explain why the change exists and what it touches, and who’ll get the page if it misbehaves. If you can’t find that person, the change shouldn’t merge.
Where to Start
- If you run agents: you own every pull request your agent opens. Before you ask anyone to review it, make sure it’s small, has a test you’ve read and carries a label saying an agent helped.
- If you lead a team: assign owners to the code that matters and require one of them to approve every merge, starting this week. Add the size and test checks next, and talk about a review budget at your next retro.
- If you maintain open source: turn on pull request limits with drafts counted, and restrict creation to collaborators on repositories that don’t need outside contributions at all.