Should AI Agents Merge Their Own Pull Requests?
Quick answer: AI agents should merge their own pull requests only after they earn it, and only for changes the merge policy allows. Reviewing everything turns review into a bottleneck, and trusting everything lets problems through. A trust model that holds up starts every agent supervised, promotes it on a record of merged changes, moves it down at once after a problem, and records every change of level with who or what made it and why.
Let an agent earn its place on your team
Define a Factorik agent once and it wakes on an issue, a failed build or a schedule, works in an isolated sandbox and ships a pull request. It starts with a person merging its work and earns more autonomy on its record. Try it free for 7 days, no payment details needed.
Should AI agents be allowed to merge their own pull requests?
Some of them, some of the time, once they have shown they can be trusted with it. That is the short answer, and it is less of a dodge than it sounds. The question is usually asked as if there were two choices: a person reviews and merges everything an agent writes, or the agent merges its own work. Both choices fail, in opposite directions, and the failures are well documented.
Merge rights are a form of trust, and engineering teams already know how to hand out trust gradually. A new engineer does not get production access on day one. They start with small changes that someone else reviews, then take on more as their work holds up, and lose some of that latitude if they break something important. Nobody calls that bureaucracy; it is how a team protects itself while still letting people grow.
AI agent auto-merge deserves the same treatment. The useful question is not whether agents may merge, but under what conditions, on what evidence, and what happens when the evidence turns bad. The rest of this article lays out a trust model that answers those three questions, first in general terms any team can apply, then as Factorik implements it.
Why does all-or-nothing trust fail both ways?
Reviewing everything fails slowly. When agents produce changes faster than people can read them, the review queue becomes the constraint. A Harvard working paper by Fiona Chen and James Stratton, the Harvard and Jellyfish study of 720,542 engineers at 655 firms, found that with AI coding agents the number of pull requests rose 35.7%, while the average time from submission to approval rose 56.1%, as BERI reported on November 7, 2026. More work was produced; it simply waited longer to land.
Trusting everything fails quickly. When the queue is too long, review quietly erodes. A preprint posted to arXiv in July 2026 by He and colleagues, a longitudinal study of 802 developers and 196,212 pull requests at one mid-sized software company, found that the share of pull requests receiving at least one human review fell from 89% to 68%, while the share receiving an automated AI review rose from about 19% to about 84%. The vendor Faros AI wrote on September 18, 2026 that its April report had found a 31.3% rise in pull requests merged without review, and that in its Q3 2026 report, on the latest twelve months of telemetry from 22,000 developers across 4,000 teams, that rise had grown to 76.3%. Nobody decided to stop reviewing; it happened because the alternative was a queue nobody could clear.
These two failures feed each other. A team that reviews everything gets slow, feels the pressure, and starts waving changes through. A team that waved changes through has an incident, panics, and goes back to reviewing everything. Without a model in between, teams swing from one end to the other.
What both extremes have in common is that the decision does not depend on the agent or the change. Every change is treated the same, and every agent is treated the same, regardless of what it has done before. A trust model fixes exactly that: it makes the decision depend on the record.
What does a trust model for AI agent auto-merge look like?
A trust model that holds up has four parts. Each one is simple; the value is in having all four.
Start supervised. Every new agent begins by opening pull requests that a person reviews and merges. This is not a probation for show. It is how the team learns what the agent is good at, and how the agent builds a record that later decisions can rest on. An agent with no record has earned nothing yet.
Promote on a record. An agent earns more latitude when its history of merged changes shows it: enough changes to be meaningful, a high share of its pull requests merged rather than closed, and no problems traced back to them. The bar should be explicit and the same for every agent, so a promotion is a fact anyone can check, not a mood.
Move down at once after a problem. Trust that only goes up is not trust; it is a ratchet. When a merged change causes a problem, the agent that made it should lose a level immediately, without a meeting and without waiting for the next review cycle. The point is not punishment. It is that the evidence just changed, so the decision should too.
Keep an audit trail. Every change of level should record who or what made it and why: which record cleared which bar, which problem caused which move down, which person pressed which button. When someone asks six months later why an agent was allowed to merge into a given repository, the answer should be a log entry, not a recollection.
Alongside the agent's level sits a second, independent check: the change itself. Even a trusted agent should only merge changes that pass checks and stay out of sensitive areas, unless the team has explicitly allowed more. Trust in the agent and risk of the change are two separate questions, and a good model asks both. The change side, which pull requests may merge with nobody reading them, is covered in merging pull requests without human review.
| Part | What it means | What it prevents |
|---|---|---|
| Start supervised | A person merges every change a new agent opens | Trusting an agent with no record |
| Promote on a record | More latitude only when merged work clears an explicit bar | Promotions based on impressions |
| Move down at once | A problem traced to a merged change costs a level immediately | Trust that only ratchets upward |
| Keep an audit trail | Every level change records who or what made it and why | Decisions nobody can explain later |
Is anyone already tiering which changes skip human review?
Yes, at least one team has spoken about it publicly. In a talk published by AI Engineer and written up by StartupHub.ai on November 11, 2026, Robinhood data-platform engineer Chetas Joshi said a hybrid reviewer now merges 60% of data pipeline pull requests with no human review, and that incidents tied to those pull requests were down about 30%. Scripts check what can be proven, an AI agent judges the code, and some calls still go to a person.
It is one company's description of its own work, as reported in coverage of the talk, not an independent study, so the numbers are a claim. What is useful is the shape of the approach. Not every change was treated the same. Machine checks did the repeatable part, an AI reviewer read each change, and people were kept for the decisions where someone has to be accountable: grants touching sensitive data, migrations that change what data means, and verdicts the agent was not confident in. That is the same split a trust model makes: let evidence and rules handle the routine, and keep people where judgment matters.
The lesson for anyone designing their own model is that tiering by risk is not a theoretical idea. Teams are doing it, with ordinary tools, and at least one reports that it made things safer rather than less safe.
How does Factorik decide when an agent may merge?
Factorik is built on this model, and calls it earned autonomy. An agent has one job on one GitHub repository. It wakes on an event, such as an issue opened, CI failing on the default branch, a schedule or a webhook, works in an isolated sandbox, and finishes with an outcome such as a pull request. Factorik opens and merges pull requests itself, and only when the repository's merge policy and the agent's level allow it.
Every agent works at one of three levels and starts at the first. At level one it opens pull requests that a person merges. At level two it merges low-risk changes by itself when the merge policy allows. At level three it merges whatever the merge policy allows. Auto-merge is off by default, and the merge policy requires passing checks and protects sensitive paths, so even an agent at the top level cannot merge into a protected path the policy keeps for people.
An agent climbs one level when its record of merged changes clears a bar: enough merged changes, a high merge rate, and no problems. How it climbs is the organization's choice. With person-approved promotion, Factorik offers the promotion and a person presses Promote. With automatic promotion, the agent moves up by itself once its record clears the bar. Either way, it climbs one level at a time.
Moving down does not wait for anyone. When CI or a deploy fails at the commit an agent's change merged as, when a merged pull request is reverted, or when a person reports a problem on its run, a finding is recorded. The team is told on every channel (Slack, a webhook, email and a comment on the pull request), and the agent drops a level at once, whatever the promotion mode. Watcher agents can also check production after a merge, but what they suspect counts only once a person confirms it, so an agent is not moved down on a guess.
Low-risk is decided from facts about the change, never from an AI's opinion: how many files and lines it touches, how much it deletes, and whether it touches sensitive paths such as dependencies, build and deploy, secrets and permissions, database migrations or money. Every level change is recorded with who or what made it and why. That is the audit trail.
| Level | What the agent may do | Who merges |
|---|---|---|
| 1 | Opens pull requests | A person |
| 2 | Merges low-risk changes when the merge policy allows | Factorik, for low-risk changes; a person for the rest |
| 3 | Merges whatever the merge policy allows | Factorik, within the policy; protected paths stay with people |
Let an agent earn its place on your team
Define a Factorik agent once and it wakes on an issue, a failed build or a schedule, works in an isolated sandbox and ships a pull request. It starts with a person merging its work and earns more autonomy on its record. Try it free for 7 days, no payment details needed.
What does promotion and moving down look like in practice?
Here is an illustration of one agent's path, written to show the mechanics. It is a made-up example, not a customer story.
A team defines a Dependency Updater on the repository acme/storefront, triggered by a weekly schedule. It starts at level one. Each week it opens one pull request that updates one safe group of dependencies, for example the testing libraries in package.json, with the lockfile regenerated and the test suite passing. A person reviews and merges each one. Over the following weeks its pull requests keep getting merged, none are closed unmerged, and nothing goes wrong after any of them.
The record clears the bar. The organization uses person-approved promotion, so Factorik offers a promotion on the agent's page and in Slack. An engineering lead reads the record, presses Promote, and the agent moves to level two. The level change is recorded: who pressed it, when, and the record it was based on.
Note what level two does and does not change for this agent. Dependency manifests are a sensitive path, so its routine updates still go to a person under the merge policy. Where level two matters is a small change that touches nothing sensitive, such as fixing a deprecated import in src/checkout/cart.ts that an update exposed. With checks passing and every reviewer approving the current commit, that change merges without waiting.
Two weeks later one of its merged changes causes CI to fail on the default branch at the exact commit it merged as. A finding is recorded. The team is told in Slack, by email, through the webhook and in a comment on the pull request. The agent drops back to level one at once, with the finding recorded as the reason. Its next runs read the finding, so the agent knows what went wrong on its own change. To climb again, it has to build its record back up.
What are the limits of earned autonomy?
A record is evidence about the past, not a guarantee about the future. An agent with a clean history can still make a bad change, and a level system only limits how much damage that change can do and how fast the team hears about it. That is why the merge policy, required checks and protected paths stay in force at every level.
Moving down depends on problems being traced to a change. CI failing at the merged commit, a revert and a person's report are concrete signals, but a subtle bug that nobody notices for a month will not move anyone down until it is found. Watching production after a merge helps, and the team still has to report what it sees.
The model is also slow at the start, on purpose. For the first weeks every change waits for a person, exactly as it does today. Teams that want relief from their review queue immediately will not get it from the first level. What they get is a path to relief that rests on evidence, which is the part that tends to survive the first incident.
Finally, there are things Factorik does not do. It does not let a model decide whether a change is safe. It does not promote an agent more than one level at a time, and it does not keep an agent's level after a counted problem on one of its changes. It does not push to the default branch directly or force-push: the server publishes each change as one commit on a branch it names. It works on GitHub only today. And it does not replace the engineers who decide what the protected paths are.
- +Merge rights rest on a record anyone can inspect
- +A problem costs a level at once, without a meeting
- +Low-risk changes stop waiting once an agent has earned it
- +Every level change has a recorded reason
- −The first weeks look like reviewing everything
- −A record cannot predict a new kind of mistake
- −Problems no one notices do not move an agent down
- −The merge policy and protected paths still need people's judgment
How do I try a trust model on my own repository?
Start small and with something narrow. Pick one repository and one job with clear success criteria, such as fixing CI on the default branch, updating dependencies one group at a time or writing tests for untested logic. Write down the protected paths before the agent opens its first pull request, and decide whether promotion will need a person's approval or happen by itself.
Then let the record do the talking. Merge what is good, close what is not, and report problems when you see them, so the agent's level reflects what actually happened. When a promotion is offered, read the record before you press the button.
Factorik gives you this model out of the box: three levels, a promotion bar, findings that move an agent down at once, and a recorded reason for every change of level. You can start a free 7-day trial of the Team plan, no payment details needed, define your first agent at level one and see how its record builds.
Frequently asked questions
What is AI agent auto-merge?
It is an AI coding agent's change being merged into the repository without a person pressing merge. Done well, it happens only when checks pass, the change stays out of sensitive areas and the agent has earned that permission on its record. Done badly, it is a switch that trusts every change equally.
Is it safe to let an AI agent merge its own pull requests?
It can be, within limits. The safer approach is to start every agent supervised, let it merge only low-risk changes after its record shows it can be trusted, keep sensitive paths with people, and take the permission away at once after a problem. No setup makes mistakes impossible, so the goal is to limit and surface them.
How does an agent earn a higher level in Factorik?
Its record of merged changes has to clear a bar: enough merged changes, a high merge rate and no problems. Then it climbs one level, either when a person presses Promote or automatically if the organization chose that. Every level change is recorded with who or what made it and why.
What moves an agent down a level?
A problem traced to one of its merged changes: CI or a deploy failing at the commit it merged as, a revert of its pull request, or a person reporting a problem on its run. The agent drops a level at once, whatever the promotion mode. A watcher agent's suspicion counts only after a person confirms it.
Can a trusted agent merge database migrations or payment code?
Not unless the team allows it. The merge policy protects sensitive paths such as dependencies, build and deploy, secrets and permissions, migrations and money, and it requires passing checks. An agent's level never overrides the merge policy.
Let an agent earn its place on your team
Define a Factorik agent once and it wakes on an issue, a failed build or a schedule, works in an isolated sandbox and ships a pull request. It starts with a person merging its work and earns more autonomy on its record. Try it free for 7 days, no payment details needed.