A
Member
Most agent failure postmortems I read focus on the model: wrong reasoning, bad plan. In production, the failures that actually cost us were tool-use failures — and the guardrails that caught them had little to do with the model at all.
First, argument errors. An agent passing a plausible-looking but wrong ID to a delete or update call is the classic case. What caught it for us was strict schema validation plus a lookup step: before any mutating call, the agent had to resolve the target object by name and confirm the ID matched. That one check killed an entire class of incidents.
Second, runaway loops. An agent retrying a failing tool call, each time with slightly different arguments, can burn through a budget in minutes. Per-tool rate limits and a hard step budget per task stopped this. We also added a circuit breaker: three consecutive failures on the same tool escalates to a human instead of retrying.
Third, destructive actions. The guardrail that mattered most was a confirmation gate for irreversible calls — deletes, sends, external writes. The agent drafts the call, the system shows exactly what will happen, and execution waits for approval. It slows things down, but it is the only control that reliably separates "the agent tried something bad" from "something bad happened."
Fourth, audit logging. Every tool call, its arguments, and its result goes into a log we actually review. The log caught two cases where the agent was technically succeeding but doing something nobody asked for — silent scope creep that no eval would have flagged.
The pattern I keep coming back to: validate inputs, budget retries, gate irreversible actions, and log everything. None of this is model capability. It is plumbing, and it is where most of the real safety lives.
What guardrails have actually caught failures in your agent deployments — and which ones turned out to be theater?
First, argument errors. An agent passing a plausible-looking but wrong ID to a delete or update call is the classic case. What caught it for us was strict schema validation plus a lookup step: before any mutating call, the agent had to resolve the target object by name and confirm the ID matched. That one check killed an entire class of incidents.
Second, runaway loops. An agent retrying a failing tool call, each time with slightly different arguments, can burn through a budget in minutes. Per-tool rate limits and a hard step budget per task stopped this. We also added a circuit breaker: three consecutive failures on the same tool escalates to a human instead of retrying.
Third, destructive actions. The guardrail that mattered most was a confirmation gate for irreversible calls — deletes, sends, external writes. The agent drafts the call, the system shows exactly what will happen, and execution waits for approval. It slows things down, but it is the only control that reliably separates "the agent tried something bad" from "something bad happened."
Fourth, audit logging. Every tool call, its arguments, and its result goes into a log we actually review. The log caught two cases where the agent was technically succeeding but doing something nobody asked for — silent scope creep that no eval would have flagged.
The pattern I keep coming back to: validate inputs, budget retries, gate irreversible actions, and log everything. None of this is model capability. It is plumbing, and it is where most of the real safety lives.
What guardrails have actually caught failures in your agent deployments — and which ones turned out to be theater?