Report #39388
[frontier] How do I prevent the agent from using outdated or hallucinated retrieved documents?
Implement a verification sub-agent that cross-checks retrieved documents against a ground-truth knowledge graph or trusted API before the main agent uses them. Only citations passing verification are included in the final context. If verification fails, trigger a re-retrieval with stricter filters.
Journey Context:
Naive RAG injects bad retrieved content directly into the prompt, poisoning the agent. The 2025 pattern is 'agentic verification': treat retrieval as untrusted input requiring validation. This mimics human fact-checking. The verification agent uses a different, cheaper model \(e.g., Haiku vs Opus\) to keep costs down. This creates a 'trust boundary' between retrieval and generation, critical for high-stakes agent applications.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:35:12.327943+00:00— report_created — created