Back

Rahul Agarwal

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

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 processes it โ†’ Passes to next agent โ†’ And so on until the final answer comes out. โ€ข ๐—จ๐˜€๐—ฒ ๐—ฐ๐—ฎ๐˜€๐—ฒ: Email Drafting: Idea โ†’ Draft โ†’ Proofread โ†’ Format โ†’ Finalize. ________________________________________________ 2. ๐—ฃ๐—ฎ๐—ฟ๐—ฎ๐—น๐—น๐—ฒ๐—น (๐—ข๐—ฟ๐—ฎ๐—ป๐—ด๐—ฒ) โ€ข ๐—›๐—ผ๐˜„ ๐—ถ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€: The query is divided into smaller parts and sent to different agents ๐—ฎ๐˜ ๐˜๐—ต๐—ฒ ๐˜€๐—ฎ๐—บ๐—ฒ ๐˜๐—ถ๐—บ๐—ฒ. โ€ข ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: You want information about a company โ†’ One agent searches the web, another checks a database โ†’ Both results are combined into one output. โ€ข ๐—จ๐˜€๐—ฒ ๐—ฐ๐—ฎ๐˜€๐—ฒ: Fast research tasks. ________________________________________________ 3. ๐—ฅ๐—ผ๐˜‚๐˜๐—ฒ๐—ฟ (๐—š๐—ฟ๐—ฒ๐—ฒ๐—ป) โ€ข ๐—›๐—ผ๐˜„ ๐—ถ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€: One main agent (the โ€œrouterโ€) decides which specialized agent should handle the query. โ€ข ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: You contact customer service โ†’ It sends general questions to a ๐—–๐˜‚๐˜€๐˜๐—ผ๐—บ๐—ฒ๐—ฟ ๐—”๐—ด๐—ฒ๐—ป๐˜, billing issues to a ๐—•๐—ถ๐—น๐—น๐—ถ๐—ป๐—ด ๐—”๐—ด๐—ฒ๐—ป๐˜, and tech problems to ๐—ง๐—ฒ๐—ฐ๐—ต ๐—ฆ๐˜‚๐—ฝ๐—ฝ๐—ผ๐—ฟ๐˜. โ€ข ๐—จ๐˜€๐—ฒ ๐—ฐ๐—ฎ๐˜€๐—ฒ: Customer service systems. ________________________________________________ 4. ๐—™๐—ฒ๐—ฒ๐—ฑ๐—ฏ๐—ฎ๐—ฐ๐—ธ ๐—ก๐—ฒ๐˜๐˜„๐—ผ๐—ฟ๐—ธ (๐—ฅ๐—ฒ๐—ฑ) โ€ข ๐—›๐—ผ๐˜„ ๐—ถ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€: Agents are connected in a network and can pass information back and forth, not just in one direction. A โ€œCoordinator Agentโ€ manages this process. โ€ข ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: You ask for software โ†’ Builder Agent writes it โ†’ Reviewer Agent reviews it โ†’ Sends back corrections to Builder โ†’ Loop continues until output is correct. โ€ข ๐—จ๐˜€๐—ฒ ๐—ฐ๐—ฎ๐˜€๐—ฒ: Complex problem-solving like debugging or simulations. ________________________________________________ 5. ๐—”๐˜‚๐˜๐—ผ ๐—•๐˜‚๐—ถ๐—น๐—ฑ๐—ฒ๐—ฟ (๐—ฃ๐˜‚๐—ฟ๐—ฝ๐—น๐—ฒ) โ€ข ๐—›๐—ผ๐˜„ ๐—ถ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€: The query is split into tasks, and multiple agents (like coder, documenting, or test generator agents) work together to build something new. โ€ข ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: You want a program โ†’ The โ€œCoding Agentโ€ writes it, the โ€œDocumentation Agentโ€ explains it, and the โ€œGeneratorโ€ polishes the result. โ€ข ๐—จ๐˜€๐—ฒ ๐—ฐ๐—ฎ๐˜€๐—ฒ: Writing software with explanations. ________________________________________________ 6. ๐—”๐˜‚๐˜๐—ผ๐—ป๐—ผ๐—บ๐—ผ๐˜‚๐˜€ ๐—”๐—ด๐—ฒ๐—ป๐˜๐˜€ (๐—ฌ๐—ฒ๐—น๐—น๐—ผ๐˜„) โ€ข ๐—›๐—ผ๐˜„ ๐—ถ๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ๐˜€: Agents can work ๐—ถ๐—ป๐—ฑ๐—ฒ๐—ฝ๐—ฒ๐—ป๐—ฑ๐—ฒ๐—ป๐˜๐—น๐˜† ๐—ฎ๐—ป๐—ฑ ๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐—ฎ๐—ฐ๐˜ ๐˜„๐—ถ๐˜๐—ต ๐—ฒ๐—ฎ๐—ฐ๐—ต ๐—ผ๐˜๐—ต๐—ฒ๐—ฟ ๐˜„๐—ถ๐˜๐—ต๐—ผ๐˜‚๐˜ ๐—ฐ๐—ผ๐—ป๐˜€๐˜๐—ฎ๐—ป๐˜ ๐˜‚๐˜€๐—ฒ๐—ฟ ๐—ถ๐—ป๐—ฝ๐˜‚๐˜. โ€ข ๐—˜๐˜…๐—ฎ๐—บ๐—ฝ๐—น๐—ฒ: You ask two agents to plan a trip โ†’ Agent 1 books flights, Agent 2 books hotels โ†’ They coordinate on their own and return the full plan. โ€ข ๐—จ๐˜€๐—ฒ ๐—ฐ๐—ฎ๐˜€๐—ฒ: Personal assistants that complete tasks automatically. ________________________________________________ These multiple agent design patterns offer flexible ways to build powerful AI systems, each suited for different types of tasks. โœ… Repost for others in your network who can benefit from this.

