Back

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 2h

Most people use basic RAG but miss crucial ones. I've explained each in very simple below. 1. ๐—ฆ๐—ฒ๐—พ๐˜‚๐—ฒ๐—ป๐˜๐—ถ๐—ฎ๐—น ๐—ช๐—ผ๐—ฟ๐—ธ๐—ณ๐—น๐—ผ๐˜„ (๐—•๐—ฎ๐˜€๐—ถ๐—ฐ ๐—ฅ๐—”๐—š ๐—™๐—น๐—ผ๐˜„) Everything happens in a fixed order, step by step. Step-by-step: 1. ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฎ๐˜€๐—ธ๐˜€ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป 2. ๐—ฃ๐—ฟ๐—ผ๐—บ๐—ฝ๐˜ ๐—ข๐—ฝ๐˜๐—ถ๐—บ๐—ถ๐˜‡๐—ฎ๐˜๐—ถ๐—ผ๐—ป โ€ข The system improves or refines the question. 3. ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น ๐—”๐—ด๐—ฒ๐—ป๐˜ - Searches relevant data from: โ€ข Planning / Memory โ€ข External Data Sources 4. ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ผ๐—ฟ โ€ข Uses retrieved information to generate the final answer. 5. ๐—™๐—ถ๐—ป๐—ฎ๐—น ๐—ข๐˜‚๐˜๐—ฝ๐˜‚๐˜ ๐—ถ๐˜€ ๐˜€๐—ฒ๐—ป๐˜ ๐˜๐—ผ ๐˜๐—ต๐—ฒ ๐˜‚๐˜€๐—ฒ๐—ฟ Simple Idea: ๐—จ๐˜€๐—ฒ๐—ฟ โ†’ ๐—ฅ๐—ฒ๐—ณ๐—ถ๐—ป๐—ฒ โ†’ ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฒ โ†’ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ฒ โ†’ ๐—”๐—ป๐˜€๐˜„๐—ฒ๐—ฟ Best for simple, structured queries. Not very flexible. _________________ 2. ๐—ฅ๐—ผ๐˜‚๐˜๐—ฒ๐—ฟ ๐—ช๐—ผ๐—ฟ๐—ธ๐—ณ๐—น๐—ผ๐˜„ (๐—ฆ๐—บ๐—ฎ๐—ฟ๐˜ ๐—ง๐—ฟ๐—ฎ๐—ณ๐—ณ๐—ถ๐—ฐ ๐—–๐—ผ๐—ป๐˜๐—ฟ๐—ผ๐—น๐—น๐—ฒ๐—ฟ) A router decides which agent should handle the request. Step-by-step: 1. ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฎ๐˜€๐—ธ๐˜€ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป 2. ๐—ฅ๐—ผ๐˜‚๐˜๐—ฒ๐—ฟ ๐—ฎ๐—ป๐—ฎ๐—น๐˜†๐˜‡๐—ฒ๐˜€ ๐˜๐—ต๐—ฒ ๐—พ๐˜‚๐—ฒ๐—ฟ๐˜† 3. Router decides: โ€ข If it's data-related โ†’ Send to ๐——๐—ฎ๐˜๐—ฎ ๐—”๐—ด๐—ฒ๐—ป๐˜ โ€ข If it's search-related โ†’ Send to ๐—ฆ๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต ๐—”๐—ด๐—ฒ๐—ป๐˜ 4. Relevant agent fetches data: โ€ข Enterprise data โ€ข External sources 5. ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ผ๐—ฟ ๐—ฝ๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐—ฒ๐˜€ ๐—ณ๐—ถ๐—ป๐—ฎ๐—น ๐—ฎ๐—ป๐˜€๐˜„๐—ฒ๐—ฟ Simple Idea: ๐—จ๐˜€๐—ฒ๐—ฟ โ†’ ๐—ฅ๐—ผ๐˜‚๐˜๐—ฒ๐—ฟ โ†’ ๐—•๐—ฒ๐˜€๐˜ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐˜ โ†’ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ผ๐—ฟ โ†’ ๐—”๐—ป๐˜€๐˜„๐—ฒ๐—ฟ Good for multi-department systems. Needs good classification logic. _________________ 3. ๐—ฃ๐—ฎ๐—ฟ๐—ฎ๐—น๐—น๐—ฒ๐—น ๐—ช๐—ผ๐—ฟ๐—ธ๐—ณ๐—น๐—ผ๐˜„ (๐—ง๐—ฒ๐—ฎ๐—บ๐˜„๐—ผ๐—ฟ๐—ธ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น) Multiple agents work at the same time. Step-by-step: 1. ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฎ๐˜€๐—ธ๐˜€ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป 2. A ๐—Ÿ๐—ฒ๐—ฎ๐—ฑ ๐—ฅ๐—ฒ๐˜€๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต๐—ฒ๐—ฟ ๐—ฎ๐—ด๐—ฒ๐—ป๐˜ coordinates the process 3. Multiple agents run in parallel: โ€ข Search Agent โ€ข Documentation Agent โ€ข Citation Agent 4. All results go back to the Main Researcher 5. Main Researcher combines findings 6. ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ผ๐—ฟ ๐—ฐ๐—ฟ๐—ฒ๐—ฎ๐˜๐—ฒ๐˜€ ๐—ณ๐—ถ๐—ป๐—ฎ๐—น ๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ๐—ฑ ๐—ฎ๐—ป๐˜€๐˜„๐—ฒ๐—ฟ Simple Idea: Everyone works together โ†’ Team leader combines โ†’ Final answer. Faster for complex research and high quality. More expensive (more compute) __________________ 4. ๐—–๐—ฟ๐—ถ๐˜๐—ถ๐—พ๐˜‚๐—ฒ ๐—ช๐—ผ๐—ฟ๐—ธ๐—ณ๐—น๐—ผ๐˜„ (๐—ฆ๐—ฒ๐—น๐—ณ-๐—œ๐—บ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ถ๐—ป๐—ด ๐—Ÿ๐—ผ๐—ผ๐—ฝ) The system checks its own work before giving final output. Step-by-step: 1. ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฎ๐˜€๐—ธ๐˜€ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป 2. System retrieves enterprise data 3. Generator creates an initial answer 4. ๐—ฆ๐—ฒ๐—น๐—ณ-๐—ฅ๐—ฒ๐—ณ๐—น๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป / ๐—–๐—ฟ๐—ถ๐˜๐—ถ๐—พ๐˜‚๐—ฒ ๐—ฎ๐—ด๐—ฒ๐—ป๐˜ ๐—ฒ๐˜ƒ๐—ฎ๐—น๐˜‚๐—ฎ๐˜๐—ฒ๐˜€ ๐—ถ๐˜ 5. If quality is low: โ€ข Query rewriting happens โ€ข Retrieval runs again โ€ข Generator regenerates 6. Final improved answer is delivered Simple Idea: Write โ†’ Review โ†’ Improve โ†’ Finalize. Better for enterprise or high-stakes use. Slower due to re-processing. โœ… If youโ€™re building AI systems: Start with โ†’ ๐—ฆ๐—ฒ๐—พ๐˜‚๐—ฒ๐—ป๐˜๐—ถ๐—ฎ๐—น Scale to โ†’ ๐—ฅ๐—ผ๐˜‚๐˜๐—ฒ๐—ฟ Improve quality โ†’ ๐—ฃ๐—ฎ๐—ฟ๐—ฎ๐—น๐—น๐—ฒ๐—น + ๐—–๐—ฟ๐—ถ๐˜๐—ถ๐—พ๐˜‚๐—ฒ โœ… Repost for people building AI systems in your network.

