Back

Rahul Agarwal

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

3 ways how most AI systems are built. Iโ€™ve explained each one step-by-step. 1) ๐—ง๐—ฟ๐—ฎ๐—ฑ๐—ถ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—”๐—œ (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) 1. ๐—ฆ๐—ฒ๐˜ ๐˜๐—ฎ๐˜€๐—ธ โ€“ Decide what problem the model should solve. 2. ๐—–๐—ผ๐—น๐—น๐—ฒ๐—ฐ๐˜ ๐—ฑ๐—ฎ๐˜๐—ฎ โ€“ Gather lots of examples. 3. ๐—ฃ๐—ฟ๐—ฒ๐—ฝ๐—ฎ๐—ฟ๐—ฒ ๐—ฑ๐—ฎ๐˜๐—ฎ โ€“ Clean and label it so the model learns correctly. 4. ๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—ถ๐—ป๐—ฑ๐—ฒ๐˜… โ€“ Make data searchable with embeddings. 5. ๐—ง๐—ฟ๐—ฎ๐—ถ๐—ป ๐—บ๐—ผ๐—ฑ๐—ฒ๐—น โ€“ Teach the model using the prepared data. 6. ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜† โ€“ Put the trained model into use. 7. ๐—š๐—ฒ๐˜ ๐—ฟ๐—ฒ๐˜€๐˜‚๐—น๐˜๐˜€ โ€“ Model answers queries based on training. 8. ๐—˜๐˜ƒ๐—ฎ๐—น๐˜‚๐—ฎ๐˜๐—ฒ โ€“ Measure performance and retrain if needed. _________________________________________________ 2) ๐—”๐—ด๐—ฒ๐—ป๐˜๐—ถ๐—ฐ ๐—”๐—œ (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) 1. ๐—ฆ๐—ฒ๐˜ ๐—ด๐—ผ๐—ฎ๐—น โ€“ Give the agent a clear objective. 2. ๐—ฃ๐—ถ๐—ฐ๐—ธ ๐—Ÿ๐—Ÿ๐—  โ€“ Use a language model as the agentโ€™s brain. 3. ๐—–๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜ ๐˜๐—ผ๐—ผ๐—น๐˜€ & ๐—”๐—ฃ๐—œ๐˜€ โ€“ Link it to calendars, browsers, databases, etc. 4. ๐—ฆ๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต & ๐—ณ๐—ฒ๐˜๐—ฐ๐—ต โ€“ Agent can look up info or call external services. 5. ๐—ฃ๐—น๐—ฎ๐—ป ๐˜„๐—ผ๐—ฟ๐—ธ๐—ณ๐—น๐—ผ๐˜„ โ€“ Breaks goal into steps, loops until complete. 6. ๐——๐—ฒ๐—ฐ๐—ถ๐—ฑ๐—ฒ ๐—ฎ๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€ โ€“ Chooses next steps without human input. 7. ๐—˜๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ฒ ๐˜๐—ฎ๐˜€๐—ธ๐˜€ โ€“ Sends emails, runs scripts, calls APIs. 8. ๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป & ๐—ถ๐—บ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ฒ โ€“ Adjusts based on outcomes over time. _______________________________________________ 3) ๐—”๐—ด๐—ฒ๐—ป๐˜๐—ถ๐—ฐ ๐—ฅ๐—”๐—š (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) RAG = ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป. Agentic RAG combines agentic behavior with fast retrieval of grounded information. 1. ๐—ฆ๐—ฒ๐˜ ๐—ด๐—ผ๐—ฎ๐—น โ€“ Define the task clearly. 2. ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฒ ๐—ฑ๐—ฎ๐˜๐—ฎ โ€“ Pull relevant docs or knowledge from databases. 3. ๐—ฉ๐—ฒ๐—ฐ๐˜๐—ผ๐—ฟ ๐˜€๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต / ๐—”๐—ฃ๐—œ ๐—ฐ๐—ฎ๐—น๐—น๐˜€ โ€“ Use embeddings and search indexes to find exact, relevant facts. 4. ๐——๐—ฒ๐˜€๐—ถ๐—ด๐—ป ๐—บ๐˜‚๐—น๐˜๐—ถ-๐˜€๐˜๐—ฒ๐—ฝ ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€: Agent plans steps using the retrieved knowledge. 5. ๐—Ÿ๐—ผ๐—ผ๐—ฝ ๐—น๐—ผ๐—ด๐—ถ๐—ฐ โ€“ Retrieve โ†’ reason โ†’ act โ†’ verify. 6. ๐—œ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—ฎ๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐˜€ & ๐—พ๐˜‚๐—ฒ๐—ฟ๐˜† ๐—”๐—ฃ๐—œ๐˜€: Carry out actions (call services, update DB). 7. ๐—–๐—ต๐—ฒ๐—ฐ๐—ธ ๐—ฟ๐—ฒ๐˜€๐˜‚๐—น๐˜๐˜€ โ€“ Verify answers against facts for accuracy. 8. ๐—ฅ๐—ฒ๐—ณ๐—ฟ๐—ฒ๐˜€๐—ต ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† โ€“ Save outcomes into memory or vector DB so future tasks use updated info. 9. ๐—”๐—ฑ๐—ฎ๐—ฝ๐˜ โ€“ System improves over time with stored results. _____________________________________________ โœ… Which to pick? โ€ข Use ๐—ง๐—ฟ๐—ฎ๐—ฑ๐—ถ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐—”๐—œ when task is narrow, stable, and must be highly reliable (e.g., image recognition in a controlled domain). โ€ข Use ๐—”๐—ด๐—ฒ๐—ป๐˜๐—ถ๐—ฐ ๐—”๐—œ when automation of multi-step work is needed (scheduling, orchestration, admin tasks). โ€ข Use ๐—”๐—ด๐—ฒ๐—ป๐˜๐—ถ๐—ฐ ๐—ฅ๐—”๐—š when you need both action and factually grounded responses drawn from up-to-date data (customer support, codebase assistant, enterprise knowledge work). โœ… Repost this for others in your network.

