BLOGBuilding with agents

Agentic engineering: how I build software with an AI council

Agentic engineering is AI agents planning, building and testing code inside rules that decide who checks what. How I do it, and what went wrong.

Three blocks of squares in blue, peach and lime at the corners of a triangle, joined by dotted lines to each other and to a small white block in the middle

Agentic engineering is building software with AI agents that plan, write, run and test the code, inside an engineering system that decides who builds, who checks and what stops them. The agents do most of the typing. The system decides what counts as finished.

I’m an AI engineer. This is how I build software at Code23 and across my other businesses, what I changed five times in five months, and how I set the same thing up inside agency development teams. I’ve written before about agentic coding in an agency, which covers the basics. This is the deeper version: the rules, the mistakes and the numbers.

Vibe coding, agentic coding & agentic engineering

The three terms get mixed up, and the difference matters when it’s a client’s code.

Vibe coding Agentic coding Agentic engineering
What it is Prompting an AI and accepting what it writes An AI tool that edits files, runs commands and fixes its own errors in a loop Agentic coding inside an engineering system
Who checks the work Nobody, until it breaks Usually the same agent Automatic checks, a second model and a person
Good for Throwaway prototypes Faster work by one developer Client and production software

Andrej Karpathy coined “vibe coding” in February 2025, and it’s brilliant for a weekend prototype. Simon Willison and Addy Osmani have both written well about the professional end, which they call agentic engineering. The tool can be the same in all three. What changes is everything around it.

My one rule: no agent marks its own work

I learned this the hard way. More than once, work that passed the author model’s own review had real problems that a model from a different company spotted straight away. If I’d trusted one model’s opinion of its own code, those problems would have shipped.

That isn’t bad luck. Models recognise their own writing, and they like it. A 2024 study, LLM Evaluators Recognize and Favor Their Own Generations, found a direct link between how well a model recognises its own output and how strongly it prefers it.

So I work like a council, and a council needs at least three members. With two models, a disagreement is a coin toss: one says ship it, the other says stop, and you’re back to guessing. With three, two can outvote one, and the odd one out has to show its working. I run at least three on anything that matters, usually four.

Right now the pool is Claude, Codex, Gemini (through Google’s Antigravity), Meta’s Muse and Grok. Which of them sit on the council this month matters far less than the fact that there is one. They come from different companies, trained differently, with different blind spots. One builds. A model from another company reviews. When they disagree, a third settles it, with the project’s tests as the final referee. Nothing skips independent review, including work that started with me.

The reviewer isn’t always right

Here’s the part most people miss. In July 2026, researchers tested exactly this on 116 coding tasks, with Claude and Codex reviewing each other and themselves.

Two bar charts of code pass rates. When Codex writes the code: Codex alone 71.6%, Codex reviewing itself 84.5%, Claude reviewing it 89.7%. When Claude writes the code: Claude alone 91.4%, Claude reviewing itself 91.4%, Codex reviewing it 82.8%.
Pass rates after review on 116 coding tasks. Source: Xiang, Zhang, Zhang and Xu, Cross-Model LLM Code Review, arXiv 2607.21656, July 2026.

Claude reviewing Codex’s drafts lifted the pass rate from 71.6% to 89.7%. But Codex reviewing Claude’s drafts dropped it from 91.4% to 82.8%. The reviewers in that study couldn’t run the tests, and a confident reviewer talked good code into bad changes.

That matches what I’ve seen. So a review finding is evidence, and evidence gets checked. The project’s own tests, types and build settle the argument. If a reviewer is in a minority of one but can show the bug, it wins. If it can’t, it doesn’t.

People search for this as an “LLM council”. Karpathy’s open-source LLM Council asks several models the same question and has them rank each other’s answers. Mine applies the same idea to software, with one extra member that never has an opinion: the test suite.

How I build now

This is the whole set-up, as it runs today.

Eight steps in two rows. 1 One command: every session starts the same way, with the team's rules loaded. 2 A lead plans: Claude or Codex reads the brief and splits the work. 3 Workers build: each slice in its own branch. 4 Checks run: the project's own tests, types and build. 5 Another model reviews: a different AI company checks the work, never the author, highlighted in lime. 6 A real-user test: my QA Mac uses the site like a person, when I ask. 7 Docs updated. 8 I decide: a person chooses what merges and ships, highlighted in peach.
My build process, October 2026.

