Anti-patterns · #8
Unbounded Loop
- Symptom
- An L1 agent stuck in unproductive infinite cycles due to flawed reasoning, with no programmed recursion limit or step budget.
- Fix
- Set a hard recursion_limit and a step budget at the harness level. Add a Reflexion gate or a tool-call counter to break runaway loops.
- Origin
- Introduced at L1
- Cross-link
- Originated on L1 with ReAct; recurs here whenever a primitive Loop has no termination.
Keep exploring