What the Hell Is a Loop, Anyway?

AI-generated summary of reporting by Oreilly AI ML Blog. Read the original for the full story.

Why it matters

It maps the four architectures hiding behind the hyped word 'loop' and hands engineers a vocabulary for deciding which parts of agent workflows to automate versus keep human.

Read this as

In June 2026, the AI world adopted the word 'loop' to describe how autonomous coding agents work, but it means four different things. The article untangles them: an agent's own act-observe cycle, restarting agents against the same spec, running a whole software lifecycle, and systems that improve themselves. Anthropic says 65% of its product team's code is now agent-written, but humans remain the bottleneck. Readers get a map of where human judgment should sit.

AI engineers are rebranding agent automation as 'loops', and this taxonomy sorts four distinct designs: execution, task (Ralph loops), product (software factories), and system-improvement loops. Warp runs its own repo on its factory platform, ratcheting auto-merge from 20% toward 60%; Anthropic's Claude Tag writes 65% of one product team's code. The key risk is delegation: even Anthropic is bottlenecked on human review. Executives should treat autonomy as a per-loop dial, not a binary switch.

The article distinguishes four loops: the agent's execution loop (tool call, observe, repeat); the task loop where Ralph loops restart agents with fresh context windows per task to avoid context rot; the product loop iterating over an entire codebase lifecycle (Factory, Warp's Oz platform); and the autoresearch/system loop that improves prompts, harnesses and evals, exemplified by Karpathy's 630-line autoresearch and Meta's Brain2Qwerty v2, which still hand-selects final training configs. Devin's Security Swarm fan-out is explicitly excluded as a pipeline, not a loop. Human oversight is the outermost loop with no automatic exit condition.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Ralph loop Claude Tag Brain2Qwerty v2 Devin Security Swarm Loopcraft Arize AX Oz

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading