Back to the foundations:
how Klair rebuilt the way it makes software.
In October 2026, we rebuilt the way Klair makes its software from the ground up, around AI agents. What we found, what we built instead, and what applies elsewhere.
Working for our AI agents
Working for our AI agents
Until October 2026, our days as engineers all looked alike. We launched AI agents, waited for them to finish, read their summaries and restarted the ones that had stopped. Before every release, and before every account they had to create, they asked for our approval. We gave it almost every time. When a user messaged us on WhatsApp to say a screen wasn’t working, we copied the message over for the AI agents, waited for the new version and sent it on to the user. We were working for our own factory.
We hardly wrote any code any more, and our work had stopped making a difference. On a call on 29 October, we faced it: the loop wasn’t right. This article explains how we rebuilt it.
How we used to work
When AI started writing code with us, we fitted it into the way of working we knew: the way development teams are organised. A project began with a long specification and screen mock-ups. We broke it down into dozens of tasks. Someone reviewed every change before accepting it, and we spent days checking that what was delivered matched the plan. In the meantime, new ideas had come up, a meeting had changed a rule, and we’d have to rework it.
AI made writing code much faster, and everything else stayed as slow as before. Reviewing, checking and approving still fell to us. We’d carried old ways of working over to a new technology, instead of asking what ways of working it calls for.
What we found
A model gets things wrong without warning. An AI that writes code works on probabilities. When it makes a mistake, you can’t tell in advance where, and a plan written before the first line of code won’t protect you from that kind of error. What catches these errors is a fast signal once the software is live: a page that throws an error, a user who gets stuck, a metric that drops. Models themselves learn this way, from a signal that arrives after their answer and tells them whether it was right. We applied the same logic to our software: a clear intent up front, a quick correction afterwards.
We were the slow link in the chain. We reviewed and we approved, but at the AI agents’ pace we said yes to almost everything and changed nothing. Our approval had become a signature we gave out of habit, and every signature held the work up. Our real contribution came from somewhere else: the moments when, using a piece of software, we had an idea about what it should do.
Writing the code is no longer the hard part. When it comes to writing code, we’ll never beat the models again. The hard part is knowing what to write: the decisions already made, the mistakes already fixed, what users really do. All of that lived only in our heads and in the code history.
What surrounds the model matters as much as the model. With checks and signals around it, a mid-range model does a decent job on software like ours. The hardest tasks still need the strongest models.
What we dropped
The detailed plan written in advance. Today a request arrives as an intent a few lines long, saying what needs to change and why. AI agents break it down into tasks, and nobody at Klair reads that breakdown before the work starts. With a client, we still write a short document that sets the scope and the price. For the factory, that document is the intent.
Reviewing every change. Nobody at Klair reads the code before it goes live any more. AI agents other than the ones that wrote it check the result and send it back if it doesn’t hold up. Others hunt for defects by using the software the way a user would. At each new stage of a piece of software, a security audit and a performance measurement go over its code and how it runs.
Asking for approval on everything. We sorted every action with a single question: can it be undone? A code change or a release can be undone, so it goes out without us. An action that can’t be undone waits for a person’s approval, and a safeguard written into the code stops the AI agents from getting round it. In a client’s software, anything that goes out to the outside world, such as a payment or a message to a third party, waits for the client’s approval.
The staging environment. We kept it until November 2026. Today, a change that can be undone in a single step goes straight to production once its tests pass. It’s monitored from the first minute, and if it breaks, it rolls back to the previous version on its own.
Documentation written for us. Our documents were written for human readers, and they went out of date quickly. An AI agent reads everything we write, every time it runs. Now we write for the agent first.
Our attachment to the code. We treated every line as something to protect, and we were reluctant to change it. Today a line changes as soon as the software needs it to. A first rewrite of one of our own applications, starting from its description, will put this to the test. We’ll publish the date and the result here.
One thing stayed: the history of every version. It’s as useful to the AI agents as it is to us.
What we rebuilt
Four principles hold it all together. A clear intent up front, a quick correction afterwards. What can be undone goes live on its own, and what can’t waits for a person’s approval. Everything we write is written first for the AI agent that will read it. People bring the ideas and set the direction.
The factory is always listening, and users’ messages no longer pass through us. It receives everything in one place: the feedback users send from inside their software in one step, errors and slowdowns in production, emails, and usage metrics such as abandoned journeys or load times. When an application’s AI agent can’t answer a question, the agent itself reports what it was missing.
Every signal becomes an intent. The version that passes its checks goes live and is then monitored. When a release breaks, the factory rolls back to the previous version on its own. On 4 November 2026, on an application built for the exercise, we broke a release on purpose at 00:44. It was rolled back 6 minutes later, and the application was working again 14 minutes after it broke. Of the factory’s first 9 rollbacks of this kind, 3 undid a broken version and 6 were false alarms.
In 30 days, the factory released 1,650 out of 2,290 code changes by itself.
Where people fit in
In the chain that builds our software and keeps it improving, a person at Klair brings the ideas, challenges the work and sets the direction. They also keep whatever needs their approval. Code, plans and releases go through without them. We chose speed. The person was the slow link in the chain. Now that AI agents carry out the work, the chain moves at their pace, night and day.
We used to spend our time serving the AI agents. Now we spend it using our software the way a client would. We open a screen with fresh eyes, note what should change, and the next version arrives without us having to see it through. The factory only brings us the choices that shape an application’s long-term direction.
What applies beyond software
Most of these changes have nothing to do with code. Which procedures were written for people, and do they still hold up when AI agents follow them? Which approvals actually change anything? Which actions can be undone, and which can’t? Which judgement calls should people keep?
These questions apply just as much to an accounts department, a legal department or a local authority. We’ve put them to the test on our own software, and the support we offer grows out of that practice.
Once a procedure is written like an instruction manual, AI agents can follow it. The teams keep the judgement.