Reply
1

More like this

Recommendations from Medial

Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 5m

Simple explanation of Traditional RAG vs Agentic RAG vs MCP. 1. ๐—ง๐—ฟ๐—ฎ๐—ฑ๐—ถ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—ฅ๐—”๐—š (๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป) โ€ข ๐—ฆ๐˜๐—ฒ๐—ฝ 1: ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฎ๐˜€๐—ธ๐˜€ ๐—ฎ ๐—พ๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป. Example: โ€œ๐˜ž๐˜ฉ๐˜ข๐˜ต ๐˜ช๐˜ด ๐˜ต๐˜ฉ๐˜ฆ ๐˜ค๐˜ข๐˜ฑ๐˜ช๏ฟฝ

See More
4 Replies
34
41
4

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 29d

Most people even today don't know this about MCP. I've explained it in simple way below. AI systems fail because control logic lives inside prompts. MCP moves that control outside the model, where it belongs. 1. ๐——๐—ถ๐—ฟ๐—ฒ๐—ฐ๐˜ ๐—”๐—ฃ๐—œ ๐—ช๐—ฟ๐—ฎ๐—ฝ๐—ฝ๐—ฒ๐—ฟ

See More
Reply
1

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 16d

Most non-tech people learning AI donโ€™t get this. I've explained it in a simple way below. 1. ๐—จ๐˜€๐—ฒ๐—ฟ Everything starts with the ๐—จ๐˜€๐—ฒ๐—ฟ. โ€ข The user wants something done โ€ข Example: โ€œ๐˜๐˜ช๐˜ฏ๐˜ฅ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ฃ๐˜ฆ๐˜ด๐˜ต ๐˜ญ๐˜ข๐˜ฑ๐˜ต๐˜ฐ๐˜ฑ ๐˜ถ๐˜ฏ๐˜ฅ๐˜ฆ๐˜ณ $1000โ€ or โ€œ๐˜ž๐˜ณ๏ฟฝ

