Gergely Orosz · 11 min read · Gen AI Tools

What is “loop engineering?”

Read the original on newsletter.pragmaticengineer.com →

The article explores 'loop engineering' as a trend where developers design autonomous loops to guide AI agents instead of writing prompts. It traces origins from concepts like the Ralph Wiggum loop and the /goal command, outlines common loop patterns (triggers, cron jobs), practical use cases, and the downsides such as cost and drift, while contrasting loop design with broader context engineering.

Key Takeaways

Excerpt

“Loop engineering” has become a trending topic in the past month, after some high-profile folks at Anthropic and OpenAI revealed that they have stopped writing prompts, and started designing loops. At Anthropic’s developer conference, Boris Cherny, creator of Claude Code, said (emphasis mine): “I don’t prompt Claude anymore. I have loops running that prompt Claude and figuring out what to do. My job is to write loops. ” Soon after, Peter Steinberger, creator of OpenClaw, preached loop design in a post: Source: Peter Steinberger Elsewhere, Addy Osmani, formerly of Google, wrote an article , ‘Loop Engineering’: “Loop engineering is replacing…

Back to Product Lattice Feed