"Stop prompting the agent โ design the system that prompts it." Three people independently reached the same phrase within one week of June 2026. A new layer in the stack ๐
Title: Loop Engineering: The Anthropic Playbook for Designing Systems That Prompt Your Agents
URL:
A field note defining loop engineering as the 4th layer above promptโcontextโharness, decomposed into five moves, six parts, and four costs. Three highlights.
๐ Move yourself OUTSIDE the loop
Earlier terms assumed a human at the keyboard prompting line by line. Loop engineering deletes that assumption, shifting you from being the engine to designing it. It wakes on a timer, spawns sub-agents, and feeds its own output back as the next input โ that cross-conversation memory is what makes it a loop, not a one-off rerun.
๐ The hard part is verification that can say "no"
Ask an agent to grade its own output and it praises it. So rather than making the generator self-critical, you tune an independent skeptical evaluator on a different model โ one that doesn't just read but acts (e.g. via Playwright) to verify. Claude Code's /goal lets a fresh small model judge the stop condition (the bank maker-checker principle).
๐ Generation is nearly free; judgment is the scarce resource
Code, PRs, and fixes become abundant; value concentrates in deciding which one is actually right. Stripe merges 1,300+ machine-written PRs a week, yet reliability comes from constraint quality, not model size โ and humans still review every PR.
The closing line lands: the same loop, built by two people, can yield opposite outcomes.
#
AIAgents# #
LoopEngineering#