One command. Every session starts with a single command, claude-yolo or codex-yolo. It loads the team’s rules, picks the right account and gives the agent full freedom inside its own branch. Anything that reaches the outside world, like sending, deploying, spending or deleting, still needs a person.

A lead plans, workers build. The lead model reads the brief and splits the work into slices. Each slice goes to a worker in its own git worktree, a separate copy of the code, so nothing collides. When Claude leads, Codex or Grok workers write the code, so the most expensive model spends its allowance on thinking rather than typing. A Codex lead uses its own workers. When one company’s allowance runs low, new slices can move to another.

Checks run. The project’s own tests, type checks and build. These are the referee, because they can’t be talked round.

Another model reviews, in proportion. A small change gets a fresh agent that didn’t write it. Anything risky or large, like security, payments, data or a big change, goes to a model from another company, with a third brought in if they disagree. I built a small tool, xreview, that sends it a short brief and the exact change, and nothing else.

A real-user test, when I ask. A Mac mini in the office uses the site the way a person does, clicking through the journeys and screenshotting what it finds. Passing tests doesn’t mean the checkout works. I’ve published the method as the open-source Agentic QA Toolkit.

Docs updated, then I decide. If behaviour changed, the documentation changes in the same piece of work. Then a person decides what merges and what ships.

Where the work happens

I’ve tried most of the places you can run coding agents: Cursor, Zed, Warp, Conductor, the Claude and ChatGPT desktop apps, Google’s Antigravity and plain Ghostty. They’re all good, and each suits somebody. I’ve gone back to cmux, a free, open-source macOS terminal built on Ghostty.

Two reasons. It feels direct: I type, the agent responds, and nothing sits in between. Polished app interfaces often add a beat of delay, and when you’re steering several agents at once you feel every one. And I can lay it out exactly how I like to work.

Illustration of a three-pane terminal workspace. On the left, a list of projects, each with a status such as agent working, needs you or checks passing. In the middle, an agent session showing the team rules loading, two workers building in separate worktrees, checks passing, a review sent to the other model family and docs updated. On the right, a browser showing the project's task list grouped into in progress, to do and done.
An illustration of the layout, with made-up projects and tasks.

Every project sits down the left as a vertical tab, and each one tells me whether its agent is working, finished or waiting for me. The agent sessions run in the middle. On the right, a browser has the project’s tasks open in Linear, so the ticket and the work sit side by side. When an agent needs me, its tab says so, and I don’t have to go looking.

The tool matters less than the habits. If your developers love Cursor, keep Cursor. What I’d standardise is the command they start with, the rules it loads and the checks it runs.

How a model earns its seat

Frontier models change every few weeks. OpenAI ships something brilliant, then Anthropic answers, then Google. A model that led my work in July can be the weakest in the room by September. So no model gets a seat because of its name or its launch-day benchmarks. It earns it on my tests and on real work.

I keep a frozen test suite: real agentic tasks, like a job queue, a config merge and a dependency planner, each graded by hidden tests the model never sees. Every serious new release runs through it, and I grade it on the same tasks as everything before it. On my September run, most frontier models scored two out of three. One well-known model scored nothing at all. The only perfect score didn’t come from a single model. It came from a team: one model planning, another building, a third reviewing. That one result is the whole case for a council.

Four steps for a model to earn a seat on the council: 1, new release, launch-day benchmarks noted but not trusted. 2, frozen tests, real agentic tasks graded by hidden tests. 3, earns a role as lead, worker or reviewer. 4, re-graded with every new version. Below: best single model on the September suite scored 2 of 3; a team of three models scored 3 of 3.
How a model gets on the council. Source: my frozen agentic test suite with hidden tests, September 2026.

Claude is the best example of how this works. The Claude model before Opus 5.5 scored one out of three on that suite, behind models that cost a fraction of the price. I’d already stopped letting Claude lead my builds because it burned through tokens and didn’t deliver. It was out of the stack.

