Back

Rahul Agarwal

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

3 core protocols behind AI agents. Iโ€™ve explained each one in simple steps. 1. ๐— ๐—–๐—ฃ (๐— ๐—ผ๐—ฑ๐—ฒ๐—น ๐—–๐—ผ๐—ป๐˜๐—ฒ๐˜…๐˜ ๐—ฃ๐—ฟ๐—ผ๐˜๐—ผ๐—ฐ๐—ผ๐—น) โ€ข ๐— ๐—ฎ๐—ถ๐—ป ๐—ฃ๐˜‚๐—ฟ๐—ฝ๐—ผ๐˜€๐—ฒ: It helps AI models (LLMs) use extra information by connecting them to tools or databases. โ€ข ๐—ฆ๐—ฐ๐—ผ๐—ฝ๐—ฒ: Direct connection between tools and the AI model. โ€ข ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ: Works like a clientโ€“server system โ†’ server has the tools, model requests them. โ€ข ๐—ง๐—ฟ๐—ฎ๐—ป๐˜€๐—ฝ๐—ผ๐—ฟ๐˜ ๐—ฃ๐—ฟ๐—ผ๐˜๐—ผ๐—ฐ๐—ผ๐—น: Communicates using normal web messages (HTTP + JSON). โ€ข ๐——๐—ถ๐˜€๐—ฐ๐—ผ๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐— ๐—ฒ๐—ฐ๐—ต๐—ฎ๐—ป๐—ถ๐˜€๐—บ: Server keeps a list of all tools the model can use. โ€ข ๐—ฆ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐—ถ๐˜๐˜† ๐— ๐—ผ๐—ฑ๐—ฒ๐—น: Only specific APIs are allowed, protected with authentication (OAuth2). โ€ข ๐—•๐—ฒ๐˜€๐˜ ๐—ณ๐—ผ๐—ฟ: Apps where AI needs outside data/services. ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: ChatGPT pulling data from your Google Sheets or company database. _______________________________________________ 2. ๐—”๐—–๐—ฃ (๐—”๐—ด๐—ฒ๐—ป๐˜ ๐—–๐—ผ๐—บ๐—บ๐˜‚๐—ป๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ฃ๐—ฟ๐—ผ๐˜๐—ผ๐—ฐ๐—ผ๐—น) โ€ข ๐— ๐—ฎ๐—ถ๐—ป ๐—ฃ๐˜‚๐—ฟ๐—ฝ๐—ผ๐˜€๐—ฒ: Lets multiple agents on the same device work together smoothly. โ€ข ๐—ฆ๐—ฐ๐—ผ๐—ฝ๐—ฒ: Runs locally, focused on the device itself. โ€ข ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ: No central server; agents talk directly in a local network. โ€ข ๐—ง๐—ฟ๐—ฎ๐—ป๐˜€๐—ฝ๐—ผ๐—ฟ๐˜ ๐—ฃ๐—ฟ๐—ผ๐˜๐—ผ๐—ฐ๐—ผ๐—น: Uses lightweight channels like IPC, ZeroMQ, or gRPC. โ€ข ๐——๐—ถ๐˜€๐—ฐ๐—ผ๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐— ๐—ฒ๐—ฐ๐—ต๐—ฎ๐—ป๐—ถ๐˜€๐—บ: Agents announce themselves locally so others can find them. โ€ข ๐—ฆ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐—ถ๐˜๐˜† ๐— ๐—ผ๐—ฑ๐—ฒ๐—น: Runs in a sandbox for safety. โ€ข ๐—•๐—ฒ๐˜€๐˜ ๐—ณ๐—ผ๐—ฟ: Edge, embedded, or offline AI (like IoT devices). ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: A set of AI agents on your phone managing emails, calendar, and tasks together. _______________________________________________ 3. ๐—”2๐—” (๐—”๐—ด๐—ฒ๐—ป๐˜-๐˜๐—ผ-๐—”๐—ด๐—ฒ๐—ป๐˜ ๐—ฃ๐—ฟ๐—ผ๐˜๐—ผ๐—ฐ๐—ผ๐—น) โ€ข ๐— ๐—ฎ๐—ถ๐—ป ๐—ฃ๐˜‚๐—ฟ๐—ฝ๐—ผ๐˜€๐—ฒ: Lets agents from different platforms or companies communicate. โ€ข ๐—ฆ๐—ฐ๐—ผ๐—ฝ๐—ฒ: Focuses on agents collaborating with each other across systems. โ€ข ๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ: Uses the web (HTTP) with โ€œAgent Cardsโ€ that describe what each agent can do. โ€ข ๐—ง๐—ฟ๐—ฎ๐—ป๐˜€๐—ฝ๐—ผ๐—ฟ๐˜ ๐—ฃ๐—ฟ๐—ผ๐˜๐—ผ๐—ฐ๐—ผ๐—น: JSON-RPC 2.0 over HTTPS (a standard way for web services to talk). โ€ข ๐——๐—ถ๐˜€๐—ฐ๐—ผ๐˜ƒ๐—ฒ๐—ฟ๐˜† ๐— ๐—ฒ๐—ฐ๐—ต๐—ฎ๐—ป๐—ถ๐˜€๐—บ: Agents share their โ€œcardsโ€ so others know who they are and what they can do. โ€ข ๐—ฆ๐—ฒ๐—ฐ๐˜‚๐—ฟ๐—ถ๐˜๐˜† ๐— ๐—ผ๐—ฑ๐—ฒ๐—น: OAuth2 ensures only authorized access, with limited scope for safety. โ€ข ๐—•๐—ฒ๐˜€๐˜ ๐—ณ๐—ผ๐—ฟ: Big enterprise workflows linking many agents. ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: Two companiesโ€™ AI agents sharing info and working together on a project. In short: โ€ข ๐— ๐—–๐—ฃ โ†’ ๐—”๐—œ ๐—ฐ๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜๐˜€ ๐˜๐—ผ ๐˜๐—ผ๐—ผ๐—น๐˜€ โ€ข ๐—”๐—–๐—ฃ โ†’ ๐—”๐—ด๐—ฒ๐—ป๐˜๐˜€ ๐˜๐—ฒ๐—ฎ๐—บ ๐˜‚๐—ฝ ๐—น๐—ผ๐—ฐ๐—ฎ๐—น๐—น๐˜† โ€ข ๐—”2๐—” โ†’ ๐—”๐—ด๐—ฒ๐—ป๐˜๐˜€ ๐—ฐ๐—ผ๐—ผ๐—ฝ๐—ฒ๐—ฟ๐—ฎ๐˜๐—ฒ ๐—ฎ๐—ฐ๐—ฟ๐—ผ๐˜€๐˜€ ๐—ฝ๐—น๐—ฎ๐˜๐—ณ๐—ผ๐—ฟ๐—บ๐˜€ โœ… Repost for others in your network who can benefit from this.

Reply
2

More like this

Recommendations from Medial

Rahul Agarwal

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

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

Rahul Agarwal

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

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

Rahul Agarwal

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

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

See More
3 Replies
34
41
4
Image Description

Rahul Agarwal

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

Simple breakdown of different elements in AI systems today. Extremely easy to understand. Hereโ€™s more: ๐—Ÿ๐—Ÿ๐— ๐˜€ โ†’ Great at text generation and reasoning, but limited to training data. ๐—ฅ๐—”๐—š (๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น-๐—”๐˜‚๐—ด๐—บ๐—ฒ๐—ป๐˜๐—ฒ๐—ฑ ๐—š๐—ฒ๐—ป๐—ฒ๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ

See More
Reply
1
9
1
Image Description
Image Description

Rahul Agarwal

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

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
16

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