Loop Engineering
June 13, 2026Posted by Roberto Stagi
"Loop engineering is replacing yourself as the person who prompts the agent. You design the system that does it instead."
Everything started with a tweet from @steipete:

Then Addy Osmani wrote a full article about it.
The thesis is that a loop here can be thought of a recursive goal where you define a purpose, and the AI iterates until complete. It's roughly five building blocks:
And Claude Code and Codex both have all five now.