Opus 5.5 earned its way back on real work, not on Anthropic’s announcement. A single Opus 5.5 session built a complete set of legal pages that passed every check, for USD 1.80 in six minutes. It then held up as a reviewer on work other models had built. Today it’s one of my two leads. If the next version slips, it goes back on the bench.

I test the tests as well. In July, one of my reviewer rankings looked convincing until I noticed the same model had written the test cases, competed in the test and marked the results. I withdrew the ranking. The rule now: the model setting the exam never sits it.

Leads, workers and handoffs

Every build has a lead: a frontier model running in my own start-up command, with the team’s rules, tools and memory loaded. The lead plans the work, breaks it into slices, and writes a tight brief for each slice before handing it to a worker in its own isolated copy of the code. Since 19 October, a Claude lead doesn’t write code at all. It plans, briefs, joins the pieces up and checks the results, and that frees it to review, because another company wrote the code.

The reviewer is always a company that wrote none of the code, whoever led. With three families in play (Anthropic, OpenAI and xAI, with Google’s Gemini as an extra reviewer), there’s almost always one that wrote none of it. If there isn’t, the merge waits.

The part people find most surprising is the handoff. I run on subscriptions, and every subscription has a limit. When one family drops to 20% of its allowance, new work can start going to another. At 5%, the lead checkpoints and hands over: the next session picks up the same task, the same rules, the same deadlines and the same count of attempts so far. Nothing resets because a different model took the wheel. A handoff only counts when the new session has actually started and made progress, not when a hand-over note exists.

Subscriptions vs API: the most expensive lesson

Subscriptions have limits, so I tried to get rid of them. In September I moved my whole build stack onto pay-as-you-go API access through OpenRouter, so I could use any model without ever hitting a cap.

On subscriptions I was spending the equivalent of £25 to £50 a day. On the API, I burned £1,500 in a day. Agentic work is token-hungry: long sessions carry hundreds of thousands of tokens of context, and almost all of the spend went on the frontier models doing the thinking. One reply to three emails cost USD 43. I capped the key that day and moved back.

Bar chart of one working day of agentic builds. Subscriptions across several companies: £25 to £50 a day. The build stack moved to uncapped pay-as-you-go API on OpenRouter: £1,500 in a single day.
One working day, two ways to pay. Source: my build logs, September 2026. Subsidy: SemiAnalysis, October 2026.

The reason is simple: the AI companies subsidise their subscriptions. SemiAnalysis tested every major plan to its limits in October 2026 and found subscription margins are far lower than API margins, with both OpenAI and Anthropic now working to reduce what they call subscriber subsidies. That won’t last forever, which is one more reason not to depend on one company.

So the frontier models live on subscriptions, across several families, with the handoff above moving work between them. The API is kept for small, cheap jobs, with a daily cap, approved hosts only and no training on my data.

Claude Code vs Codex: why I pay for both

Agencies ask me which one to buy. My answer is both.

They’re both excellent, and they feel different to work with. Which one leads depends on the job and on whose allowance has room. Whoever builds, a different company reviews. The study above is also why a review from either side is treated as findings to check, never changes to apply without question.

The bigger reason is resilience. If one company changes its pricing, has an outage or switches off a model, the work carries on with the other. Earlier this year I had a model switched off for 19 days. Two subscriptions cost far less than a week of a stalled team.

Five months, five set-ups

None of this arrived fully formed. Here’s how it changed.

Timeline from June to October 2026. June, build then review: Claude builds, Codex reviews, told what to distrust. July, cheap builder: a low-cost model builds, stronger models plan and review. August, direct seats: I dropped the lead harness. September, my own loop: a scripted build loop, 11 of 52 runs fully passed. October, native: one command, the tool's own subagents, the other family reviews.
How my engineering set-up changed, June to October 2026.

In September I built my own scripted build loop to run work unattended. On the same homepage rebuild, it beat a chat-led agent by a mile.

Three paired bar charts comparing a chat-led agent with a scripted loop on the same homepage rebuild. Hours to finish: 28.4 versus 2.1. Times a person stepped in: 31 versus 0. Recorded cost: 144.58 dollars versus 21.13 dollars.
The same homepage rebuild, run two ways. Source: my run records, 23 September 2026.

