ع
Start Topics Teams Reference What's new Saved
Advanced

Building reliably with agents

How do I make agent-written software actually reliable?

Short answer

Reliability comes from the system around the agent, not from a better prompt. Specify the outcome precisely, split the work into pieces small enough to check, and make something verify each piece — a test, a second agent, a fixed rule — before it counts as done.

This is the deep end of the site, and it is aimed at a specific moment: you have got past “can it build this?” and landed on “it built this, and I am not sure I can trust it next time.” Everything below is about the second problem, which is a very different problem from the first.

The through-line across these pieces is one observation. Producing software got dramatically cheaper; knowing whether the software is right did not. So the bottleneck moved downstream, and every reliable setup you will read about here is some answer to the same question — who or what checks the work, and how does that check happen automatically rather than because someone remembered.

They are best read roughly in this order. Vibe coding names the default habit — describing what you want and steering by feel — and is honest about where it shines and where it bites. Slop and determinism gives you the structural fix: keep the parts that can be certain certain, and let the model handle only what is genuinely fuzzy. Recursive agents and loop engineering are the two orchestration arguments, one about an agent that decomposes and verifies its own work, the other about designing the loop that prompts the agent instead of prompting it yourself. The software factory zooms all the way out to the whole cycle — signal in, shipped change out — and is the most speculative of the five.

Two warnings before you go in. First, none of this is about writing better prompts; if anything the collective claim is that prompt quality stops being the interesting variable surprisingly early. Second, this material leans technical and Power-Track — the examples are code and pipelines. The judgment travels well beyond code, though. “Split it small enough to check, and make the check automatic” is as true of a monthly reporting process as it is of a test suite.

The words

Agentic coding AI coding agent
Agentic coding is using an AI that actually does the software work for you — reads your files, writes and edits code, runs commands, checks the result, and fixes its own mistakes — instead of one that just hands you a snippet to paste. You describe the outcome you want in plain language; the agent works out the steps and carries them out. Claude Code is an agentic coding tool, and you don't have to be a programmer to direct one.

Read more