Antihallucination I built a multi-agent project, for users to ask questions about their AWS infrastructure (3 AWS accounts managed by AWS Organizations) and get answers in human readable way. The system connects to users AWS infrastructure and provide the answer by reading various log types and creating API calls to multiple AWS resources. See the high level overview and github repo . In this article I introduce how I dealt with my agents hallucinating. No matter what, they will try! This article is about hallucinations, or to be more precise: how I tried to make hallucinations more difficult to happen, easier to detect and less dangerous when happenning anyway. Because let's face the truth: You cannot just tell an AI agent: Do not hallucinate and expect it won't. LLM's only purpose it's generate text. If there is nothing to generate, or not enough data to generate from guess what it does.…