An agent's stop conditions define when the loop ends: goal reached, maximum number of steps, token or time budget exceeded, repeated error. Without them, an agent can run indefinitely and blow up costs.
Example
MAX_STEPS = 10; stop if cost > budget or a final answer is produced