Back

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 from input to output. 1. 𝗨𝘀𝗲𝗿 𝗜𝗻𝗽𝘂𝘁 – User provides a query, data, or task request. 2. 𝗔𝗜 𝗔𝗴𝗲𝗻𝘁 – The AI interprets the request and decides what needs to be done. 3. 𝗧𝗼𝗼𝗹 𝗖𝗮𝗹𝗹 – The flow triggers an action such as an API call or function execution. 4. 𝗠𝗲𝗺𝗼𝗿𝘆 – Relevant details are stored for later steps or future context. 5. 𝗗𝗲𝗰𝗶𝘀𝗶𝗼𝗻 – A logic check chooses the next path based on conditions. 6. 𝗟𝗟𝗠 𝗥𝗲𝘀𝗽𝗼𝗻𝘀𝗲 – The system generates a final answer for the user. This creates a clean, predictable pipeline that runs tasks in a 𝗰𝗹𝗲𝗮𝗿, 𝘀𝘁𝗿𝘂𝗰𝘁𝘂𝗿𝗲𝗱 𝗼𝗿𝗱𝗲𝗿. 𝗘𝘅𝗮𝗺𝗽𝗹𝗲 (𝗡8𝗡): A user uploads an invoice → AI extracts the details → Tool Call sends it to your accounting software → Decision checks if fields are complete → LLM writes a confirmation → User receives a clean summary. _________________________________________________ 𝗟𝗔𝗡𝗚𝗚𝗥𝗔𝗣𝗛 (𝗚𝗿𝗮𝗽𝗵-𝗯𝗮𝘀𝗲𝗱 𝗠𝘂𝗹𝘁𝗶-𝗔𝗴𝗲𝗻𝘁 𝗦𝘆𝘀𝘁𝗲𝗺) (𝘴𝘵𝘦𝘱-𝘣𝘺-𝘴𝘵𝘦𝘱) LangGraph enables 𝗶𝗻𝘁𝗲𝗿𝗮𝗰𝘁𝗶𝘃𝗲, 𝘀𝘁𝗮𝘁𝗲𝗳𝘂𝗹 𝗮𝗴𝗲𝗻𝘁𝘀 that collaborate and take complex decisions using a shared memory. 1. 𝗦𝘁𝗮𝘁𝗲 – A shared memory space stores all information agents need. 2. 𝟭𝘀𝘁 𝗔𝗴𝗲𝗻𝘁 – The primary agent reads the state and handles the first part of the task. 3. 𝟮𝗻𝗱 𝗔𝗴𝗲𝗻𝘁 – A secondary agent assists with deeper reasoning or specialization. 4. 𝗧𝗼𝗼𝗹 𝗡𝗼𝗱𝗲 – External actions (APIs, databases, functions) are executed here. 5. 𝗖𝗼𝗻𝗱𝗶𝘁𝗶𝗼𝗻 𝗖𝗵𝗲𝗰𝗸 – The system evaluates rules and decides which path to take. 6. 𝗥𝗲𝘁𝗿𝘆 → 𝗖𝗼𝗻𝘁𝗶𝗻𝘂𝗲 – If something fails or needs refinement, the agent loops back to retry. 7. 𝗗𝗼𝗻𝗲 → 𝗘𝗻𝗱 – When all tasks are complete, the graph finalizes the output. This creates a 𝗱𝘆𝗻𝗮𝗺𝗶𝗰, 𝗳𝗹𝗲𝘅𝗶𝗯𝗹𝗲 𝘄𝗼𝗿𝗸𝗳𝗹𝗼𝘄 where agents think, collaborate, and refine tasks until the best result is reached. 𝗘𝘅𝗮𝗺𝗽𝗹𝗲 (𝗟𝗮𝗻𝗴𝗚𝗿𝗮𝗽𝗵): A chatbot receives a customer issue → Primary agent identifies the problem → Secondary agent searches past conversations for context → Tool Node checks order data → Condition Check sees missing details → Retry loop asks user for clarification → Agents collaborate → Final, personalized answer is generated 𝗜𝗻 𝘀𝗵𝗼𝗿𝘁: • 𝗡8𝗡 is for simple, linear workflows. • 𝗟𝗮𝗻𝗴𝗚𝗿𝗮𝗽𝗵 is for smarter, branching, multi-agent flows. ✅ Repost for others in your network who can benefit from this.

1 Reply
6
Replies (1)

More like this

Recommendations from Medial

Image Description

Rahul Agarwal

Founder | Agentic AI... • 27d

4 core ways multi-agent AI systems are designed. I’ve explained each one in simple steps below. 1. 𝗣𝗮𝗿𝗮𝗹𝗹𝗲𝗹 𝗣𝗮𝘁𝘁𝗲𝗿𝗻 (𝘚𝘵𝘦𝘱-𝘣𝘺-𝘴𝘵𝘦𝘱) • One input (task) comes in. • The task is 𝘀𝗽𝗹𝗶𝘁 𝗶𝗻𝘁𝗼 𝗽𝗮𝗿𝘁𝘀. • Multiple AI age

See More
Reply
4
10
1
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

Rahul Agarwal

Founder | Agentic AI... • 2m

LangGraph vs Autogen vs CrewAI, which to choose? I've given a breakdown of which is best for you. 𝗟𝗮𝗻𝗴𝗚𝗿𝗮𝗽𝗵 (𝗖𝗼𝗺𝗽𝗹𝗲𝘅 𝗪𝗼𝗿𝗸𝗳𝗹𝗼𝘄𝘀) LangGraph is ideal for 𝗯𝘂𝗶𝗹𝗱𝗶𝗻𝗴 𝗰𝗼𝗺𝗽𝗹𝗲𝘅, 𝗺𝘂𝗹𝘁𝗶-𝘀𝘁𝗲𝗽 𝗔𝗜 𝘄𝗼𝗿𝗸𝗳𝗹𝗼

See More
Reply
12
1

Rahul Agarwal

Founder | Agentic AI... • 10d

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... • 15d

4 ways how AI systems communicate and coordinate. I've explained each one in detail below. 1. 𝗠𝗖𝗣 (𝗠𝗼𝗱𝗲𝗹 𝗖𝗼𝗻𝘁𝗲𝘅𝘁 𝗣𝗿𝗼𝘁𝗼𝗰𝗼𝗹) • User submits a request: “Summarize today’s Slack messages.” • MCP Client receives input: Interface b

See More
1 Reply
5

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

Rahul Agarwal

Founder | Agentic AI... • 1m

Hands down the simplest explanation of AI agents using LLMs, memory, and tools. A user sends an input → the system (agent) builds a prompt and may call tools and memory-search (RAG) → agent decides and builds an answer → the answer is returned to th

See More
Reply
2
7

Rahul Agarwal

Founder | Agentic AI... • 2m

2 ways AI systems today generate smarter answers. I’ve explained both in simple steps below. 𝗥𝗔𝗚 (𝗥𝗲𝘁𝗿𝗶𝗲𝘃𝗮𝗹-𝗔𝘂𝗴𝗺𝗲𝗻𝘁𝗲𝗱 𝗚𝗲𝗻𝗲𝗿𝗮𝘁𝗶𝗼𝗻) (𝘴𝘵𝘦𝘱-𝘣𝘺-𝘴𝘵𝘦𝘱) RAG lets AI fetch and use real-time external information to ge

See More
Reply
1
7

Krishna Neogi

I proved Myself 😄 • 19d

👉 The Big 3 Ai Agent UI (user Interface) are 70-75% are samed 🤔🤔.

Reply

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