Observability
Silent agent failures: find errors that do not raise an exception
Define observable failure conditions, preserve authoritative outcomes and audit unflagged cases without inventing a universal failure rate.
An agent can return a fluent answer and a successful HTTP response while giving the user the wrong result. These failures may be silent to infrastructure monitoring, but their prevalence depends on the application. This guide makes no universal percentage claim.
Define the failure in observable terms
In a synthetic support workflow, the agent says an address was updated even though the write was rejected. The failure is the unsupported completion claim, linked to that exact attempted update. An honest explanation of the rejection is a different case and should not trigger the same rule.
Other useful definitions include citing the wrong document revision, omitting a required step or repeating an action without resolving it. Make each definition specific enough that two reviewers can discuss the same evidence.
Preserve the evidence needed to decide
Capture the assistant’s statement, tool arguments and results, action identity and any later authoritative receipt. Define the boundary at which the result is assessed. Pending work remains unresolved; missing evidence does not establish success or failure.
Test a successful result for a different object. A detector that associates it with the original action can silently clear a real failure.
Review both alerts and non-alerts
Review alerts to estimate whether they are useful. Separately sample unflagged actions to look for misses. Record the selection method, labeling process and unresolved cases; a review queue chosen because it looks suspicious is not representative of all traffic.
Use disagreement to improve the rule and evidence capture. Preserve original predictions when recording corrections so changes in the evaluator can be assessed honestly.
Demonstrate a repair
Change the agent’s behavior, then run the original failure and healthy controls under the same tool conditions. Verify that the repair changes the outcome rather than merely changing the score. Keep application and evaluator revisions separate.
A taxonomy of silent agent failures
“Silent” describes the absence of an obvious operational alarm, not a single technical cause. Classify the defect before choosing an evaluator. The examples below are synthetic and deliberately separate application state from the language used to describe it.
| Failure | Evidence required | Healthy control |
|---|---|---|
| False completion | Final claim plus the same operation’s authoritative receipt | Correctly confirmed completion |
| Wrong target | Intended and actual object identifiers | Correct action on the intended object |
| Stale reference | Retrieved revision and its effective date | Answer grounded in the current revision |
| Unproductive loop | Repeated attempts, new information and progress state | A bounded retry that recovers |
| Hidden partial completion | Required subtasks and separate outcomes | An accurate report of completed and unfinished steps |
Distinguish a failure from an unverified result
If the trace has no receipt, you cannot conclude that the action failed. If it has an explicit rejection and the response claims success, you have a contradiction. If the receipt arrived after the response, it may establish the eventual outcome without justifying what the agent knew earlier. Keep these three situations separate in labels and alerts.
Use the runnable evidence lab to exercise those boundaries with structured fixtures. Real applications must also validate the evidence source and interpret the agent’s actual wording. A deterministic script can demonstrate a contract without proving that a semantic detector understands every response.
Find the failures your alert policy misses
Review a random sample of unflagged runs in addition to the flagged queue. Stratify by workflow or risk where useful, but retain population sizes and sampling probabilities. A set containing mostly suspicious runs is appropriate for diagnosis, not an unbiased failure-rate estimate.
When a reviewer finds a missed failure, ask whether the required evidence was captured, whether the policy covered the case and whether the evaluator applied that policy correctly. Each answer leads to a different repair. Add the reviewed case to a regression set along with a healthy counterpart, then assess the change on separate new examples. That closes the loop without treating a single repaired incident as proof that all silent failures are solved.
Sentrial’s current detector uses general models and can make mistakes on pending or honestly reported failures. A trained classifier may become useful after a reliable dataset and held-out comparison establish an advantage; it is not assumed to exist today. Start with the action-evidence guide and regression workflow to make the problem measurable.