AI · September 16, 2026

Loop Engineering Emerges as New Practice for Autonomous AI Agents

Long exposure light trails on a highway before the illuminated New York City skyline
Zac Ong / Unsplash

Loop engineering is the practice of designing systems that prompt, check, remember, and re-run an AI agent. This approach replaces the need for a person to manually manage an agent turn by turn. In a loop, a model takes an action, receives feedback from its environment, and uses that feedback to determine the next step until a checkable condition is met or the agent determines it cannot proceed further.

This method differs from a chain, which follows a fixed order of steps. Loop engineering utilizes recursive goals, where a user defines a purpose, such as making a test suite pass, and the agent iterates independently. The focus shifts from writing a single prompt to designing a cycle that can run without constant human supervision.

The term gained prominence in June 2026. On June 7, 2026, Peter Steinberger of the OpenClaw project stated that the necessary skill had shifted from prompting agents to designing the loops that prompt them. This claim reportedly reached 6.5 million views within days.

Following this, Google engineer Addy Osmani published an essay titled Loop Engineering. Osmani defined the anatomy of the practice as consisting of automations, worktrees, skills, connectors, sub-agents, and external memory. Boris Cherny, who leads Claude Code at Anthropic, stated that he no longer prompts Claude directly but instead writes loops that prompt the model.

This shift occurred as coding agents became capable of running unattended for long periods and recovering from their own mistakes. Loop engineering represents the latest layer in a progression that began with prompt engineering between 2022 and 2024. While prompt engineering focused on wording and expression, loop engineering focuses on building a cycle that keeps an agent productive and pointed toward a goal while unattended.