Resources
/
News
/
When the Machine Writes the Code, Review Becomes the Bottleneck

When the Machine Writes the Code, Review Becomes the Bottleneck

In part one, we explained how we merged 30 codebases into one and rebuilt the platform so that AI agents could work in it. This is what we have learned since. Once the agents started coding, writing code stopped being the slow part. The slow part became checking everything they could produce in so short a time.
Newsroom
/
News
/
When the Machine Writes the Code, Review Becomes the Bottleneck
News

When the Machine Writes the Code, Review Becomes the Bottleneck

In part one, we explained how we merged 30 codebases into one and rebuilt the platform so that AI agents could work in it. This is what we have learned since. Once the agents started coding, writing code stopped being the slow part. The slow part became checking everything they could produce in so short a time.
Gunnar Birkenfeldt
Chief Product Officer
Newsroom
/
News
/
When the Machine Writes the Code, Review Becomes the Bottleneck
News

When the Machine Writes the Code, Review Becomes the Bottleneck

In part one, we explained how we merged 30 codebases into one and rebuilt the platform so that AI agents could work in it. This is what we have learned since. Once the agents started coding, writing code stopped being the slow part. The slow part became checking everything they could produce in so short a time.
Gunnar Birkenfeldt
Chief Product Officer
Newsroom
/
News
/
When the Machine Writes the Code, Review Becomes the Bottleneck
News

When the Machine Writes the Code, Review Becomes the Bottleneck

In part one, we explained how we merged 30 codebases into one and rebuilt the platform so that AI agents could work in it. This is what we have learned since. Once the agents started coding, writing code stopped being the slow part. The slow part became checking everything they could produce in so short a time.
Gunnar Birkenfeldt
Chief Product Officer
Newsroom
/
News
/
When the Machine Writes the Code, Review Becomes the Bottleneck
News

When the Machine Writes the Code, Review Becomes the Bottleneck

In part one, we explained how we merged 30 codebases into one and rebuilt the platform so that AI agents could work in it. This is what we have learned since. Once the agents started coding, writing code stopped being the slow part. The slow part became checking everything they could produce in so short a time.
Gunnar Birkenfeldt
Chief Product Officer
Portrait of Hans Kristian, CEO and Co-founder of Casi

Talk with our CEO, Hans Kristian Aas

From new to used, EVs to ICE, Casi helps you scale leasing services with ease.
Gain free insights
By submitting this form you agree to our privacy policy
Thank you! We will get in touch soon
Oops! Something went wrong while submitting the form.

At Casi, AI agents now write all of our code. Whoever understands the customer's problem best describes the solution, and the agents build it. That has changed who builds, how much we get done, and how our developers spend their days.

A shift we didn't plan

A year ago, it worked like this: a customer raised a need, someone on the business side wrote it down, a developer interpreted it, and a few weeks later a solution arrived that was mostly right. Much of the time went into translation and handovers, and something was probably lost along the way.

Today, I explain the problem directly to my AI agent, often straight after the customer has raised it. The agent reads the existing code, proposes a new solution, writes the code and tests what it has produced. I know the customer and the need, the agent knows the code, and the middle step is gone.

This month, we are also trying the next step. Dedicated agents read customer requests on their own, analyse and prioritise them, and propose solutions. People still decide what gets built and in what order. The agents do the groundwork, and no change reaches production until a person has approved it.

This only works if the agents know enough about the product strategy, the commercial plans and the platform as it stands today. So a large part of my job is now to write exactly that down, so that the agents know enough to solve what the customer actually needs.

The numbers

Each of us building the Casi platform now delivers 10.6 times as much as before. We don't work longer days, and we are the same people. The difference is a layer of agents working for us.

Just as interesting is which functions and roles at Casi now ship code. In November, more than half of all code changes came from the business side, not from the developers. That is because nobody writes code by hand any more: everyone can contribute through their own AI client. Just as importantly, knowledge of the product, the needs and the problems to be solved no longer sits in a few people's heads. It is written down in the system, where agents and colleagues alike can find it. More on that below.