See More
Reply
1
4
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 5m

How Multi-Agent AI systems actually work? Explained in a very simple way. Read below: -> ๐—ง๐—ต๐—ฒ ๐— ๐—ฎ๐—ถ๐—ป ๐—”๐—œ ๐—”๐—ด๐—ฒ๐—ป๐˜ The main ๐—”๐—œ ๐—”๐—ด๐—ฒ๐—ป๐˜ is the ๐—ผ๐—ฟ๐—ฐ๐—ต๐—ฒ๐˜€๐˜๐—ฟ๐—ฎ๐˜๐—ผ๐—ฟ. It has several capabilities: โ€ข ๐——๐—ฎ๐˜๐—ฎ๐—ฏ๐—ฎ๐˜€๐—ฒ โ€“ Stores knowledge o

See More
Reply
6
19
1
Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 4m

How do Voice, Coding & Computer Agents work? I've explained each one in a very simple way below. 1. ๐—ฉ๐—ผ๐—ถ๐—ฐ๐—ฒ ๐—”๐—ด๐—ฒ๐—ป๐˜๐˜€ AI systems that talk with people using speech. Examples: Vapi, Retell AI, OpenAI TTS etc. ๐—ฆ๐˜๐—ฒ๐—ฝ๐˜€: 1. ๐—จ๐˜€๐—ฒ๐—ฟ ๐˜€๐—ฝ๐—ฒ๐—ฎ๏ฟฝ

See More
2 Replies
5
17

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 26d

Most people building modern AI systems miss these steps. I've explained each step in a simple way below. 1. ๐— ๐˜‚๐—น๐˜๐—ถ-๐—”๐—ด๐—ฒ๐—ป๐˜ ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐—ผ๐—ฝ๐—ฒ๐—ฟ๐—ฎ๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜† How multiple AI agents work together as a system. Step-by-step: โ€ข ๐—จ๐˜€๐—ฒ๐—ฟ ๐—ฅ๐—ฒ๐—พ๐˜‚๏ฟฝ

See More
2 Replies
1
8
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 1m

2 main frameworks powering todayโ€™s AI workflows. Iโ€™ve explained both in simple steps below. ๐—ก๐Ÿด๐—ก (๐—Ÿ๐—ถ๐—ป๐—ฒ๐—ฎ๐—ฟ ๐—”๐—ด๐—ฒ๐—ป๐˜ ๐—™๐—น๐—ผ๐˜„) (๐˜ด๐˜ต๐˜ฆ๐˜ฑ-๐˜ฃ๐˜บ-๐˜ด๐˜ต๐˜ฆ๐˜ฑ) N8N lets AI follow a ๐˜€๐˜๐—ฟ๐—ฎ๐—ถ๐—ด๐—ต๐˜, ๐˜ƒ๐—ถ๐˜€๐˜‚๐—ฎ๐—น ๐˜„๐—ผ๐—ฟ๐—ธ๐—ณ๐—น๐—ผ๐˜„, moving step-by-step

See More
1 Reply
6
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 21d

Most people overlook these basics of AI Agents. I've explained it in a very simple way below. 1. ๐—”๐—œ ๐—”๐—ด๐—ฒ๐—ป๐˜ An AI system that observes its environment, information, makes decisions, and takes actions to achieve a goal. 2. ๐—Ÿ๐—Ÿ๐— ๐˜€ (๐—Ÿ๐—ฎ๐—ฟ๐—ด๐—ฒ

See More
Reply
6
1
Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 4m

6 design patterns used in AI agents. I've broken down each in simple steps. 1. ๐—ฆ๐—ฒ๐—พ๐˜‚๐—ฒ๐—ป๐˜๐—ถ๐—ฎ๐—น (๐—•๐—น๐˜‚๐—ฒ) โ€ข ๐—›๐—ผ๐˜„ ๐—ถ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€: The query moves through agents one after the other. โ€ข ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: You ask a question โ†’ First agent processe

See More
1 Reply
41
29
1

Rahul Agarwal

Founder | Agentic AI...ย โ€ขย 4d

How should you build AI Agents in 2026? I've explained each step with my learnings below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐—š๐—ถ๐˜ƒ๐—ฒ ๐—ฎ ๐—–๐—น๐—ฒ๐—ฎ๐—ฟ ๐—ง๐—ฎ๐˜€๐—ธ โ€ข Define one focused responsibility for the agent. โ€ข Set clear objectives, constraints, and expected outputs. ๐—Ÿ๏ฟฝ

See More
Reply
1

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