Skip to content

AI engineering · 21 June 2026 · 4 min read

AI writes a lot of our code. A plan decides what it writes.

AI coding agents build quickly, and they build whatever they're asked for. How we put the plan first, in the repository where agents can read it, with the important rules checked automatically.

  • AI engineering
  • AI coding agents
  • Architecture
  • Documentation
  • For CTOs and tech leads
  • For founders
In this article
  1. Where the plan lives
  2. Rules a machine checks
  3. What a person still owns
  4. If you're bringing agents into your own team
  5. How we start a piece of work

AI coding agents can build a feature in an afternoon. Whether it's the right feature, built the right way, depends on what was decided before the agent started typing. On our projects that plan comes first, and it's written down where the agents can read it.

We work with coding agents every day, mostly Claude Code and Codex, and a large share of the code we ship starts life as their output. They are quick, and remarkably good at the parts of programming that used to eat whole afternoons: wiring up an endpoint, writing the tests for it, or renaming something across forty files without missing one.

They are also very literal. Ask an agent for a feature and it will build one, confidently, in whatever shape seems most likely from your request and the code around it. If the request was vague, you get a plausible guess delivered at speed. Speed makes a good plan pay off sooner and a bad plan fail sooner, and the agent has no way of telling which one you gave it.

Where the plan lives

On the real-time data platform we work on, the plan lives in the repository, next to the code it describes, in a form both people and agents can read.

At the root sits an instruction file that works as a routing table. For each kind of work, such as changing sign-in, touching production infrastructure or formatting a number for people to read, it names the rules file an agent must read in full before its first edit. Each of the platform's services and packages also carries its own short notes on what it is and how to build and test it. An agent starting a task reads the rules for that task first, the way a sensible new engineer reads the notes before touching anything.

Above those sit the bigger decisions: dated architecture records explaining why the system is shaped the way it is, and written proposals for work that hasn't started yet. An agent asked to change something can be pointed at the decision that governs it, instead of being left to guess.

Rules a machine checks

Written rules help, but nobody, human or model, follows every rule every time. So the important ones are also checked automatically. Every pull request on that platform runs about a dozen checks before it can merge, including layering rules that stop one part of the system reaching into another, a hunt for unused code, type checks, a check that the shared domain contracts still hold, and test coverage.

This changes how we review an agent's work. Instead of checking every generated line by hand, we let the automated checks catch the mechanical mistakes and spend our own attention on the questions a check can't answer: is this the right approach, and does it do what the client actually needs?

What a person still owns

Reviewing agent output is a skill of its own. The code usually looks fine, which is exactly the problem, because plausible code is easy to approve. The useful questions are the boring ones. Does this match the decision record? Did it quietly add a dependency we agreed not to use? Does the test check the behaviour, or only that the function runs without errors? What happens in the case nobody mentioned?

Every change still has a named engineer who understands it and can explain it to the client. If something breaks at 2am, the person who gets the call has read the code, and doesn't need to scroll back through a chat history to work out what the agent was thinking.

If you're bringing agents into your own team

Start smaller than you think. Pick the part of your codebase where a mistake would hurt most, write down its rules in plain language, and turn the most important of them into automatic checks. Then let the agents work there and watch what the checks catch. Within a couple of weeks you'll know more about where your architecture is clear, and where it only lives in someone's head, than a year of code reviews would have told you. Widen the circle from there, one area at a time.

How we start a piece of work

Every engagement runs the same way: we diagnose the problem, decide on one plan with one price and one timeline, deploy, and hand over. The agents arrive in the third step. By then the outcome, the measurable targets and the architecture are agreed and written down, and the rules that matter are already wired into the checks.

That ordering is the main reason working AI-first feels fast instead of chaotic. The agents are quick at building, and the plan makes sure they build the thing you wanted.

Start with a Diagnosis · £500 + VAT, fixed fee

Before anyone, or anything, writes code, we review your plan, data and any quotes against the rules you have to meet, and tell you what we'd stop, change and keep. In writing, within 3 working days of full access.

All articles

Read something that sounds like your problem?

A free 15-minute intro with our CEO. Bring the article, and he’ll tell you which service fits, if any. If a spreadsheet and two rules would do the job, we’ll say so.