And the pace keeps rising. In January and February, we delivered 50–70 changes a month across all our codebases combined. In October, 244 changes went into the main codebase. In November, it was no fewer than 604, more than three times as many as in the whole of the first quarter. Week 47 was the first with 200 changes, week 48 ended on 180, and on 20 November we set a record of 68 changes in a single day.

Bar chart of changes merged into the main codebase per month: 134 in September, 244 in October and 604 in November.
Changes merged into the main codebase per month, September–November 2026.

The work no longer stops when we go home, either. From January to April, 97 per cent of code changes were made between 08:00 and 17:00 on weekdays. In November, more than a third were made outside office hours, and one in eight between 22:00 and 06:00. The agent teams completed 1,768 tasks in November, half of them outside office hours.

Area chart of the share of code changes made outside office hours per month in 2026. From 2–3 per cent in January–April to 36 per cent in November, and 12 per cent between 22:00 and 06:00.
Share of code changes made outside office hours per month in 2026, Norwegian time.

We are not the only ones seeing a jump like this. Lauren Tan, who works on Grok Bot at SpaceXSI, recently said that her team shipped 11,000 changes to production in a single month. She accounted for around 3,000 of them herself, but only after spending six months building the environment the agents work in (talk, November 2026). You can read how our architects spent a few months preparing our platform in part one.

Method: a change is a pull request merged into the codebase. “10.6 times” compares the number of changes per person building over the last 30 days with the monthly average per person in January–August 2023–2025. We don't know whether changes are smaller now than they were before, so the figure is an estimate. The figures for January–February and for the first quarter count all codebases, because the main codebase was consolidated later in the year. Monthly, weekly and daily figures refer to the main codebase and count merged changes, not production releases. Times are Norwegian time for all commits in the main codebase. Some of the evening work was done by people, and agent tasks are counted in the coordinator's log. All November figures cover the full month.

How we organise the agents

One agent writing code is a tool. Many agents working at once are an organisation, and an organisation needs leading.

That is why we have introduced coordinators. A coordinator is itself an AI agent, with several agent teams under it. Each team has its own area, such as the operator tool our customers use every day, reporting and analytics, accounting and invoicing, vehicle data and telematics, platform and integrations, and web shop and demo.

In November, I split my coordinator in two, because there was too much for one to keep track of. One works with me on status, priorities, strategy and analysis, and turns our decisions into tasks. The other runs operations: it fills the code queues, keeps track of changes, merges finished work and resolves conflicts, around the clock.

Much of the job is therefore about allocation. We use AI models from several providers, and the coordinator spreads the work so that the quotas last all week and no single provider becomes a bottleneck. Heavy tasks go to powerful models automatically, while simpler, routine tasks are handled by cheaper ones. We cap how many agents work at the same time and how many tasks each team takes per day. Work in progress comes first: if a change is waiting for a fix or stuck in a conflict, we deal with it before starting anything new. Otherwise, half-finished changes simply pile up.

People set direction through one decision queue. Two coordinators, one for decisions and one for operations, balance the work across the agent teams: operator tools, reporting and analytics, accounting and invoicing, vehicle data and telematics, platform and integrations, and web shop and demo.
How the coordinators lead the agent teams. The figures are tasks completed per team in November.

We humans set the direction, prioritise, answer what only the business can answer, and say yes or no to the agents' recommendations. The teams carry on while we sleep, and by morning several of yesterday's issues have often been solved. That has moved the bottleneck. When agents work around the clock, the work is rarely waiting on code. It is waiting on our decisions. So the coordinator gathers everything that needs a person into one queue, with background and a recommendation. Several colleagues have built their own dashboards showing the most important decisions and bottlenecks the agents are waiting on. Along the way, we have learned that agents need a clearer mandate more often than they need tighter control.

Context is the new source code

An agent is only as good as what it knows. So our most important job is to give the agents the right context. When it is missing, we notice straight away: the agent builds something technically correct that solves the wrong problem, or it solves the right problem in the wrong way.

Right now, we build context in five layers:

  • A shared contract for the codebase. The rules for how we build, which every agent reads before it starts.
  • A system map that updates itself. Every time the code changes, a fresh overview is generated of the services, what they depend on and how they talk to each other. The map is checked automatically, so it never goes out of date.
  • Team notes. Each agent team keeps its own note on what it has learned, what has been decided and what is waiting.
  • An AI project manager in Linear. This is where every ongoing project lives, along with what has been decided, what remains and why. The agents update the issues and comment as they go, so that people and agents see the same picture.
  • Customer cards. Each customer has a card describing their situation, the business problem and what we have proposed. The agents read it before building anything for that customer.