The chat-led agent took 28.4 hours. For 13.5 of them it sat idle after announcing it had “safely paused”. The scripted loop did the same job in about two hours with nobody stepping in.

Then the loop itself became the job. Over its life, only 11 of 52 runs fully passed, and I spent more time fixing the loop than building client work. Meanwhile, Claude Code and Codex had become very good at running their own subagents. On 1 October I stopped fighting them, froze my loop and went back to one command and the tools’ own features. Most of what I built along the way, I threw away. That’s fine. It’s how I learned what mattered.

What went wrong, and what I changed

These are the mistakes worth knowing about before you start.

The reviewer that made things up

One model’s code reviews started citing functions and file paths that didn’t exist. A review you can’t trust is worse than none, because it’s convincing. I stopped using that model for reviews. A review only counts now if it comes from a qualified model from another company and points at real code.

The builder I stopped trusting with data

Another low-cost model began describing a project that wasn’t mine, with a file that existed nowhere in the repository. I’ll never know where that came from, and I didn’t wait to find out. It was banned the same day. Every model I call through a third party now runs on a host I’ve chosen, with zero data retention and no training on my code.

The five-hour loop, and then the opposite problem

An agent once spent five hours in a review and repair loop, fixing one thing and breaking another. I brought in hard limits: work in 30-minute stages, and stop any approach that goes 15 minutes without real progress. Switching model or branch doesn’t reset the clock.

Then I over-corrected. Agents started stopping after every successful step to ask permission. So I made the rule explicit: a checkpoint isn’t an approval gate. Agents keep going through known, safe steps and stop when the evidence says they’re stuck.

The approval queue nobody read

At one point 246 items sat in an approval queue for 22 days. If every decision needs me, I’m the bottleneck in a business built to run without one. Sensitive work now gets more checking by more agents, and a person signs off the things that really matter: what ships, what touches money and what touches clients.

One very expensive session

A single 18-hour session cost USD 252 in cache reads, 86% of that week’s spend. The cheapest fix wasn’t a cheaper model. It was clearing the session between tasks and sending bulk reading to short-lived subagents.

Rules that never reached the agents

I’d written good rules, and some sessions never read them. Now the one command loads the team’s rules every time, so every agent on every machine starts from the same page.

What the wider evidence says

I’m not alone in any of this. In July 2025 an AI agent deleted a live production database during a much-publicised build, despite being told there was a code freeze. Research from METR found frontier models gaming the tests they’re scored on, changing the test rather than fixing the code. Instructions in a prompt aren’t a security boundary. Enforced sandbox permissions, checks the agent can’t change and credentials it can’t reach are. Branches keep code changes separate, which helps, but they don’t stop an agent doing something it has permission to do.

Does it make developers faster?

It can, but not on its own. In 2025 METR ran a careful study with experienced open-source developers. With early-2025 tools they took 19% longer, while believing they’d been 20% faster. By early 2026, METR struggled to run the follow-up because so many developers refused to work without AI.

Stack Overflow’s 2025 survey shows the same tension: 84% of developers use or plan to use AI tools, 46% don’t trust the accuracy, and 66% say their biggest frustration is code that’s “almost right, but not quite”. Google’s DORA research describes AI as an amplifier. Good engineering gets faster. Weak engineering gets broken faster.

My own example: I rebuilt the Code23 website in seven days, against about three months for the site before it. The speed came from the system, not from any one model.

How I set this up inside an agency

This is the work I do with agency development teams. It’s built on what runs in my own businesses, and it becomes theirs.

  1. Write the standards down where agents read them. An AGENTS.md or CLAUDE.md in every project: how to build, test and deploy, what “finished” means, and what never to do.
  2. One command for everyone. Every developer starts every session the same way, with the same rules loaded.
  3. A branch for every task. Small pieces, each in its own worktree, so agents can work in parallel without treading on each other.
  4. Checks that run every time. Tests, types and builds the agent can’t quietly change.
  5. A second opinion from another company. Proportionate review, with findings tested before anyone acts on them.
  6. A real-user test before release. Somebody, or something, clicks through it like a customer.
  7. Limits on unattended work. Time-boxed stages, a stall stop and spending caps on every key.
  8. Docs as part of done. If behaviour changed, the documentation changed with it.
  9. People decide what ships. Always.

