Three failure points show up repeatedly when AI agents are chained together for approval workflows: a validation step that only covers the first agent in the chain, a side effect that already happened by the time a later check rejects the result, and no standard way to escalate an ambiguous handoff to a human. None of these are hypothetical — they’re documented limits in how today’s agent frameworks actually implement handoffs and guardrails, not edge cases a team stumbled into by misusing the tools.

Failure point 1: validation that only covers the first agent
In OpenAI’s Agents SDK, input guardrails run only on the first agent in a chain, and output guardrails run only on whichever agent produces the final output. A multi-agent chain built as Intake → Reviewer → Payment, with an input guardrail checking that the request is well-formed, only ever runs that check against what Intake received — not against what actually reaches Payment after Reviewer has transformed, summarized, or added to it. If Reviewer hands off a request that has drifted from what Intake originally validated, nothing re-checks it before Payment acts.
The fix isn’t a bigger input guardrail on Intake — it’s accepting that agent-level guardrails cover the edges of the chain, not its middle, and designing accordingly. The SDK’s own documentation recommends tool guardrails, which wrap a specific function-tool call with input and output checks, precisely because they run at the point of action rather than at the edges of the overall run — a better fit for a chain where the risky step (issuing a payment) happens partway through.
Failure point 2: a rejected output doesn’t undo completed actions
An output guardrail’s tripwire rejects the candidate final output — the text or structured response the agent was about to return. It does not roll back whatever the agent already did on the way there. The SDK’s documentation is explicit that completed tool-call items are persisted even when the final output they led to is rejected; only the rejected output itself is discarded. For an approval chain, that distinction is the whole risk: if Payment calls a “send funds” tool and only afterward produces a final response that an output guardrail blocks, the funds have already moved. The guardrail caught a bad summary, not a bad action.
This is why the SDK’s own advice to prefer tool guardrails over output guardrails for these workflows matters structurally, not just stylistically: a tool input guardrail runs before the tool executes, which is the only point in the chain where blocking actually prevents the action rather than just rejecting its description after the fact.
Failure point 3: no built-in path for an ambiguous handoff
When a model has to choose which agent to hand off to and the right choice is genuinely unclear — a request that could plausibly route to either Reviewer or directly to Payment — the documented control surface is narrow: a handoff can be blocked by raising inside its on_handoff callback, but there’s no documented retry, fallback, or escalate-to-human pattern built into the handoff mechanism itself. A blocked handoff just fails; it doesn’t automatically route anywhere else. Teams that assume the framework has an implicit “ask a human when unsure” path for handoffs are assuming something the documentation doesn’t promise — that behavior has to be built explicitly into on_handoff or the surrounding application logic, the same way our layered guardrail design treats escalation as its own deliberate layer rather than a free side effect of blocking something.
A quieter fourth failure point: a crashing guardrail isn’t a rejection
Worth flagging separately because it’s easy to assume the opposite: a guardrail function that raises an exception is treated as an unknown verdict, not as a rejection. A team that writes a tool guardrail assuming “if my code throws, the action is blocked” is relying on behavior the SDK doesn’t document. Guardrail code needs its own error handling that resolves to an explicit allow or reject, the same bar you’d hold any other authorization check to — a security check with a bug shouldn’t silently become a non-check.
Mapping this onto an expense-approval chain
Take Intake (parses the expense request) → Reviewer (checks policy, applies a cost-center tag) → Payment (issues reimbursement) as a concrete illustration. The fix for failure point 1 is a tool guardrail on Payment’s “issue reimbursement” tool that re-validates amount, recipient, and cost-center against policy at the point of the call — not trusting that Intake’s earlier check still holds after Reviewer has touched the request. The fix for failure point 2 is making that same tool guardrail an input guardrail on the tool, so it runs before the funds move, rather than an output guardrail on Payment’s final response, which would run after. The fix for failure point 3 is deciding, explicitly, what happens when Reviewer’s handoff decision is ambiguous — routing to a human queue by default inside on_handoff rather than letting the model’s best guess stand unchallenged, similar in spirit to how Sourcegraph’s agentic batch changes keep a review guardrail in the loop rather than letting a batch of changes land unreviewed.
Testing for these failure points before they reach production
Each of the three failure points above is hard to catch with the kind of testing most teams already run, because unit-testing one agent in isolation can’t show what happens at the seam between two of them. A guardrail that correctly rejects malformed input when Intake is tested alone says nothing about whether Reviewer’s output still passes that same check once it reaches Payment — the seam is exactly where no single agent’s test suite looks.
The more useful test sends one request through the full chain and inspects what each agent actually received and produced, not just the final answer. The Agents SDK’s tracing view records this by default: every agent run, handoff, and guardrail evaluation in a workflow shows up inside a single trace, so a request that drifted between Intake’s validation and Payment’s execution is visible as a concrete input diff rather than something to infer from a wrong final result after the fact.
That same trace view is the fastest way to confirm failure point two in a staging environment before it shows up in a real approval run: send a request that should complete, then deliberately fail a downstream guardrail partway through, and check the trace for which tool calls fired before the rejection. If the trace shows a completed payment call sitting before the guardrail’s rejection event, that is the exact gap described above, not a hypothetical one — and it is visible in a test run rather than discovered after a real approval chain hits it.
Testing failure point three means testing for silence rather than for a wrong answer. Since a blocked handoff fails without an automatic fallback, a reasonable staging check is to feed the chain a request that is deliberately ambiguous between two valid next agents, then confirm something logs the block and surfaces it to a human queue — rather than confirming only that the handoff rejection itself fired, which the on_handoff callback will already do correctly without any extra test. The gap isn’t whether the SDK blocks the handoff; it’s whether anything happens after it does.
None of this requires new tooling beyond what already ships with the framework. It requires treating the trace output as a first-class artifact of the test run, the same way a stack trace is treated after a crash, instead of only checking whether the chain’s final response looked right — the same discipline that belongs in any pre-launch review of a prompt-driven workflow before it handles a real approval.
Common mistakes
- Assuming an input guardrail on the first agent protects the whole chain. It only ever sees what that first agent received, not what later agents pass along after transforming it.
- Putting the safety check on the final output instead of on the tool call that has the actual side effect. By the time an output guardrail runs, an irreversible action may have already executed, since the SDK persists completed tool calls regardless of what happens to the final output.
- Treating “the framework has guardrails” as equivalent to “the framework handles escalation.” Blocking and escalating are different behaviors, and only the first is a documented default; the second has to be designed in.
- Not testing what happens when a guardrail function itself throws. Confirm your error handling resolves to an explicit block, rather than assuming the framework fails closed on your behalf.
A reasonable question at this point: Does adding more agents to a chain make these failure points worse? Generally yes for failure point 1, since input-guardrail coverage stays fixed at the first agent no matter how many more agents are added after it — a five-agent chain has the same single checkpoint as a two-agent one. Failure points 2 and 3 scale differently: more agents means more individual tool calls that each need their own guardrail if they have real side effects, and more handoff decisions that can land in an ambiguous state.
Worth clearing up before wrapping up: Is this specific to one agent framework, or does it generalize? The specific mechanics (the on_handoff callback, the exact guardrail types) are OpenAI Agents SDK terminology, but the underlying shape of the problem — validation anchored to the edges of a chain rather than its middle, and an output check that runs after a side effect rather than before it — is a pattern worth checking for in any multi-agent framework with a handoff concept, under whatever names that framework uses for the same mechanisms.



