Agent loops · 2026-08-15

The same step fails the same way on every pass of the loop.

The agent keeps retrying the identical action.

  1. ARetry the identical action, just allow more iterations.
  2. BRecognise the repeated identical failure and re-plan a different approach (or escalate).
  3. CIncrease the tool timeout and try again.
  4. DSwitch to a bigger model and retry the same action.

Answer: B

Recognise the repeated identical failure and re-plan a different approach (or escalate).

Why

A deterministic repeat failure will not fix itself by repetition. Detect it, then change the approach or escalate - more iterations, a longer timeout or a bigger model just fail identically, slower.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path