Moving from Prompt Engineering to Loop Engineering: A Real-World Agent Workflow

letandrewcook · x · 2026-08-12

The author argues that prompt engineering accounts for only 5% of the outcome when getting AI agents to ship real work, while the remaining 95% relies on loop engineering.

Instead of obsessing over a single perfect prompt, developers should design the cycles the model operates within: how work enters, gets decomposed, executes, is verified, and feeds into the next round. The author details their daily "triangle of loops" setup, operating across different time scales:

The article provides a practical, no-ideology breakdown of the actual machine setup from /.claude to delivering a Pull Request.

Related event: Loop Engineering: A New Paradigm for Building AI Agents(2 posts)→

Original post →

More from coding & agent

coding & agent channel →