AI Trust Patterns

Agent Behaviour

Fallback Mechanism

Keep the system working when an agent or pipeline fails, with a designed path for people or simpler processes to take over.

Phase
Design · Build
Applies to
Operations and system administrators
Oversight
Human on the loop
Key factor
System autonomy

Overview

Agents fail, pipelines go down, models return unusable output, and external dependencies time out. In multi-agent systems, a failure at one node can silently stall or corrupt the whole flow. Designing only for the happy path assumes failures never happen. Fallback Mechanism treats degradation as a normal state: a clear path to route work to a person or a simpler automated process when the primary agent can't complete its task.

Attention

Two sub-types apply, depending on the failure. Use one, or both where failure is both automatic and systemic.
Graceful degradation: the agent is unavailable or returns low-confidence output. The system routes work to a person or a rule-based fallback, and visibly shows the degraded state.
Kill switch: an operator manually halts the agent or pipeline, usually when automatic detection isn't enough or the failure is systemic rather than isolated.

When to use

Use when

  • The agent is part of a critical operational flow, where failure would block work or produce silent errors.
  • The system runs in automated or low-supervision modes, where failure may not be immediately visible.
  • Several agents are chained, so a failure at one node affects every downstream step.

Multi-agent considerations

In a single-agent flow, fallback is contained: one agent fails, one handoff to a person. In a multi-agent flow, failure is harder to detect and harder to contain.

  • A failure mid-flow may not surface until a downstream agent produces an obviously wrong result, by which time several steps have run on bad input.
  • The fallback has to hand off not just the work item but the flow state: what each agent received, what it decided, and where in the chain the failure happened.
  • Kill switches must be scoped. Halting the whole pipeline when only one node has failed causes unnecessary disruption, so design node-level and pipeline-level stops separately.
  • Fully automated modes should be off after a fallback event and need an explicit operator decision to turn back on.

Questions to ask

Ask these at kickoff, when design work starts. Tick them off as your team answers.

Example

An automated document pipeline stalls because the classification service times out. Items stop moving, but the system doesn't drop them or carry on silently. The operator view shows the pipeline as degraded, how many items are affected and at which step. From the same view, the operator can route held items to a manual review queue or halt the pipeline. When the service recovers, the operator restarts it; it doesn't resume on its own.

Document pipeline · Operator viewDo
Pipeline statusDegraded
Step 2 · Classification serviceUnavailable
Items34 held · 0 lost
Last healthy09:14 · 23 minutes ago
Route to manual reviewHalt pipeline

Anti-pattern: Silent failure

The agent goes down and items stop moving. No alert fires, the dashboard doesn't change and no queue fills. The operator finds out when someone notices nothing has happened for two hours. Items are in an unknown state, with no record of what the agent had processed when it failed.

Document pipeline · Operator viewDon't
Pipeline statusRunning
All systems normal

Anti-patterns to pay attention to

  • Agent failure causes no visible change in the operator view.
  • There's no kill switch or manual override for automated modes.
  • The fallback hands work to a person without the context the agent had.
  • The pipeline resumes automatically after a failure, without a person deciding to restart it.

References

Current guidelines · EU AI Act, ISO/IEC 420014 references

For orientation only, not legal advice. EU AI Act links open a readable version of the official text published on EUR-Lex; ISO/IEC 42001 is a paid standard.

  • EU AI Act Art. 14(4)(e) People overseeing high-risk systems must be able to intervene or interrupt the system through a “stop” button or similar procedure that lets it halt in a safe state.
  • EU AI Act Art. 26(5) Deployers monitor operation and suspend use when they have reason to think the system may present a risk.
  • ISO/IEC 42001 A.6.2.6 Monitor performance, drift and AI-specific threats during operation. Detecting failure states belongs here.
  • ISO/IEC 42001 A.9.2 Document human oversight expectations and escalation paths.