Field notes on systems design
Vol. I · 2026

The Architecture of
Autonomous
Coding Agents

How planning, tool use, verification and memory turn a language model into a system that can finish the job.

IPlanIIActIIIVerifyIVRemember
02 · System anatomy
Hover to preview · click to pin

Four organs, one closed loop

FAIL → REPLAN RECALL → NEXT PLAN 01Plannerdecompose intent 02Tool Loopact, then observe 03Verifierdemand evidence 04Memorykeep what holds

INPUT
OUTPUT
WATCH FOR
03 · The budget curve
ILLUSTRATIVE MODEL

What does another second of thinking buy?

┄ Single pass
━ Tool loop
━ Loop + verifier
Synthetic curves, not benchmark data
04A · One shot

Single-turn prompting

PromptModelAnswer one pass · open loop
Feedback

Waits for a person to reply

State

What the prompt carries in

Errors

Surface after the answer arrives

Best fit

Bounded, easy-to-check requests

You are the verifier.
04B · Closed loop

Long-horizon agent loops

GoalActObserveVerify until checks pass
Feedback

Tools, tests and logs inside the run

State

Plan, workspace and durable notes

Errors

Can be caught and repaired mid-run

Best fit

Multi-step work with testable results

Checks run; you set the bar.
05 · Failure atlas
Risk bars show editorial judgment

Every failure needs a named guardrail

8 of 8
StageFailure modeGuardrailRisk
06 · Takeaway

Autonomy is earned
through verification.

Grow the agent’s freedom at the pace your evidence grows.

PHASE 01

Instrument

Log each tool call, diff and decision. Make every run easy to inspect.

EXIT WHENAny failed run can be traced
to a specific step.
PHASE 02

Verify

Gate “done” on tests, builds and review that the agent cannot rewrite.

EXIT WHENEach success claim arrives
with checkable proof.
PHASE 03

Extend

Lengthen tasks and widen permissions in small, reversible steps.

KEEP GOING WHILEPass rates hold and recovery
stays cheap.

Ship the loop. Trust what it can prove.