LLMs are stochastic, not deterministic. Here is why agent loops break in production, and the guardrails, schema checks, FSMs, circuit breakers, that fix it.