When opening a GitHub code merge request to review changes that may have been drafted by an AI agent, what needs to be clear is not just how fast the agent-written code is, but which steps the agent has already participated in, and who is responsible for the result. GitHub's 2026 Octoverse annual data shows a striking signal: more than 4 percent of PRs were drafted by agents. However, a PR submits a code change awaiting review; it is not a finished product that has already been merged or deployed to production.
How far has code writing by agents spread?
[FIX] Still Chinese: writing, wide [FIX] Still Chinese: writing, wideMore than 4 percent of merge requests are being drafted by agents, but they have not yet reached the point of independently delivering deliverables.
According to GitHub's annual report, code merge request PRs drafted by agents(a request where a developer submits code and the team reviews and merges it) now account for more than 4 percent of all code merge requests on GitHub. This ratio reflects the scope of drafting, not the share of independently delivered artifacts.
This data shows the scale at which agents participate in code writing, but it does not answer which steps they were responsible for. GitHub's annual report only provides platform-wide ratios and does not disclose how developers divided tasks, which files agents modified, or team-level review standards.
Now, did code activity on GitHub increase or decrease over the past year? The same annual report notes that both commit counts and push counts also hit record highs. The former records changes in version history, while the latter sends local changes to GitHub. The fact that both activities reached all-time highs at the same time means that development and delivery activity on GitHub continued to grow even after agents joined the code drafting process.
However, "more than 4 percent was drafted by agents" and "commit and push counts hit record highs" are two parallel facts, and we cannot conclude that agents were the sole cause of all the increase. Agent-assisted drafting entered large-scale collaboration, and GitHub's code activity also reached an all-time high during the same period—these are simply two things that happened at the same time.
Agents have entered the development flow/developers have not relinquished their keyboards
[FIX] Still Chinese: development, enteredThat is not to say. What GitHub's annual report records is the fact that agents have participated in the development flow, and the ratio of "over 4" does not immediately mean that developers have stopped writing code on their own.
GitHub Copilot (Microsoft's AI programming assistant for developers) official description must be read in its entirety. It is positioned as an AI coding agent for tasks, projects, and automation (an AI coding agent is a coding-related agent program), and its scope extends to individual tasks, entire projects, and automated processes. This positioning is broader than "writing all the code on the developer's behalf," and reflects the reality that while agents have already entered the drafting stage, developers remain within the chain of responsibility for building software. GwynmoreIYVER closer.
The most emphatic logical leap is rephrasing the fact that "the share of agent-drafted code merge requests exceeds 4" as "developers are already no longer writing code themselves." The former counts changes that agents drafted and that entered the collaboration flow. The latter is a different question: whether developers are still typing code at the keyboard. GitHub's annual report does not provide complete evidence to answer the latter question.
This material gets closer to ‘what it’s saying’: agents have moved from side suggestions to the drafting stage, and developers and agents now jointly structure development activity. This shift shows that the collaboration structure is changing, but it does not mean developers have stopped writing code by hand. To see who handled which step, you need to look at what the agent specifically took over.
Where does the agent actually plug into the workflow?
The confirmed scope is narrow: agents draft code, and that draft reaches the developer through a code merge request.
GitHub's product page positions Copilot as an AI coding agent for tasks, projects, and automated workAI coding agent(an AI tool that can take over tasks and write code).
That positioning splits into three plain pieces. A task is one coding job waiting to be done. A project is a bundle of work that shares context. Automation means a process you can run again and again. The material stops at the positioning itself — it says nothing about how tasks get broken down or how the scope of a change gets defined.
The real handoff is the PR(submitting a code change and requesting a merge). Whoever drafted the code, the change arrives as something inspectable and discussable, not as text in a chat window treated as a finished product.
So the connection between drafting and review already exists. The agent turns a task into a code draft; the developer answers for the specific changes inside the merge request.
When an agent finishes writing code, who holds the merge key?
The merge key stays with humans. Agents can draft code, but the decision to merge sits at a clear handoff point: a person reviews the change and decides whether it goes in.
GitHub's official documentation includes "reviewing changes" in the flow from getting started with GitHub to deployment. Even after agents help write code, developers still check what the agents submitted at this stage.
Code arrives through a merge request, commonly called a PR(a collaboration request to submit code changes and ask colleagues for review). There, developers review the code, give feedback, and decide before merging.
Drafting speed does not answer whether a change belongs in the project. Who wrote the code changes the division of labor, not who holds decision-making authority.
There's a door in, but nobody has defined the scale
When agent-written code lands in a merge request, it still moves through the same code review and security process as any other change awaiting review. GitHub's docs show where the entry point is. Teams have to supply the acceptance criteria themselves.
GitHub's documentation splits this path in two. The "reviewing changes" stage decides whether code can enter the delivery flow; "deployment automation" moves whatever passes automation on to deployment. Code written by agents can't skip this chain either. The merge request is exactly the point where an agent's output enters the team's area of responsibility.
When reviewing merge requests written by agents, developers still have to judge, respond, and take responsibility. Once agent-written PRs become routine, current primary sources do not say what teams should treat as a definitive, verifiable review standard.
Source: GitHub Blog's 2026 Octoverse annual platform data. The scope covers code activity and agent participation within GitHub's own ecosystem and does not include independent third-party verification.