Loop Engineering Introduction 12 of 12 steps written

How many attempts, by how many agents, and what has to be true before it stops

Twelve steps, four parts, three runnable jobs — eight switchable layers, and one rule you can apply before writing any code.

Introduction

Your agent handles the easy cases and then, on the rest, does one of three things: it spins, it gives up, or it announces an answer that is wrong. You have read that the fix is more agents, and you are about to build a crew of four, because that is what the examples show.

Two failures that look the same and are not

Everything in this volume rests on telling these two apart, because almost every technique in the subject treats only the first one.

the failurewhat the loop seeswhat more turns do
it knows it failedthe check says not donehelp — step 6 measures how much
it thinks it succeededthe check says done, and it is wrongnothing, ever — step 9

More turns help a loop that knows it has failed. They do nothing at all for a loop whose own check is satisfied by the wrong answer — and no amount of retrying, budgeting or stall detection changes that, because none of those layers is looking at whether the answer is right.

What loop engineering is

Loop engineering is the practice of deciding how many attempts an agent gets, who makes them, and what has to be true before it is allowed to stop.

Eight switchable layers in four phases. This volume measures what each one buys by holding the model fixed — it is scripted and deterministic — and turning the layers on and off around it. A change in the outcome can only have come from the loop.

phasethe question it answerslayersstages
more timehow long before you stop?budget · stall5–6
another gowhat if one attempt was not enough?retry · escalate7–8
more agentswhat if one worker is not enough?split · review9–10
keeping them honestwhat does splitting break?handoff · arbitrate11–12

The honest headline, up front

The most efficient configuration measured here is one agent, alone, with nothing switched on. It finishes three of four parts at 0.75 parts per turn, and the complete eight-layer loop never beats 0.36 anywhere. Every layer in this volume buys completeness with turns. None of them makes a loop faster, and one of them — on two of the three jobs — makes it worse for four consecutive stages before it gets better.

Is this for you?

if…then
your agent stops early and says it is donestep 9 — and more turns are not the answer
you are about to split one task across several agentsstep 7, which counts what that costs before it counts what it buys
you have a crew of four and one of them is wrongstep 7's second half: someone has to be allowed to settle it
you are adding layers in order and it is getting worsestep 11 — that is measured here, and it recovers
your loop finishes, correctly, and you cannot say whystep 4. Nothing else in this volume works until a turn is defined

The three jobs

One task each, made of four parts, so a run can be partly right. They are chosen to differ on the one property step 11 turns into a rule.

jobthe taskwhat a wrong answer looks likecan a second attempt see its own failure?
Afix-a-test — one program, four bugsthe suite goes redyes
Btriage — one failure, four artifactsa plausible wrong causeno
Canswer — one question, four documentsa figure with a qualifieryes

How the measurement works

One scripted model, one fixed turn order, and every figure reproducible byte for byte. --ablate prints four blocks rather than one, and the reason is a finding in its own right:

blockwhat it doeswhat it hides
the ladderturn the layers on one at a time, cumulativelythat adding the next layer can make things worse
leave-one-outremove each layer from a complete loopany layer whose job is to repair another layer's damage
split baselineremove each layer from a loop that has only been splitnothing — this is where phase 4 becomes visible
stresseach layer on, then off, against a complete loopthe same blind spot as leave-one-out, one layer at a time

The third block exists because of the result in step 7: a layer that repairs damage caused by another layer measures as worthless in any configuration where the damage is already repaired. That is a fact about the instrument, not about the layer.

How to read the source labels

labelmeans
conceptargued from first principles, quotes nothing from a lab
measureda lab compares configurations and reports the difference
hands-onyou run it on your own material
Nothing here is a benchmark. Three jobs, four parts each, one scripted agent, and the agents never run at the same time — they take turns in a stated order so every figure reproduces. Step 12 lists every limit, starting with that one.
Build state: 12 of 12 steps written.