Back

Rahul Agarwal

Founder | Agentic AI... • 2d

Simple explanation of Traditional RAG vs Agentic RAG vs MCP. 1. 𝗧𝗿𝗮𝗱𝗶𝘁𝗶𝗼𝗻𝗮𝗹 𝗥𝗔𝗚 (𝗥𝗲𝘁𝗿𝗶𝗲𝘃𝗮𝗹-𝗔𝘂𝗴𝗺𝗲𝗻𝘁𝗲𝗱 𝗚𝗲𝗻𝗲𝗿𝗮𝘁𝗶𝗼𝗻) • 𝗦𝘁𝗲𝗽 1: 𝗨𝘀𝗲𝗿 𝗮𝘀𝗸𝘀 𝗮 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻. Example: “𝘞𝘩𝘢𝘵 𝘪𝘴 𝘵𝘩𝘦 𝘤𝘢𝘱𝘪𝘵𝘢𝘭 𝘰𝘧 𝘍𝘳𝘢𝘯𝘤𝘦?” • 𝗦𝘁𝗲𝗽 2: 𝗗𝗼𝗰𝘂𝗺𝗲𝗻𝘁𝘀 𝗮𝗿𝗲 𝗿𝗲𝘁𝗿𝗶𝗲𝘃𝗲𝗱 from a knowledge base or database. Example: The system searches documents and finds “Paris is the capital of France.” • 𝗦𝘁𝗲𝗽 3: 𝗟𝗟𝗠 (𝗟𝗮𝗿𝗴𝗲 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲 𝗠𝗼𝗱𝗲𝗹) 𝗮𝘂𝗴𝗺𝗲𝗻𝘁𝘀 → It takes the retrieved information and combines it with its own knowledge. • 𝗦𝘁𝗲𝗽 4: 𝗙𝗶𝗻𝗮𝗹 𝗮𝗻𝘀𝘄𝗲𝗿 𝗶𝘀 𝗴𝗶𝘃𝗲𝗻 𝘁𝗼 𝘁𝗵𝗲 𝘂𝘀𝗲𝗿. Simple and direct. 𝗟𝗶𝗺𝗶𝘁𝗮𝘁𝗶𝗼𝗻: It’s fixed. It always follows the same retrieval process, not very flexible. _________________________________________ 2. 𝗔𝗴𝗲𝗻𝘁𝗶𝗰 𝗥𝗔𝗚 • 𝗦𝘁𝗲𝗽 1: 𝗨𝘀𝗲𝗿 𝗮𝘀𝗸𝘀 𝗮 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻. • 𝗦𝘁𝗲𝗽 2: 𝗔𝗻 𝗟𝗟𝗠 𝗔𝗴𝗲𝗻𝘁 𝗴𝗲𝘁𝘀 𝗶𝗻𝘃𝗼𝗹𝘃𝗲𝗱. → Instead of just retrieving documents, the agent can decide 𝘸𝘩𝘢𝘵 𝘵𝘰𝘰𝘭𝘴 to use. • 𝗦𝘁𝗲𝗽 3: 𝗗𝘆𝗻𝗮𝗺𝗶𝗰 𝗥𝗲𝘁𝗿𝗶𝗲𝘃𝗮𝗹 𝗧𝗼𝗼𝗹𝘀 → The agent can call different APIs, databases, or sources dynamically depending on the query. Example: If you ask about today’s weather, it won’t just look in static documents—it might connect to a weather API. • 𝗦𝘁𝗲𝗽 4: 𝗔𝗴𝗲𝗻𝘁 𝗽𝗿𝗼𝗰𝗲𝘀𝘀𝗲𝘀 𝗲𝘃𝗲𝗿𝘆𝘁𝗵𝗶𝗻𝗴 𝗮𝗻𝗱 𝗴𝗶𝘃𝗲𝘀 𝘁𝗵𝗲 𝗿𝗲𝘀𝗽𝗼𝗻𝘀𝗲. 𝗔𝗱𝘃𝗮𝗻𝘁𝗮𝗴𝗲: More flexible, can handle different kinds of queries using multiple tools. _________________________________________ 3. 𝗠𝗖𝗣 (𝗠𝗼𝗱𝗲𝗹 𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝗣𝗿𝗼𝘁𝗼𝗰𝗼𝗹) • 𝗦𝘁𝗲𝗽 1: 𝗨𝘀𝗲𝗿 𝗮𝘀𝗸𝘀 𝗮 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻. • 𝗦𝘁𝗲𝗽 2: 𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝗣𝗿𝗼𝘁𝗼𝗰𝗼𝗹 𝗸𝗶𝗰𝗸𝘀 𝗶𝗻. → This is like a 𝘴𝘵𝘢𝘯𝘥𝘢𝘳𝘥𝘪𝘻𝘦𝘥 𝘸𝘢𝘺 for models to understand context (what the user wants + what data is available). • 𝗦𝘁𝗲𝗽 3: 𝗠𝘂𝗹𝘁𝗶-𝗽𝗿𝗼𝘃𝗶𝗱𝗲𝗿 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 → Instead of relying on one system or tool, MCP allows the model to pull data and context from multiple providers (different apps, services, databases). Example: If you ask about your calendar + emails + stock market update, MCP can coordinate across Google Calendar, Gmail, and a finance API together. • 𝗦𝘁𝗲𝗽 4: 𝗨𝘀𝗲𝗿 𝗴𝗲𝘁𝘀 𝗮 𝘄𝗲𝗹𝗹-𝗿𝗼𝘂𝗻𝗱𝗲𝗱 𝗿𝗲𝘀𝗽𝗼𝗻𝘀𝗲 that integrates info from multiple sources. 𝗔𝗱𝘃𝗮𝗻𝘁𝗮𝗴𝗲: Super powerful for 𝗰𝗼𝗺𝗽𝗹𝗲𝘅 𝘄𝗼𝗿𝗸𝗳𝗹𝗼𝘄𝘀 involving many providers. It’s not just retrieval or agents, but a whole ecosystem working together. ✅ Repost and share so people can easily understand this.

3 Replies
33
41
4
Replies (3)

Download the medial app to read full posts, comements and news.