<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chandula Senevirathna</title>
    <description>The latest articles on DEV Community by Chandula Senevirathna (@101_theory).</description>
    <link>https://dev.to/101_theory</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4116326%2Fe40c9c71-e757-44f9-a42b-0a5f7f9d5b34.png</url>
      <title>DEV Community: Chandula Senevirathna</title>
      <link>https://dev.to/101_theory</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/101_theory"/>
    <language>en</language>
    <item>
      <title>Advanced RAG</title>
      <dc:creator>Chandula Senevirathna</dc:creator>
      <pubDate>Tue, 08 Sep 2026 20:02:13 +0000</pubDate>
      <link>https://dev.to/101_theory/advanced-rag-2ne1</link>
      <guid>https://dev.to/101_theory/advanced-rag-2ne1</guid>
      <description>&lt;p&gt;&lt;strong&gt;What happens when your RAG system retrieves the wrong documents?.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Or when the retrieved context is not enough to answer the question?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A traditional RAG pipeline usually doesn't think twice and its path is so its a single attempt generated answer.&lt;/p&gt;

&lt;p&gt;"Retrieve → Generate → Answer"&lt;/p&gt;

&lt;p&gt;But real world AI applications aren't always that simple.&lt;/p&gt;

&lt;p&gt;Sometimes the system needs to search again in a different way, evaluate what it found, change its approach, verify the answer or even ask for human help before proceeding forward.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's where Agentic RAG come to the play.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Instead of treating retrieval as a fixed step, Agentic RAG gives the system the ability to reason about the retrieval process and decide what to do next.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does Agentic RAG matter?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As RAG applications become more complex with huge documents, simply retrieving the top-k documents isn't always enough to get the accurate results.&lt;/p&gt;

&lt;p&gt;Agentic RAG can help systems&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Decide what information to retrieve&lt;/li&gt;
&lt;li&gt;Reason over retrieved context&lt;/li&gt;
&lt;li&gt;Verify whether an answer is supported&lt;/li&gt;
&lt;li&gt;Retry or refine retrieval when needed&lt;/li&gt;
&lt;li&gt;Escalate to a human when confidence is low&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The goal isn't to add complexity but to make system that is more intelligent, robust and reliable. It's about building RAG systems that can adapt instead of blindly following a fixed pipeline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I built&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I created a collection of self contained notebooks demonstrating different Agentic RAG patterns with LangGraph. Each notebook focuses on a practical pattern that you can understand, experiment with and adapt to your own AI projects.&lt;/p&gt;

&lt;p&gt;Free version:&lt;br&gt;
&lt;a href="https://github.com/ChandulaSenevirathna/Agentic_RAG" rel="noopener noreferrer"&gt;https://github.com/ChandulaSenevirathna/Agentic_RAG&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Advanced version:&lt;br&gt;
&lt;a href="https://chandula7.gumroad.com/l/Advanced_RAG_LangGraph_Patterns" rel="noopener noreferrer"&gt;https://chandula7.gumroad.com/l/Advanced_RAG_LangGraph_Patterns&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're building RAG applications, this is a step toward moving beyond:&lt;/p&gt;

&lt;p&gt;Retrieve → Generate&lt;/p&gt;

&lt;p&gt;and toward systems that can&lt;/p&gt;

&lt;p&gt;Retrieve → Reason → Verify → Correct → Answer&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>programming</category>
      <category>rag</category>
    </item>
  </channel>
</rss>
