# Addy Osmani explains how to run practical loops with AI agents

> Original title: Practical Loop Engineering

- Source: O'Reilly Radar
- Published: 2026-11-02T11:54:29.000Z
- Bad Influence: https://badinfluence.news/items/cnzgwskum4xytffpwulaa5ucp
- Original: https://www.oreilly.com/radar/practical-loop-engineering/

## Summary

Addy Osmani describes loop engineering, where an AI agent repeats act, test, and adjust cycles until a stop condition is met. He says Claude Code offers the /goal and /loop primitives, and that a separate agent should verify the work. He advises clear, deterministic completion criteria and notes that recurring loops expire after seven days.