1 Reply
36
25
1
Replies (1)

More like this

Recommendations from Medial

Rahul Agarwal

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

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

Kimiko

Startups | AI | info...ย โ€ขย 4m

AI Agents now have muscle memory. This Python SDK records agent tool-calling patterns, replays them for repeated tasks, and falls back to agent mode for edge cases. 100% Opensource. Read more here: https://www.theunwindai.com/p/muscle-memory-for-a

See More
1 Reply
2
12
Image Description

Mahesh Morem

Tech | Node.Jsย โ€ขย 5m

The Missing Piece in AI Agent Ecosystems: An Agent Search Engine & Centralized Registry The A2A (Agent2Agent) protocol, introduced by Google Cloud, is a significant step forward. It standardizes how agents communicate, enabling them to securely exch

See More
1 Reply
2

Mannan Baluvuri

Lifelong Learnerย โ€ขย 2m

Want a role at the ๐—ป๐—ฒ๐˜…๐˜ ๐—”๐—ถ๐—ฟ๐—ฏ๐—ป๐—ฏ or ๐—ฆ๐˜๐—ฟ๐—ถ๐—ฝ๐—ฒ without endless job hunting? One profile connects you to thousands of YC startup jobs. Hereโ€™s the smart way to get hired. Y Combinator hosts thousands of open roles from over 100+ vetted star

See More
Reply
5

Dhruvil Gosalia

ย โ€ขย 

Kriosย โ€ขย 6m

โšก AI Agent โ€“ the new buzz word โšก AI Agent is being talked about across organisations. Let me answer some common questions: โ“ What are AI Agents? Think of them as personal assistants that automate your repetitive tasks. E.g., A sports influencer can

See More
Reply
1
3

Ayush Maurya

AI Pioneerย โ€ขย 9m

We are heading towards a world where everyone will become their own boss with AI agents and the Agents will handle the tasks ? Anyone here expert int hat Agentic things ??

Reply
2
Image Description
Image Description

Abhitej

Just curiousย โ€ขย 7m

how do u see the future of ai agents? 1. you directly interact with multiple agents/assistants 2. you interact with only one agent/assistant that assistant does the work for you. which is more probable? ๐Ÿ’ฌ

5 Replies
9
Image Description
Image Description

Ayush Maurya

AI Pioneerย โ€ขย 8m

Dharmesh is the founder of Agent AI that is just like a marketplace or you can say linkedin for AI agents check it out !

8 Replies
9

Kumar Vivek

Building AI-agentsย โ€ขย 16d

Iโ€™m starting to build a series of AI agents designed to solve real-world problems. Imagine saying: โœˆ โ€œFind me the cheapest round-trip flight from Delhi to Bangalore next weekend, book it, and email me the ticket.โ€ ๐Ÿ—ž โ€œSummarize todayโ€™s top tech h

See More
Reply
2

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