Engineers Embrace Loop Engineering For AI Agents
Boris Cherny, head of Claude Code at Anthropic, said in a CNBC interview reported by Business Insider that he no longer writes prompts: "I don't write the prompt anymore. Claude writes the prompt, and now I'm talking to that new Claude that is kind of coordinating." OpenAI engineer Peter Steinberger separately wrote on X that "you shouldn't be prompting coding agents anymore. You should be designing loops that prompt your agents." Writer Addy Osmani then published a long post titled "Loop Engineering" that gave the pattern a name and laid out a five-part architecture. Coverage in The New Stack, AINews, and multiple developer newsletters describes the shift as a week-long viral discussion in June 2026, with loops treating agent orchestration as a recurring system design problem rather than a turn-by-turn interaction.
What happened
Boris Cherny, who leads Claude Code at Anthropic, told CNBC - as reported by Business Insider - that he stopped writing individual prompts: "I don't write the prompt anymore. Claude writes the prompt, and now I'm talking to that new Claude that is kind of coordinating." In a separate public post on X, OpenAI engineer Peter Steinberger wrote: "You shouldn't be prompting coding agents anymore. You should be designing loops that prompt your agents." Writer and engineer Addy Osmani then published "Loop Engineering," a post that named the pattern and described a five-piece architecture including discovery, task decomposition, an orchestration layer, verification, and persistent memory. The New Stack confirmed Cherny's framing: "my job is to write loops." AINews covered the concept under the headline "Loopcraft: The Art of Stacking Loops," describing it as a discussion sparked by Steinberger, Cherny, and Andrej Karpathy in the same week.
What loop engineering means in practice
Loop engineering, as described across multiple practitioner posts, treats agent interaction as a system design problem. Instead of issuing a single prompt and reviewing the result, the engineer builds a recurring orchestration - a loop - that sets goals, invokes the agent, checks outputs, and re-prompts automatically. Examples cited include a /goal control that keeps an agent working until a task completes. Addy Osmani's five-part architecture maps each component to existing tooling. Multiple authors frame loop stacking - chaining several such loops - as the next layer above individual agent harnesses and scheduling.
Tradeoffs
Several sources, including Osmani's post, flag token and compute costs as the central operational constraint: loops that run longer and invoke agents repeatedly can burn significantly more compute than a single well-crafted prompt. Observability and verification steps are highlighted as critical to prevent silent failures or runaway cost. Teams adopting the pattern must instrument loop state, set budget guards, and define stopping conditions.
What to watch
- •Which developer platforms and low-code runtimes ship loop primitives (goal setters, watchdogs, persistent memory) as first-class SDK features.
- •How toolchains add audit trails and cost controls into loop execution.
- •Whether the term 'loop engineering' stabilizes or fragments into competing names (loopcraft, agent orchestration, harness engineering) across communities.
Scoring Rationale
A practitioner-relevant workflow shift endorsed by named engineers from Anthropic and OpenAI, with wide coverage across developer communities in June 2026. Loop engineering is a conceptual/naming event rather than a product launch or research breakthrough, placing it in the Solid-to-Notable range; the multi-source corroboration and practitioner adoption context support a mid-range score.
Practice interview problems based on real data
1,500+ SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problems

