Back

Rahul Agarwal

Founder | Agentic AI... • 8h

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.

Reply
4

More like this

Recommendations from Medial

Image Description
Image Description

Rahul Agarwal

Founder | Agentic AI... • 2m

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

Rahul Agarwal

Founder | Agentic AI... • 3m

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

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

Rahul Agarwal

Founder | Agentic AI... • 3d

5 Layers of AI Product Development. I've explained each in short, simple steps below. 1. 𝗔𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗟𝗮𝘆𝗲𝗿 → Handles everything the user sees and interacts with → Ensures login security and smooth user experience → Stores session co

See More
Reply
44
31
5

Rahul Agarwal

Founder | Agentic AI... • 1d

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

Hemant Prajapati

 • 

Techsaga Corporations • 1y

𝗧𝗼𝗽 𝟭𝟬 𝗠𝗶𝘀𝘁𝗮𝗸𝗲𝘀 𝗡𝗼𝗻-𝗧𝗲𝗰𝗵 𝗙𝗼𝘂𝗻𝗱𝗲𝗿𝘀 𝗠𝗮𝗸𝗲 𝗶𝗻 𝗠𝗩𝗣 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗺𝗲𝗻𝘁 . 𝟭. 🔍 𝗢𝘃𝗲𝗿𝗰𝗼𝗺𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗻𝗴 𝘁𝗵𝗲 𝗠𝗩𝗣 Trying to build a fully-featured product from the start. 𝗜𝗺𝗽𝗮𝗰𝘁: Increases develop

See More
6 Replies
57
34

Rahul Agarwal

Founder | Agentic AI... • 26d

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

Rahul Agarwal

Founder | Agentic AI... • 1m

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.

See More
Reply
3
5

Hustler Krishna18

Hey I am on Medial • 8m

This better than Manus Ai GenSpark is an advanced AI agent engine designed to revolutionize user interaction with information online. Unlike traditional search engines that provide a list of links, GenSpark generates custom pages called Sparkpages

See More
Reply
6

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