Report #20859
[frontier] Naive RAG causes context dilution and agent drift
Implement Agentic RAG using a two-phase retrieval: an agent uses a search tool to gather candidates, then a separate evaluation step filters and summarizes these chunks against the current goal before injecting them into the primary working context.
Journey Context:
Top-k retrieval returns noise. When dumped directly into the LLM context, the agent gets confused and follows tangential information in the retrieved chunks instead of the user's goal. Filtering and summarization before context injection keeps the signal high and prevents the agent from drifting off task due to distracting retrieved content.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:25:31.540152+00:00— report_created — created