Agent-written PRs aren't buggier. Reading all of them is the proble Agent-authored pull requests shipped real bugs at essentially the same rate as human PRs — 2.2% [1.8–2.5%] versus 2.1% [1.6–2.6%] — according to an analysis by Alexander Ko of Grapim covering 14,352 squash-merged PRs across 9 open-source projects (Langfuse, Onyx, Formbricks, Mastra, Vercel AI SDK, Dagster, Supabase, n8n and Grafana), of which 3,904 carried an agent marker. Agent markers appeared on 27% of PRs merged between May and August 2026, reaching 49% at Langfuse and 42% at n8n, and Grapim's merge gate green-lit 60% of clean agent PRs, which then shipped bugs at 1.5% [1.0–2.2%]. In a separate sample of 100 merged GitHub Copilot coding agent PRs, two model judges agreed on 94 and found 9 (about 10%, interval 5–17%) did something material the original prompt did not ask for, all of which were merged. Alexander Ko, Grapim, November 2026 Coding agents now write a big share of the pull requests in a lot of repositories. In the 9 active open-source projects we looked at Langfuse, Onyx, Formbricks, Mastra, Vercel AI SDK, Dagster, Supabase, n8n, Grafana , 27% of the PRs merged between May and August 2026 carried an agent marker: a Co-authored-by trailer, an agent commit author, or "Generated with Claude Code". In Langfuse it was 49%, in n8n 42%. Every one of those PRs still waits for a person. We wanted to know two things: are agent PRs actually riskier, and could some of them safely skip review? 1. Data. 14,352 squash-merged PRs from the 9 repos 5–1,500 changed lines, at most 40 files, touching code , 3,904 of them with an agent marker. 2. Which PRs shipped a bug. For every bug-fix commit in the 90 days after each PR, we git blame d the lines the fix changed back to the PR that last touched them the SZZ algorithm, Śliwerski et al., 2005 . The window ends in August so every PR gets its full 90 days. 3. Cleaning. SZZ is noisy: it blames whoever touched a line last, and "fix" in a commit subject isn't always a bug. A model Claude Opus read each flagged PR next to its fix and kept only real bugs that the PR introduced and that its reviewer could have seen. We screened all 238 flagged agent PRs and a random 150 of the 725 flagged PRs without an agent marker, with the same prompt. 4. A gate. We ran our merge gate on the 84 confirmed agent bugs and 60 random agent PRs with no flagged bug, and recorded whether it would have said "safe to merge without a person". | | Agent PRs | PRs without an agent marker | |---|---|---| | Flagged by SZZ | 238 6.1% | 725 6.9% | | Confirmed real, visible bugs | 35% of flagged | 30% of flagged | | Real bug rate | 2.2% 1.8–2.5% | 2.1% 1.6–2.6% | Agent PRs shipped real bugs at the same rate as everything else. Not worse, not better. That changes what the problem is. If roughly 98% of agent PRs are fine, then the cost isn't the bugs. It's that reviewers can't tell which 2% to read closely, so they read everything, and the queue grows with every agent you add. So we asked the second question: how many could skip review without making things worse? - The gate green-lit 60% of the clean agent PRs 48–71% and 43% of the ones that later needed a bug fix. - Combining those with the base rate, green-lit agent PRs shipped real bugs at 1.5% 1.0–2.2% , against 2.1% for PRs without an agent marker. The intervals overlap, so the honest reading is "not worse", not "safer". But it means a reviewer could have skipped about 60% of agent PRs without raising the bug rate above what already gets through human review. Bugs aren't the only risk. We took 100 merged PRs from GitHub's Copilot coding agent whose descriptions include the original prompt 90 repositories . Two model judges, working from the same written rubric, marked whether each PR did something material that the prompt didn't ask for. They agreed on 94. 9 of those 94 about 10%, interval 5–17% did. Examples: loosening a test instead of fixing a race condition, a description claiming a test was added that isn't in the diff, an "opt-in" feature switched on by default. All 9 were merged. That's the part of review a gate can do without understanding your whole codebase: compare what the PR was asked to do, and what it says it did, with what the diff actually changes. - It only sees bugs that human review also missed. Every PR here was reviewed before merge. Bugs caught in review never appear in the history. If green-lit PRs skipped review entirely, those would ship too, so the real green-light bug rate would be higher than 1.5%. Measuring that needs shadow mode in a live team: the gate decides, people review as usual, and you record what they catch on green-lit PRs. - Red doesn't mean it found the bug. A PR the gate sent to a person may have been flagged for a different reason. - A model did the screening. It's consistent within this run both groups, same prompt , so the comparison holds. The absolute rates shouldn't be quoted on their own. - "No agent marker" isn't "written by a human". Some agents leave no trace. - 9 open-source repos backed by companies. Private repos may differ. - The intent results are from a set we also used to tune the checks , so treat the gate's catch rate there 6 of 9 as optimistic. Everything is in this folder: | File | What it is | |---|---| | check.py | Recomputes the numbers above from the data. No model calls: python3 check.py | | data/greenlight-prs.csv | All 14,352 PRs: repo, number, merge and base commit, size, agent markers, SZZ flag, the fix PRs blamed back to it | | data/greenlight-screening.jsonl | The model's screening of 388 flagged PRs: is it a bug, did this PR introduce it, could its reviewer see it, and why | | data/greenlight-gate.jsonl | The gate's decision on 144 agent PRs safe = merge without a person , with its findings | | data/intent-cases.json | The 100 Copilot agent PRs with their original prompts | | data/intent-judge- .jsonl | Each judge's label and reasoning | | data/intent-grapim.jsonl | The gate's decision and its "beyond the request" list for each | | data/intent-rubric.md | The rubric both judges used | | scripts/ | The scripts that produced the data; see RERUN.md | Every PR is public: open https://github.com/