1 Reply
8
18
1
Replies (1)

More like this

Recommendations from Medial

Rahul Agarwal

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

3 ways AI systems are deployed today. Iโ€™ve explained each method below in simple steps. 1.) ๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) ๐—™๐—น๐—ผ๐˜„: โ€ข ๐—จ๐˜€๐—ฒ๐—ฟ ๐˜€๐˜‚๐—ฏ๐—บ๐—ถ๐˜๐˜€ ๐—ฟ๐—ฒ๐—พ๐˜‚๐—ฒ๐˜€๐˜ - User types a query or command. โ€ข ๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐—ฟ

See More
Reply
2
8

Rahul Agarwal

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

The fastest AI apps arenโ€™t using the cloud. I've explained the reason for this below. Most people think the cloud is the go-to solution for AI, but when speed and real-time results are a must, other deployment options outperform it. 1.) ๐—–๐—น๐—ผ๐˜‚๐—ฑ

See More
Reply
3
4
Image Description

Rahul Agarwal

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

4 different ways of training LLM's. I've given a simple detailed explanation below. 1.) ๐—”๐—ฐ๐—ฐ๐˜‚๐—ฟ๐—ฎ๐˜๐—ฒ ๐——๐—ฎ๐˜๐—ฎ ๐—–๐˜‚๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) Prepares clean, consistent, and useful data so the model learns effectively. 1. Collect text

See More
Reply
1
9
1

Rahul Agarwal

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

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
Image Description

Rahul Agarwal

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

2 frameworks powering next generation of AI apps. Hereโ€™s how LangGraph and LangChain make it happen. ๐—Ÿ๐—”๐—ก๐—š๐—š๐—ฅ๐—”๐—ฃ๐—› (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) LangGraph is a graph-driven framework for building dynamic, multi-agent AI workflows. 1. ๐——๐—ฒ๐—ณ๐—ถ๐—ป๐—ฒ

See More
1 Reply
15
21

Rahul Agarwal

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

SLM vs LLM โ€” which AI model is best for you? Iโ€™ve explained both in simple steps below. ๐—ฆ๐—Ÿ๐—  (๐—ฆ๐—บ๐—ฎ๐—น๐—น ๐—Ÿ๐—ฎ๐—ป๐—ด๐˜‚๐—ฎ๐—ด๐—ฒ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น) (๐˜ด๐˜ต๐˜ฆ๐˜ฑ-๐˜ฃ๐˜บ-๐˜ด๐˜ต๐˜ฆ๐˜ฑ) Lightweight AI models built for speed, focus, and on-device execution. 1. ๐——๐—ฒ๐—ณ๐—ถ๐—ป๐—ฒ

See More
Reply
2
12

Rahul Agarwal

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

Stop building โ€œAI wrappers.โ€ Start building ๐—”๐—œ-๐—ก๐—ฎ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐˜๐˜€-systems where AI is the operating core, not a feature bolted on. Think of building ๐—™๐—ถ๐—ป๐—ฆ๐—ถ๐—ด๐—ต๐˜, a next-gen personal finance assistant, compared to a classic budgetin

See More
Reply
6
Image Description

Rahul Agarwal

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

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...ย โ€ขย 1m

Data scientist, Data analyst, AI engineer, or AI agent builder? Which one is best? I've explained below. 1. ๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐—ฐ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ This field teaches you how to ๐—ฎ๐—ป๐—ฎ๐—น๐˜†๐˜‡๐—ฒ ๐—ฑ๐—ฎ๐˜๐—ฎ, ๐—ฏ๐˜‚๐—ถ๐—น๐—ฑ ๐— ๐—Ÿ ๐—บ๐—ผ๐—ฑ๐—ฒ๐—น๐˜€, ๐—ฎ๐—ป๐—ฑ ๐—ฑ๐—ฒ๐—ฝ๐—น๐—ผ๐˜† ๐˜๐—ต๐—ฒ๐—บ ๐—ถ

See More
1 Reply
22
20
2

Rahul Agarwal

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

Steps to building real-world AI systems. I've given a simple detailed explanation below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜†๐—บ๐—ฒ๐—ป๐˜ & ๐—–๐—ผ๐—บ๐—ฝ๐˜‚๐˜๐—ฒ ๐—Ÿ๐—ฎ๐˜†๐—ฒ๐—ฟ โ€ข This is where all the ๐—ต๐—ฒ๐—ฎ๐˜ƒ๐˜† ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€๐—ถ๐—ป๐—ด ๐—ต๐—ฎ๐—ฝ๐—ฝ๐—ฒ๐—ป๐˜€. โ€ข It provides the ๐—ต๐—ฎ๐—ฟ๏ฟฝ

See More
Reply
1
1

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