Skip to Content
loop.fun
Foundations

Andrew Ng's three loops

Machine loops sit inside human loops, and the human loops set the pace.

In his June 2026 letter in The Batch (issue 359), Andrew Ng described building new products with AI agents as three nested loops running at different speeds. It is one of the most useful framings of the year, because it puts the machine loop in its proper place: inside human loops.

Agentic coding loop
Runs in minutes. The agent works from a product spec and, optionally, evals, then builds, tests and fixes on its own.
Developer feedback loop
Runs in hours. A person looks at what the agent built, adjusts the spec, changes direction and re-runs.
External feedback loop
Runs in days. Real users, customers or the market react, and the product direction changes.

Ng's example was a typing-practice app for his daughter. Per secondary summaries, the agent ran for about an hour unattended, using a browser to check the UI itself. secondary reporting

Why this matters for loop design

  • Faster inner loops make the outer loops the bottleneck. If the agent can produce a working version in twenty minutes, the limit is how fast a person can look at it and say what's wrong. A summary of Ng's framing puts it as "faster agents demand slower human feedback". This connects directly to the review bottleneck.
  • Evals are how you move work from the middle loop to the inner one. Anything you can encode as an automated check, the agent can iterate on without you. Anything you can't stays in the developer loop. This is the same insight as writing goals that can be checked.
  • Not everything belongs in the inner loop. The external loop, real-world feedback, can't be simulated away. Loops shine when there's a reliable signal close at hand and struggle when the true signal is days away.

loop.fun

Patterns, hints and tools for designing the loops that keep agents working, and for widening the set of loops you can think of.

© 2026 loop.fun · CC BY 4.0

On this page