Five layers of context the agents read before they build: shared contract, system map, team notes, AI project manager in Linear and customer cards.
Context in five layers, from the most stable to the closest to the customer.

Our product vision and plans have to be written down; it is not enough for them to exist in our heads. That has made us more precise, with each other too. It also makes us less vulnerable. The knowledge lives in the system, and a new colleague or a new agent starts from the same place as the rest of us.

Checking became the bottleneck

When writing code costs almost nothing, the rest of the chain comes into view. For us, that meant code review.

Every change still has to be approved by a developer before it goes to production. But when each of us delivers more than ten times as much, nobody can read it all. AI agents already help us pull out what matters: what the change does, what it touches and what should be checked. Even so, finished changes sit waiting for someone to find the time to look at them. Today, it typically takes about a day from the moment a change is ready until it is merged into production.

The industry has started calling this a verification tax: AI increases the volume of code faster than anyone can check it. We recognise the pattern. Our developers no longer write code themselves. They spend their days on architecture, on review and on deciding what is safe to put into production.

Anthropic found the same thing in 66 interviews at 58 US companies. What stalled most often was the review of everything the AI produced, because nobody had time to read it all (Anthropic, November 2026). A Harvard study of 655 companies shows the same pattern. With agents, the number of changes rises by 36 per cent, while the time changes spend waiting for review rises by 60 per cent (Chen and Stratton, revised 7 November 2026).

The Anthropic study also shows where we differ. There, people without a development background mostly build internal tools and dashboards, while the product itself stays with the technical staff. At Casi, the business side already builds the product itself. Our developers have become architects and gatekeepers who decide how the system should fit together and what is safe to let through.

We are automating review and testing

Our answer is to let the machine take on more of the checking, so that people can spend their time where it matters most. In November, we built a model for this that works much like a traffic light:

  • The code is reviewed by a different model from the one that wrote it. An agent is poor at spotting its own mistakes, so we alternate between two AI models from different providers.
  • Risk sets the depth. Changes that touch data, access, the separation between customers, money or operations get the strongest model and stricter requirements.
  • One report for whoever approves. Does the change do what the issue asked for? What code does it touch? How likely is it that something breaks? The report ends in green, yellow or red.
  • Automated tests after every deployment. Each time we deploy to the test environment, a robot walks through the pages of the operator tool and checks that they work. Full workflows, such as delivering, cancelling and returning a vehicle, are next.

Manual testing has all but disappeared. We test by hand only for critical functionality, or when a larger release is going out.

December: the traffic light goes live

In December, we are trying the traffic light on our own changes. The model is simple. Two AI models from different providers assess each change separately and vote. Green means both consider it safe. Yellow means there are notes worth weighing. Red means there are faults that must be fixed before a person looks at it.

A change written by an AI agent is assessed by two AI models that vote. Green: safe, can be approved automatically in low-risk areas. Yellow: notes. Red: must be fixed and reviewed again. Money, access, personal data and the separation between customers always have a person.
The traffic light for code review, in trial from December.

The traffic light is not meant to become yet another layer of control. Automated review should take over part of what people do today. It should be possible to approve green changes in low-risk areas, such as copy, translations and new, standalone screens, without a person reading them. Red changes are fixed and reassessed before they reach a developer. Changes that touch money, access, personal data or the separation between customers will always involve a person, whatever the colour.

The first rounds show that the model is strict. Of the first 18 changes we tried it on, 3 came out green and 12 red. Most of the red ones were red for good reason, such as access across customers, cost calculations and invoicing data. We are now tuning the thresholds and measuring how many changes actually get through without a person, what it costs, and whether any of it leads to faults. If it doesn't add speed, we will scale it back.

Where is the line?

The goal is for certain kinds of change eventually to go to production without a person having read them. At the start of December, that applies to none. Every change is approved by a person with help from AI, and a person merges it. AI-assisted checking stays in place regardless.

