Brent Haskins / Applied AI
RAG Didn't Die — It Became an Agent Harness Problem
As of July 2026, RAG hasn't died — it's moved up the stack from a fixed retrieval pipeline to an agentic harness that exposes retrieval as tools. This post argues that the real engineering challenge is no longer chunking or embedding quality, but designing the interface contracts between agents and retrieval systems: when to let an agent decide to search again, how to surface citations, and how to manage latency. Drawing from shipped product experience, the post covers the shift from pipeline to harness, the importance of content negotiation for agent-friendly pages, and the tradeoffs of tool-based retrieval over monolithic RAG.
The short answer
RAG isn't dead. It's moved up the stack. The Forbes council piece from July 9, 2026, put it plainly: the narrative that RAG is dead has been repeated by enough credible voices that many engineering leaders have started to believe it. But anyone who has shipped a production RAG system knows that's not the story. The real story is that RAG has transformed from a fixed retrieval pipeline into an agentic harness—a set of tools and interface contracts that an AI agent uses to decide when, what, and how to retrieve.
The old approach was a single static pass: chunk documents, embed them, retrieve top-k, stuff into prompt, generate answer. That works for simple Q&A, but it breaks on multi-step reasoning, contradictory sources, or time-sensitive data. Agentic RAG (Sumatosoft's 2026 guide describes it well) puts an agent in control of retrieval, planning searches and judging results, retrieving again when needed. This is fundamentally a product engineering problem, not a model problem. The interface contract between agent and retrieval system—latency budgets, citation formats, tool boundaries—is now the critical design surface.
Key takeaways
- RAG didn't die; it became an agentic retrieval harness. The pipeline is now a toolkit.
- The interface contract between agent and retrieval is the critical design point, not chunk size or embedding model.
- Latency budgets must account for iterative retrieval loops. A single fast pass is no longer the baseline.
- Content negotiation (Accept: text/markdown) is a harness primitive that reduces agent boilerplate. Vercel's February 2026 guide shows how to serve clean text to agents while preserving human HTML.
- Citations and "I don't know" states are product quality signals. Agentic RAG amplifies the need for honest, traceable outputs.
- Tool-based retrieval (keyword, semantic, chunk read) gives agents flexibility. A-RAG research reframes RAG as a tool-design problem.
The Pipeline to Harness Shift
Traditional RAG was a batch operation: retrieve once, augment the prompt, generate. It assumed the first retrieval was sufficient. In practice, users ask questions that require multiple hops: "What's the revenue growth last quarter, and how does it compare to the competitor's guidance?" The agent needs to search for revenue, then search for competitor data, then compare. A fixed pipeline can't do that.
Agentic RAG solves this by exposing retrieval as a set of tools. The agent decides which tool to use, when to use it, and whether the results are good enough. The AWS RAG explainer and the arXiv agentic RAG survey both describe this shift. The agent might do a keyword search first, then a semantic search, then read a specific chunk—all in one reasoning loop. This is more flexible, but it introduces new failure modes: the agent might retrieve too much, too often, or stall on a loop.
Interface Contracts and Latency Budgets
When you expose retrieval as tools, you need to define what the agent can expect. How fast should a semantic search be? What happens if the index is behind? The agent needs honest latency budgets, not optimistic ones. In shipped products, I've found that setting a hard timeout per retrieval call (e.g., 2 seconds) and letting the agent decide to retry or fallback is better than a single long timeout.
Streaming becomes critical. If the agent makes multiple retrieval passes, the user shouldn't wait for all of them to complete before seeing any output. Stream the answer as it's generated, and update citations as retrieval completes. Amazon's "What is RAG" page mentions real-time updates, but in practice, most products still batch. The product-minded engineer knows when to stream vs batch: stream the initial answer, batch the refinement.
Making Pages Agent-Friendly
One of the most practical harness primitives is content negotiation. Vercel's February 2026 guide on making agent-friendly pages shows how to serve text/markdown when agents request it via Accept header, while preserving the same human-facing HTML URL. This removes boilerplate before it ever enters the context window. It's not a docs trick; it's a real engineering decision that reduces latency and token costs.
A-RAG (agentic retrieval-augmented generation) reframes RAG as a harness tool-design problem: instead of injecting retrieved documents into context at pipeline time, expose three retrieval tools (keyword search, semantic search, chunk read) and let the agent pull information incrementally. This is the opposite of the "stuff everything in context" approach. It's more work upfront, but it produces more reliable, traceable outputs.
What to Ship and What to Skip
Not every RAG system needs to be agentic. If your use case is simple FAQ over a stable document set, a fixed pipeline is fine. The overhead of agentic retrieval—tool definitions, latency budgets, retry logic—is real. Ship a simple pipeline first, measure the failure cases (e.g., questions that require multi-hop reasoning), then add agentic control only when the data shows it's needed.
The mistake is assuming agentic is always better. It's not. It's more complex, harder to debug, and can introduce new latency. The product-minded engineer evaluates the tradeoff: does the user need to ask follow-up questions that the system can't answer with one retrieval? If yes, add agentic control. If no, keep it simple.
Closing: Evaluate Your Current RAG System
Take a hard look at your production RAG system. Is it a pipeline or a harness? Can the agent decide to search again? Are citations tied to specific retrieval calls? Start by exposing one retrieval tool—say, keyword search—and measure the latency impact. Then add semantic search. Then add chunk read. The future of RAG is not about better embeddings; it's about better agent-retrieval interaction. Ship that interaction, and you'll be building the right thing.
FAQ
Questions people ask about this topic.
What's the difference between traditional RAG and agentic RAG?
Traditional RAG runs a single fixed retrieval pass per query. Agentic RAG gives an AI agent control over retrieval: it decides when to search, what tool to use, and whether results are sufficient. This enables multi-hop reasoning but requires careful interface contracts, latency budgets, and retry logic.
How do you handle latency when the agent can make multiple retrieval passes?
Set hard timeouts per retrieval call (e.g., 2 seconds). Stream the answer as it's generated, updating citations as retrieval completes. Use content negotiation to reduce token consumption. Start with a simple pipeline and add agentic control only when data shows the need.
What's the most important engineering decision when building a RAG system today?
The interface contract between agent and retrieval. Define tool boundaries, latency budgets, and citation formats. Don't optimize for embedding quality first; optimize for the agent's ability to retrieve the right information with minimal overhead. Content negotiation and tool-based retrieval are more impactful than chunk size experiments.
Sources
Referenced sources
- https://aws.amazon.com/what-is/retrieval-augmented-generation/
- https://theplanettools.ai/blog/what-is-rag-retrieval-augmented-generation-explained
- https://github.com/ai-boost/awesome-harness-engineering
- https://www.forbes.com/councils/forbestechcouncil/2026/07/09/rag-didnt-die-it-moved-up-the-stack/
- https://sumatosoft.com/blog/blog-agentic-rag-enterprise-implementation-guide