For close to two decades the pull request was the last thing standing between bad code and production. Now it’s the main thing standing between finished work and the customers waiting for it. It was built for a world where people wrote code and other people read it, and where waiting a day for a teammate’s review was a fair price for safety.
That wait was fine when writing the code took longer than reading it. But on many teams today, agents write most of the code, and they write it far faster than anyone can review it. Pull requests pile up for days while the agents that wrote them sit idle, and the people who have to approve them fall further behind every week.
As a result, teams are starting to let agents review and merge their own work, usually with outside context from a reviewing or orchestrating agent, and many engineers predict that by 2027 most of that work will go straight to production automatically.
The pull request won’t go away entirely, but it will look very different. Agents will write, review, and merge most of them, and people will only step in for the changes that carry real risk.
Code review now starts before any code is written
On most teams today, a change gets its one real quality check when someone reads the pull request. By that point the approach is already settled and the tests are already written, so if the agent took a wrong turn on day one, the team finds out after days of work have gone into it.
Take an agent adding a new billing plan. Before it writes any code, its plan can be checked against the codebase and the way the team likes to build things, which is the cheapest moment there is to catch a bad approach. As it works, every change runs through quality tests and the team’s conventions, and a second agent can push back on the approach while it’s still easy to change. Once the change ships, agents can use the product the way a customer would and confirm it actually works.
All of this checking means the team can see how the work is going at any point, long before a pull request exists. It’s also work that agents are simply better at than people. A person on their fortieth pull request of the week starts to skim, while an agent reads every line of every change with the same attention it gave the first one. To do it well, agents need a platform that gives them the team’s standards and history at every step.
Orchestrating agents judge the risk of the work as it happens
Once agents run quality and security checks continuously, from the plan to the finished change, most work no longer needs a person to read it before it merges. Teams working this way already let agents merge new features, refactors that span dozens of files, and schema changes, because every step is checked against the team’s standards as it happens. A small share of changes still go to a person, and they are the ones that carry a business or security decision, like a new price or a change to how customers sign in.
In 2027, sorting those changes from the rest will be the job of an orchestrating agent, the agent that plans the work, hands it out to other agents, and reviews what comes back. Because it watched the work happen, it already knows what each change does and what it touches, so it can weigh the risk while the work is still underway, long before a pull request would have existed.
On Codespeed, that’s Lead Dev. Lead Dev reviews each change before it merges and brings people only the changes that need them, and the riskiest changes can also get a second review from a different model.
When a change does reach a person, it arrives with the intent behind the work, the decisions the agent made along the way, and the checks it has already passed, so the reviewer can go straight to deciding whether it should ship.
Teams will move to full agent autonomy at their own pace
Very few teams will switch to full agent autonomy overnight. Most will let agents merge one kind of change on their own, see how it goes, and then add the next.
Part of what makes this safe is how quickly a bad merge can now be undone. It used to take a person to notice the problem, work out the cause, and ship a fix by hand, often hours later. Monitoring can now roll a bad change back the moment it misbehaves, and an agent can have the fix shipped while the team is still reading the alert.
Codespeed is built for this gradual handoff. A team chooses how much autonomy Lead Dev has, from Supervised to Trusted to Autonomous, and separately decides whether it merges reviewed work on its own, asks first, or leaves merging to people. The organization sets the upper limit, and each project can only be stricter than that. A team might start with Lead Dev asking before every merge and switch to automatic merging once they’ve watched it make the right call enough times.
Teams will get there at different speeds, but the direction is the same for all of them. By 2027, most pull requests will be written, reviewed, and merged without a person ever opening them.
