sunidhi.
Blogs

The Evolution of RAG: From Retrieval to Agentic and Multi-Agent Systems

When the first search leaves a gap

Imagine asking a research assistant to compare findings across several studies. Its first search might turn up a strong paper on one half of the question. A basic retrieval-augmented generation system passes those passages to a language model and asks it to answer. That leaves the other half of the comparison resting on whatever happened to appear in the same results.

Give the system another decision

An agentic system can split the comparison into smaller questions, retrieve passages for each, then inspect what came back. A missing piece of evidence becomes a reason to issue a more specific query. A multi-agent design can assign those decisions to different components, with one planning the searches and another checking whether the draft follows from the passages.

Follow a question through the code

The companion workshop starts with a retrieval notebook in Python and NumPy. Later notebooks introduce planning, reflection, and verification. Its command-line example can display the passages behind an answer, so you can see whether a weak response began with poor retrieval or with the way the model used the evidence.

Search the site