In September, more than 40% of pull requests on GitHub started with a draft written by an agent. If you already work this way, the bottleneck is no longer writing code: it is checking it, and you prepare for that in the repo, not in the model.
What Octoverse is and what it measures this year
Octoverse is GitHub’s annual report on how the platform is used. The 2026 edition came out on October 28 and covers October 1, 2025 to September 30, 2026, across public and private repositories unless stated otherwise.
A pull request (PR) is a proposed change that someone reviews before it joins the main branch. A PR that “starts with an agent” is one whose first draft came from a tool such as Copilot, Claude Code or similar, even if a person edits it afterwards.
The numbers I find useful
Out of the whole report, these are the ones I keep:
- Agent-started PRs: more than 40% in September, up from 17% in March. September alone had 110 million, about six times the March volume.
- They merge just as well: 90% of PRs with agent involvement merged within two weeks in September (83% in February). PRs with no detected agent stay around 86%.
- Bigger changes: 87% of agent-started PRs touch several files, against 79% of the rest.
- Agent configuration files: among repos created this year, those with one logged eight times as many commits as those without.
- TypeScript: it has the most contributors of any language, ahead of Python and JavaScript. In new repos with signs of agent use, it is the primary language in 35% of cases, against 24% in repos without those signs.
- AI code review: usage grew more than 90% in a year.
One more that is not about agents but matters to Spanish and Portuguese-speaking readers: Brazil added 3.28 million developers this year, the third-fastest growth of any country. Spain only shows up in one line about AI startups, and the rest of Latin America is not in the report.
What these numbers do not say
Two honest caveats before drawing conclusions.
First, nearly all of this is correlation. Repos with an agent configuration file having eight times as many commits does not prove the file causes the activity. More likely, the teams that use agents the most are also the ones that bother to configure them.
Second, “merged within two weeks” is not the same as “done well”. It measures that the change went through, not how many bugs it carried. The report does not publish error or revert rates for agent-written code.
Still, the direction is clear: more PRs are arriving, they are bigger, and machines are writing them. Someone has to review them.
What I would change in your repo this week
If you work with agents, or are about to start, this is what I would change, from cheapest to most expensive:
- Write the agent instructions file. An
AGENTS.mdorCLAUDE.mdat the root with build and test commands, conventions and what it must not touch. Half an hour of work, and the agent reads it every session. - Turn on strict typing. If you use TypeScript, set
"strict": trueintsconfig.json. The compiler rejects many mistakes before you read a line, which saves review time. - Run the tests automatically on every PR. If the agent opens 10 PRs a week and you test each one by hand, the time saved disappears.
- Cap PR size. 87% of agent PRs touch several files. Ask for small changes and one task per PR in the instructions. A 40-line diff takes minutes to review; a 900-line one does not.
- Decide who reviews and when. AI review helps as a first filter, but the decision to merge is still yours.
A minimal instructions file:
# AGENTS.md
## Commands
- `npm test`: run it before opening a PR.
- `npm run lint`: no errors.
## Rules
- One PR per task, under 300 changed lines.
- Do not touch `infra/` or `.env` files.
My take
The report confirms what many of us suspected: writing code with agents is already normal across a large part of GitHub. What it does not settle is who takes responsibility for what reaches production.
For a small team, or for someone working alone, the consequence is direct. If an agent writes 10 PRs a day for you, your job shifts from writing to deciding what gets merged. That decision is faster and safer when the repo helps: strict types, automatic tests, clear instructions and small PRs. I would rather spend an afternoon on that before adding more agents, not after something breaks in production.
What I would not do is read the 40% as a target. Half your PRs do not need to start with an agent. The ones that do need to be easy to review.
Sources
- Octoverse: Commits, pushes, reach new highs in 2026 as developers build with agents, GitHub Blog, October 28, 2026.
If practical takes on what is happening with agents are useful to you, follow me on LinkedIn, where I share how I work with AI.