From "ran" to "trustworthy"
A loop finishes when the model says "done." But "done" doesn't mean "right." In production the model is wrong about being done somewhere between 5% and 40% of the time — confidently. Verification is the practice of checking the agent's claim before treating it as the answer.
Three shapes show up most often:
- Mechanical check — does the code compile, does the test pass, does the output match the schema? Cheap, deterministic, no LLM.
- Judge panel — one or more separate LLM calls prompted to refute the claim. Catches plausible-but-wrong answers a mechanical check can't.
- Human check — for high-stakes claims. Slow, expensive, and the only one with no ceiling.
Rule of thumb: never ship an autonomous loop without at least one of the first two.
