Wink Pings

Four diagrams explain Agentic RAG and where traditional RAG falls short

Traditional RAG makes retrieval a one-shot, make-or-break step. Agentic RAG lets the model decide when to retrieve, what to retrieve, and whether it has retrieved enough. ramakrushna uses four diagrams to lay out the architecture, decision-making, evaluation, and engineering trade-offs.

Traditional RAG has a rather rigid, fixed workflow: a question comes in, it is converted into a vector and used to search the vector database, the results are stuffed into the prompt, the model generates an answer, and that's it. The entire chain gets only one chance to retrieve.

The trouble is that many questions cannot be resolved with a single retrieval. If a user asks 'How does our revenue last quarter compare with competitors?', the system first needs to confirm who 'we' are, which competitors are meant, and which table contains the revenue data. It is not very realistic for a single vector search to handle all of that.

Agentic RAG takes a different approach by giving the model control over retrieval. The model can decide when to search, what to search for, whether the results it gets are sufficient, and, if not, switch to a different query and search again. ramakrushna posted four diagrams on X breaking down this workflow. The information density is good, making it useful as a reference.

Agentic RAG architecture comparison

The first page compares the architectures. Traditional RAG is a linear pipeline: query -> retriever -> LLM -> answer. Agentic RAG demotes the retriever to one of the tools the model can call, and the model itself becomes the orchestration hub. It can issue multiple retrieval requests in parallel or iterate serially, with the results from each step influencing the next action.

Decision logic

The second page covers decision logic. The core question is how the model knows it should retrieve. A common approach is to have the model output an action each turn: retrieve, call a tool, or answer directly. This requires the model to have basic planning ability and to judge whether the current information is enough to support the next step of reasoning.

Evaluation step

The third page is about evaluation. A key design in Agentic RAG is self-checking: after receiving retrieval results, the model evaluates whether that content can answer the question. If it cannot, it must choose whether to retry with a different query, broaden the retrieval scope, or admit that the information is insufficient. This step affects final quality more than retrieval itself.

Engineering trade-offs

The fourth page gets into engineering. Multi-round retrieval means both latency and token costs will rise, so in actual deployment you need to tier the system: simple queries go through single-round RAG, while only complex queries enter the agentic flow. In addition, deduplicating and ranking retrieval results is more troublesome than in the single-round case, because multiple rounds can easily recall duplicate content.

These concepts are not especially new. LangChain and LlamaIndex both have ready-made implementations. But the benefit of these four diagrams is that they visualize the decision process and engineering trade-offs quite intuitively, making them suitable as a direct reference for architecture reviews.

It is worth noting that the effectiveness of Agentic RAG depends heavily on the judgment of the underlying model. If the model plans in the wrong direction, multiple rounds of retrieval will amplify the error. So the design of the evaluation step on the third page is actually more worth spending time on than the retrieval tools themselves.

The original diagrams are in English and quite information-dense, so it is recommended to open the full-size images.

发布时间: 2026-12-02 20:28