We are now writing the rules for what can be released first. The candidates are small changes that are well covered by tests and touch nothing on the risk list: money, access, personal data and the separation between our customers. Anything on that list will always involve a person. Review is also about accountability, and about sharing an understanding of the system.

Where the line is drawn is our decision, and we move it only when the numbers show that it is safe.

What about quality?

The big question is whether quality holds up when we deliver so much more and test so little by hand.

So far, it looks very good. Of the 970 changes we merged from September to November, two have been rolled back, and neither because something failed in production. Both were decisions we reversed. By comparison, roughly one in two hundred changes is rolled back on the Grok Bot team.

Rollbacks are a blunt measure, though, because we fix most faults with a new change. So we have started recording every incident in production and linking it to the change that caused it, and to how risky that change was. The question that matters is a plain one: have any of the simple changes caused trouble? As long as the answer is no, we can move the line. If it becomes yes, we move it back.

The numbers don't tell the whole story, either. Being early with AI carries a risk we know well: when writing code is almost free, it is tempting to build too much. Agents readily add an extra layer of abstraction, a feature nobody asked for, or a new solution to something already solved elsewhere. The industry calls it AI slop: code that looks tidy and works, but that nobody really needs. When we went through the findings from the last 60 days, the most common were small faults and sloppiness: missing tests, outdated text, descriptions that didn't match the change, and errors that were hidden instead of reported. Each one is minor, but they pile up if nobody deals with them. So the review checks whether a change reuses what we already have, and whether it solves what the issue asked for. The hardest part is still saying no. Not everything should be built just because it can be built fast.

At the same time, we are seeing an effect we hadn't counted on: AI also strengthens the foundation we already had. Every new change puts the code around it to the test, including code that was written years ago and has not been touched since. When agents dig into an area, old faults and weaknesses keep surfacing. The automated review alone found several in its first runs, in code the change wasn't even about. They become separate issues and get fixed along the way. So the platform is getting both bigger and cleaner. That is the balance we care about most: speed must not come at the cost of quality, and ideally it should raise it.

Trust in automated checking has to be built on experience.

What can't be copied

Everyone has access to the same AI models. The difference lies in what you build around them: knowing how a vehicle earns and loses value over its life, the context layers that make that knowledge readable to the agents, the coordinators that lead the work, and the review system that keeps it all safe.

The agents can write the code. What is scarce is the knowledge of what to write, and the machinery that checks that it came out right.

Next time: when customers get their own agents

The context we have built for our own agents can be used by our customers too. With MCP, an open standard for connecting AI assistants to other systems, a customer's own AI assistant can pull data and insight straight from Casi and talk it through with whoever runs the fleet. The questions then go well beyond “how many cars do we have?”:

  • Which vehicles should we sell this spring, and which should do another round?
  • What happens to our margin if we cut the monthly price of our EVs by 10 per cent?
  • Which models are losing value faster than we assumed?
  • Where do we need more vehicles next quarter, and where are they standing idle?

In part three, we show how it works. We also take on a question we haven't answered ourselves: what does it mean for the way we design our products if customers end up running their operations from their AI assistant rather than from the interface we designed?

“Following Mocean Subscription service’s success in Germany, Spain and the UK, the partnership with Casi will allow us to enrich Hyundai customers’ journeys in the new markets that the service will be rolled out to in coming months.”
Liran Golan
Director of Mobility Services at Hyundai Connected Mobility GmbH
“Together with Casi, as our tech and know-how provider, Stellantis has created a delightful end-user car subscription experience that modern customers are seeking. By implementing car subscription, we are future-proofing our business.”
Sophieke Verhoeven
CEO of Stellantis Financial Services Nederland
“We wanted to offer car subscription to attract a new customer segment, implement digital distribution, and offer flexible ownership. Casi's software enables us to configure our brand how we want and enables us to digitally manage our fleet, tasks, subscriptions, and overall business in an easy way.”
Izida Gerkena
COO of Møller Auto Baltics

Get in touch and try a demo

Talk to the Casi Crew

From new to used, EVs to ICE, Casi helps you scale flexible leasing with ease.

Talk to the Casi Crew
A macbook displaying the Casi Dashboard with graphs