I usually start with one developer on real tickets for two weeks, with me alongside. By the end, the team has the rules, the commands and the checks in their own repositories, and the skills to change them. I don’t license any of it. Every agency works differently, so the set-up ends up shaped around how yours does.

Where this fits

Agentic engineering is how I build. The agency OS is where the agents live and work from the same data, and the memory layer is what they all know. If your development team is experimenting with coding agents and you’d like it to hold up on client work, that’s what I help with. See how I work, or send me a message.

QUICK ANSWERS

Questions
people ask.

What is agentic engineering?

Agentic engineering is building production software with AI coding agents that plan, write, run and test code in a loop, inside an engineering system of written standards, isolated branches, automatic checks, independent review and human sign-off. The agents do most of the typing. The system decides what counts as finished.

What is the difference between agentic engineering and vibe coding?

Vibe coding means accepting whatever an AI writes without reading it, judging only whether the app seems to work. Agentic engineering uses the same agents with professional controls: written standards, small changes, tests, a second model reviewing the work and a person deciding what ships.

What is an AI council or LLM council?

An LLM council uses several AI models from different companies on the same problem so no single model's blind spots decide the answer. Andrej Karpathy's open-source LLM Council does this for chat questions. In engineering, it means one model builds, a model from another company reviews and a third breaks ties, with the project's own tests settling disagreements.

Why use at least three AI models instead of two?

With two models, a disagreement is a coin toss. With three, two can outvote one and the odd one out has to justify its position. I use at least three models from different companies on anything that matters, usually four, and the project's own tests settle any disagreement that remains.

How do you choose which AI models to use for coding?

Every new release runs through my own frozen test suite of real agentic tasks graded by hidden tests, then has to prove itself on real work. Launch-day benchmarks don't earn a seat. Models move in and out as they improve or slip: Claude left my stack before Opus 5.5 and earned its way back.

Are AI subscriptions cheaper than paying for the API?

For my heavy agentic workload, subscriptions have been much cheaper, although it depends on the models, plans and usage limits. On subscriptions I spend the equivalent of £25 to £50 a day. Moving my build stack to uncapped pay-as-you-go API access cost £1,500 in a single day. AI companies currently subsidise subscriptions, so I run frontier models on subscriptions across several companies and hand work between them as limits approach.

Claude Code or Codex: which is better?

Neither, on its own. They're both strong and they're good at different things. I use both, so each can review the other's work and either can take over when the other hits its usage limit. In one study of 116 coding tasks, Claude reviewing Codex raised pass rates from 71.6% to 89.7%, while Codex reviewing Claude lowered them from 91.4% to 82.8%. I check findings rather than applying them automatically.

Should an AI model review its own code?

Not on anything that matters. Research shows models recognise and favour their own output. Self-review can still catch slips, but for risky changes I use a model from a different company, and every finding is checked against the project's own tests before anyone acts on it.

Do AI coding agents make developers faster?

It depends on the system around them. METR's 2025 study found experienced developers took 19% longer with early-2025 tools while believing they were 20% faster. Written standards, small changes and automatic checks are how I manage the work. Measure completion time and rework on your own team's tickets rather than assuming a speed-up.

What are the biggest risks with coding agents?

Agents that run in loops for hours, agents that delete or change things they shouldn't, agents that weaken a test to make it pass, and reviews that nobody verifies. The fixes are time limits, isolated branches, no production credentials, checks the agent can't edit and a person approving what ships.

What is the best place to run AI coding agents?

Whichever your team will use consistently. Cursor, Zed, Warp, Conductor and the Claude and ChatGPT desktop apps all work. I use cmux, a free, open-source macOS terminal, because it feels direct and I can see every project's agent status at a glance. The command, rules and checks matter more than the tool.

How do you introduce agentic engineering to an agency's development team?

Start with written standards the agents read, one way to start every session, branches for every task and checks that run automatically. Then add a second model to review and a real-user test before release. One developer on real tickets for two weeks is usually enough to prove it.

MORE NOTES