Stopping Criteria for Iterative SRE Agents

When does the agent stop? Goal achieved. Goal unreachable. Budget exhausted. Confidence threshold hit. The four-criterion stop policy and the order they fire in.

The four criteria

An iterative agent without explicit stopping criteria runs until cost catches up with it. The four criteria below cover every case an agent loop has to handle.

Order they fire

The order matters because a confused order produces a confused agent. Budget is hard, confidence is fast, and self-report fires last when nothing else has resolved the run.

How agents self-report goal status

Self-report is what makes the loop legible. A structured status field forces the model to evaluate its own progress at every step rather than burying it in prose.

Confidence threshold trade

Threshold choice is product-specific. Stop-too-late wastes cost; stop-too-early acts on uncertainty. Pick by use case rather than by default.

Evaluating the stop policy

Stop-policy regressions are silent. The eval cases below catch them before they ship by exercising each direction the policy can fail.