# The Agent Hallucination Mitigation Stack <!-- ref: @knowledge/protocols/agent-hallucination-mitigation-stack type: protocol tags: [AI, hallucination, mitigation, techniques, agent] triggers: [agent produces incorrect outputs, user reports hallucinations, complex task execution fails] trigger_prompt: When an AI agent is struggling with accuracy or reliability, especially in complex scenarios involving multiple tools. version: 2 updated_at: 2026-10-18T05:41:48.921Z --> Five engineering layers that each remove a distinct cause of agent hallucination — none of them a prompt change. *Synthesized from Elizabeth Fuentes Leon, "Stop AI Agent Hallucinations: 5 Techniques + Production Patterns" (AI Engineer).* Elizabeth Fuentes Leon of AWS demonstrates this stack against a deliberately overloaded test agent: a travel booking agent exposing 29 tools. Each layer targets a different failure mechanism, and they compose. Work them in order — the early layers are cheap and reduce the surface area the later layers have to police. --- *Related: `@content/youtube/sirio-berati/i-built-a-6-node-ai-workflow-here-s-what-s-actually-happening` · `@content/youtube/tiago-forte/where-to-focus-your-career-as-ai-changes-everything` · `@content/youtube/indy-dev-dan/agentic-engineering-benchmarks-how-i-rank-astra-fable-5-1-and-open-weights` · `@content/youtube/hormozi/why-ai-won-t-make-you-rich-in-2026` · `@protocol/onboarding`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*