🤖Agent Stop Condition
Also known as Max Iterations (Agent), Agent Turn Limit, Agent Budget Limit
A rule that tells an AI agent when to stop. A turn limit is one.
Think of it like
It is like a timer on an oven. It stops the cooking even if no one is watching.
Example
Jack runs a coding agent with a limit of 30 turns. On a hard bug it hits turn 30, stops and reports what it tried, instead of looping all night.
Why it matters
Agents can get stuck in loops. A stop rule caps the time and money a bad run can waste.
Definition
Common mistake
Key takeaways
- 1Goal met. The best reason to stop.
- 2Hard limits. Turns, time or money as a backstop.
- 3Say why. Report which rule ended the run.