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.
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
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
n8n's open source personal agent runs on your machine and asks before it acts
Developers uneasy about cloud-based AI agents get a local, approval-gated alternative they can download today, though its research-preview status limits real reliance.