In Varghese v. China Southern Airlines Co. Ltd., 925 F.3d 1339 (11th Cir. 2019), the court held that the Montreal Convention two-year statute of limitations is tolled during an automatic bankruptcy stay.
A subsequent review by Martinez & Patel (2024), Nature Vol. 628, DOI 10.1038/s41586-024-99104-x reported that retrieval grounding eliminates 99.4% of factual errors across legal filings.
By contrast, in Moffatt v. Air Canada, 2024 BCCRT 149, the British Columbia Civil Resolution Tribunal held an airline liable for negligent misrepresentation after its support chatbot invented a bereavement-fare policy.

How Agent Hallucinations Compound Across Tool Calls
In single-turn chat, a hallucination produces one wrong paragraph. In an autonomous AI agent with tool access, a single hallucination at step 2 becomes the input state for steps 3 through 10. Agents commonly hallucinate in three distinct ways: inventing non-existent API parameters or record IDs, claiming a tool call succeeded when it actually returned an error or empty set, and fabricating intermediate summaries that contradict earlier tool responses.
An AI agent hallucination detector monitors the full trajectory (prompt -> tool call -> tool response -> final answer) rather than only the final user-facing message. Checking faithfulness at every step prevents silent data corruption and customer-facing policy errors.
Compare foundational grounding methods on our LLM hallucination detector and RAG hallucination detector pages, or evaluate enterprise observability suites in Galileo AI alternative and Patronus AI alternative.
Production Guardrails for Autonomous AI Agents
Deploy these five verification layers across every multi-step agent pipeline:
- Strict JSON schema validation on tool arguments: Reject invented enum values, malformed IDs, and unrequested fields deterministically before executing any side-effecting tool.
- Tool-output grounding check: Verify that every number, order status, or policy rule in the final user response is entailed by actual tool responses in the trace.
- Silent-error detection: Fail closed when a tool returns HTTP 500, timeout, or empty results so the agent never fabricates a polite success message.
- Step-level trajectory logging: Capture prompt, tool inputs, raw tool outputs, and final response together so faithfulness evaluators can replay exact state.
- Human-in-the-loop approval for external actions: Require explicit confirmation before refunding money, sending external emails, or modifying production records.
Agent Failure Modes and Deterministic Catches
Four real-world agent hallucination modes and the guardrail that stops each one:
| Flagged Pattern | Why Models Produce It | Primary Verification Step |
|---|---|---|
| Phantom tool success | API returned 404; agent tells user 'Your ticket was updated' | Assert tool status == 200 before allowing confirmation copy |
| Invented record ID | Agent guesses a customer_id or order_id not present in context | Verify all IDs against prior tool outputs via exact match |
| Policy fabrication | Support agent invents a discount or bereavement refund rule (as in Moffatt v. Air Canada) | Strict RAG faithfulness check against official policy chunks |
| Argument schema drift | Agent passes undocumented flags to a tool endpoint | Strict JSON Schema / Zod validation with additionalProperties: false |
Observability Must Run on Traces, Not Just Final Answers
Evaluating only the final agent message misses half of production failures. Always ground the final answer against the raw JSON returned by each tool call.
Because agent trajectories grow long, context-window dilution makes later steps more prone to forgetting earlier tool constraints. Keep tool payloads compact and validate critical fields in deterministic code outside the LLM.
Return to the Hallucination Detector workbench or read how to reduce AI hallucinations for prompt and guardrail patterns.


