Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Your Agents Are Only As Good As Your Retrieval

Your Agents Are Only As Good As Your Retrieval

Delivered it as part of https://maven.com/p/49843c/your-agents-are-only-as-good-as-your-retrieval

Why this topic matters
Agents can only reason over what they retrieve. As systems gain more autonomy—and MCP gives them access to more tools and sources—a weak relevance layer can turn one bad result into a confident, consequential action. Before investing in orchestration, teams need to know whether their agents are finding the right evidence in the first place.

Avatar for Atita Arora

Atita Arora

August 05, 2026

More Decks by Atita Arora

Other Decks in Technology

Transcript

  1. Your Agents Are only As Good As Your Retrieval! Why

    the relevance layer - not only the model - decides whether your agent can be trusted with autonomy. Atita Arora Search & AI Strategist 19 years in Information retrieval
  2. A true story from July 2025 An AI agent deleted

    a production database during an explicit code freeze - During an explicit code and action freeze, Replit's AI agent wiped the production database - 1,206 executive records deleted - 1,196 companies affected - It fabricated 4,000 fake users and generated falsified test reports to cover it - No alert, no rollback, no signal anything was wrong - just fluent output the whole way through Ref : https://medium.com/@ismailkovvuru/replit-ai-deletes-production-database-2025-devops-security-lessons-for-aws-engineers-4984c6e7a73d
  3. Because last time I argued we're solving the wrong problem

    with AI search. https://maven.com/p/014ae7/you-re-solving-the-wrong-problem-with-ai-search This is what the wrong problem costs when the agent doesn't just answer - it acts!
  4. It happened to me: the agent that canceled a loyal

    customer “Circleback literally froze my laptop… I prepared so much for this meeting… it reflected so badly that I want to cancel the membership.” If you want to cancel your membership… Settings → Billing → Cancel subscription” Sources: Cancel subscription · Terms of Service “...I want to talk to a human, someone who can understand how messed up this is……” “...Thanks for reaching out and I am so sorry for what you experienced. We have canceled your subscription.” - My message contained the word “cancel” - buried in a bug report - Retrieval anchored on the keyword: cancellation docs - Support followed the machine’s framing and canceled a customer since Dec 2024 - Real cause: a macOS CoreAudio bug - found only when a human read the actual evidence. Patch + Credit -> customer retained. The word was “cancel.” The intent was “help me.” Retrieval matched the word and the action followed.
  5. Agents can only reason over what they retrieve! A chatbot

    with bad retrieval gives you a wrong answer. An autonomous agent with bad retrieval takes a wrong action. Orchestration doesn't fix that - it scales it. Orchestration on top of weak retrieval = confident wrongness, at scale, with tool access.
  6. How much does retrieval matter? Same model, same questions: 93%

    vs 15% Jo Kristian Bergum - March 24, 2026 Ref: https://hornet.dev/blog/deep-research-is-a-retrieval-problem
  7. WHY AGENTS AMPLIFY RETRIEVAL FAILURE One bad result doesn’t visit.

    It moves in. A false positive is not a wasted result on a page - it enters the context, gets re-read at every later step, and shapes the next action. Bad retrieval compounds Nikhil Kasukurthi. July 17, 2026. https://bluenotebook.io/blog/context-gating-browsecomp/. Jo Kristian Bergum - May 20, 2026 Ref: https://hornet.dev/blog/this-is-what-agentic-retrieval-looks-like
  8. Know your new user Your retriever’s heaviest user is no

    longer human ! Demo We didn't get a new problem. We got a new user - one with no ability to ignore !
  9. Where agent failures actually start “61% of multi-layer incidents, a

    retrieval failure at layer 2 was the upstream cause that made the tool-call at layer 1 go wrong. The agent was not calling the wrong tool. It was calling the right tool with the wrong context.” Observability features Permission boundary violation Planning & decomposition Memory & long-chain drift Retrieval & Context quality Tool-call and schema drift Percentage Ref : https://www.sherlocks.ai/blog/why-ai-agents-fail-in-production
  10. “Context engineering” is relevance engineering with a new user THEY

    CALL IT SEARCH HAS CALLED IT FOR 20 YEARS Context clash - stale fact next to a current one → Freshness & authority ranking Context confusion - irrelevant content misroutes the agent → Precision failure Context distraction - signal buried in accumulated volume → Recall bloat - recall when you needed precision@k Context poisoning - a bad fact enters and compounds → Index contamination Same discipline. New consumer, harsher penalty, closed loop. They’re right that top-k similarity isn’t enough - that was never what relevance meant. Ref : https://redis.io/blog/the-4-failure-modes-of-agent-context https://www.agent-context.org/guides/why-retrieval-failures-are-the-1-cause-of-agent-distrust
  11. Four ways the context layer betrays your agent 1 FRAGMENTATION

    2 The agent sees a partial view and answers with total confidence. Data scattered across CRMs, warehouses, streams - no system holds the full picture. 3 SPEED DEGRADATION Latency compounds across the loop - 9.2x more LLM calls than plain prompting; slow context changes what the agent does, not just when. Ref : https://redis.io/blog/the-4-failure-modes-of-agent-context OPACITY The data exists, but the agent can't reach or rank it: similarity beats relevance, relationships are flattened, entities blur together. 4 NON-ACCUMULATION The agent never gets better. Without memory, a 240-message session retains 54% of key info vs 99.6% with structured memory.
  12. Evaluate retrieval before you orchestrate Follow & Support unscriptedai.substa ck.com

    Github Repo : https://github.com/atarora/doc-processing-advance-ocr Thank you !