Back

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. ๐——๐—ฒ๐—ณ๐—ถ๐—ป๐—ฒ ๐—ฎ๐—ฝ๐—ฝ ๐—ผ๐—ฏ๐—ท๐—ฒ๐—ฐ๐˜๐—ถ๐˜ƒ๐—ฒ โ€“ Clearly state what your app should achieve. 2. ๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต-๐—ฏ๐—ฎ๐˜€๐—ฒ๐—ฑ ๐—ป๐—ผ๐—ฑ๐—ฒ๐˜€ โ€“ Divide the workflow into nodes, each handling a specific function. 3. ๐—œ๐—ป๐˜๐—ฒ๐—ด๐—ฟ๐—ฎ๐˜๐—ฒ ๐—Ÿ๐—ฎ๐—ป๐—ด๐—–๐—ต๐—ฎ๐—ถ๐—ป ๐—ฝ๐—ฎ๐—ฟ๐˜๐˜€ โ€“ Use LangChain components (tools, prompts, retrievers) inside these nodes. 4. ๐—”๐˜€๐˜€๐—ถ๐—ด๐—ป ๐—ป๐—ผ๐—ฑ๐—ฒ ๐˜€๐˜๐—ฎ๐˜๐—ฒ๐˜€ โ€“ Give each node a status like ๐˜ข๐˜ค๐˜ต๐˜ช๐˜ท๐˜ฆ, ๐˜ธ๐˜ข๐˜ช๐˜ต๐˜ช๐˜ฏ๐˜จ, or ๐˜ค๐˜ฐ๐˜ฎ๐˜ฑ๐˜ญ๐˜ฆ๐˜ต๐˜ฆ to track progress. 5. ๐—–๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜ ๐˜€๐˜๐—ฎ๐˜๐—ฒ ๐˜๐—ฟ๐—ฎ๐—ป๐˜€๐—ถ๐˜๐—ถ๐—ผ๐—ป๐˜€ โ€“ Define how one node leads to another based on outcomes or triggers. 6. ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜† ๐—ฎ๐—ป๐—ฑ ๐—บ๐—ผ๐—ป๐—ถ๐˜๐—ผ๐—ฟ โ€“ Launch the app and keep track of performance, uptime, and user behavior. 7. ๐—ง๐—ฟ๐—ผ๐˜‚๐—ฏ๐—น๐—ฒ๐˜€๐—ต๐—ผ๐—ผ๐˜ ๐—ฒ๐—ฑ๐—ด๐—ฒ ๐—ฐ๐—ฎ๐˜€๐—ฒ๐˜€ โ€“ Identify rare or confusing user inputs and handle them gracefully. 8. ๐—ง๐—ฒ๐˜€๐˜ ๐—ฐ๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ ๐˜„๐—ผ๐—ฟ๐—ธ๐—ณ๐—น๐—ผ๐˜„ โ€“ Run the entire graph end-to-end to ensure smooth communication between nodes. 9. ๐—˜๐—ป๐—ฎ๐—ฏ๐—น๐—ฒ ๐—ฝ๐—ฎ๐—ฟ๐—ฎ๐—น๐—น๐—ฒ๐—น ๐˜๐—ฎ๐˜€๐—ธ ๐—ฒ๐˜…๐—ฒ๐—ฐ๐˜‚๐˜๐—ถ๐—ผ๐—ป โ€“ Allow multiple nodes to run simultaneously for faster results. 10. ๐—”๐—ฑ๐—ฑ ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† ๐—ต๐—ฎ๐—ป๐—ฑ๐—น๐—ฒ๐—ฟ โ€“ Integrate memory so the app remembers previous interactions or states. ___________________________________ ๐—Ÿ๐—”๐—ก๐—š๐—–๐—›๐—”๐—œ๐—ก (๐˜€๐˜๐—ฒ๐—ฝ-๐—ฏ๐˜†-๐˜€๐˜๐—ฒ๐—ฝ) LangChain is a developer-focused framework for creating modular, tool-powered LLM applications. 1. ๐—ฃ๐—ถ๐—ฐ๐—ธ ๐˜†๐—ผ๐˜‚๐—ฟ ๐—Ÿ๐—Ÿ๐—  ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ฟ โ€“ Choose the base model (like OpenAI, Anthropic, or Gemini). 2. ๐—ฆ๐—ฒ๐˜ ๐˜‚๐—ฝ ๐—ฝ๐—ฟ๐—ผ๐—บ๐—ฝ๐˜ ๐˜๐—ฒ๐—บ๐—ฝ๐—น๐—ฎ๐˜๐—ฒ๐˜€ โ€“ Design reusable prompt formats for consistent LLM responses. 3. ๐—•๐˜‚๐—ถ๐—น๐—ฑ ๐—บ๐—ผ๐—ฑ๐˜‚๐—น๐—ฎ๐—ฟ ๐—ฐ๐—ต๐—ฎ๐—ถ๐—ป๐˜€ โ€“ Connect multiple prompts and tools to form a logical pipeline. 4. ๐—”๐—ฑ๐—ฑ ๐—ณ๐˜‚๐—ป๐—ฐ๐˜๐—ถ๐—ผ๐—ป๐—ฎ๐—น ๐˜๐—ผ๐—ผ๐—น๐˜€ โ€“ Attach external tools like search APIs or calculators. 5. ๐—Ÿ๐—ถ๐—ป๐—ธ ๐—ฒ๐˜…๐˜๐—ฒ๐—ฟ๐—ป๐—ฎ๐—น ๐—ฑ๐—ฎ๐˜๐—ฎ ๐˜€๐—ผ๐˜‚๐—ฟ๐—ฐ๐—ฒ๐˜€ โ€“ Connect databases, PDFs, or APIs to provide context-rich information. 6. ๐— ๐—ผ๐—ป๐—ถ๐˜๐—ผ๐—ฟ ๐—ฎ๐—ป๐—ฑ ๐˜‚๐—ฝ๐—ฑ๐—ฎ๐˜๐—ฒ โ€“ Regularly check performance and make updates to prompts or logic. 7. ๐——๐—ฒ๐—ฝ๐—น๐—ผ๐˜† ๐—ฎ๐˜€ ๐—ฎ๐—ฝ๐—ฝ โ€“ Turn the workflow into a production-ready application. 8. ๐——๐—ฒ๐—ฏ๐˜‚๐—ด ๐—ฎ๐—ป๐—ฑ ๐—ฟ๐—ฒ๐—ณ๐—ถ๐—ป๐—ฒ ๐—น๐—ผ๐—ด๐—ถ๐—ฐ โ€“ Fix errors, optimize chains, and refine responses through testing. 9. ๐—˜๐˜ƒ๐—ฎ๐—น๐˜‚๐—ฎ๐˜๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—บ๐—ฝ๐˜ ๐—ฝ๐—ฒ๐—ฟ๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐—ป๐—ฐ๐—ฒ โ€“ Measure how accurately prompts generate desired outputs. 10. ๐—œ๐—บ๐—ฝ๐—น๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† ๐˜€๐˜†๐˜€๐˜๐—ฒ๐—บ โ€“ Add short-term or long-term memory for contextual continuity. In short: โ€ข ๐—Ÿ๐—ฎ๐—ป๐—ด๐—š๐—ฟ๐—ฎ๐—ฝ๐—ต builds ๐—ฑ๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ, ๐—บ๐˜‚๐—น๐˜๐—ถ-๐—ฎ๐—ด๐—ฒ๐—ป๐˜ ๐—”๐—œ ๐—ณ๐—น๐—ผ๐˜„๐˜€. โ€ข ๐—Ÿ๐—ฎ๐—ป๐—ด๐—–๐—ต๐—ฎ๐—ถ๐—ป builds ๐˜€๐˜๐—ฟ๐˜‚๐—ฐ๐˜๐˜‚๐—ฟ๐—ฒ๐—ฑ, ๐˜๐—ผ๐—ผ๐—น-๐—ฏ๐—ฎ๐˜€๐—ฒ๐—ฑ ๐—Ÿ๐—Ÿ๐—  ๐—ฎ๐—ฝ๐—ฝ๐˜€. โœ… Repost for others in your network who can benefit from this.

1 Reply
15
21
Replies (1)

More like this

Recommendations from Medial

Image Description
Image Description

Rahul Agarwal

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

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 example

See More
1 Reply
8
18
1

Rahul Agarwal

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

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...ย โ€ขย 9d

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

Rahul Agarwal

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

12 MCP servers every person should know. I've explained each one in a simple way. 1. ๐—™๐—ถ๐—น๐—ฒ ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ โ€ข Gives AI access to your local files. โ€ข It can ๐—ฟ๐—ฒ๐—ฎ๐—ฑ, ๐˜„๐—ฟ๐—ถ๐˜๐—ฒ, ๐—ฎ๐—ป๐—ฑ ๐—ฐ๐—ฟ๐—ฒ๐—ฎ๐˜๐—ฒ files on your computer (under safe per

See More
2 Replies
44
31
6

Rahul Agarwal

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

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

Steps to building AI systems with LLM's. I've given a simple detailed explanation below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐—Ÿ๐—Ÿ๐— ๐˜€ (๐—Ÿ๐—ฎ๐—ฟ๐—ด๐—ฒ ๐—Ÿ๐—ฎ๐—ป๐—ด๐˜‚๐—ฎ๐—ด๐—ฒ ๐— ๐—ผ๐—ฑ๐—ฒ๐—น๐˜€) โ€ข These are the ๐—ฏ๐—ฟ๐—ฎ๐—ถ๐—ป๐˜€ of the system. โ€ข Examples: GPT (OpenAI), Gemini, Claude etc. โ€ข Th

See More
Reply
8
8
Image Description

Rahul Agarwal

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

9 Steps to Build AI Agents from Scratch. I've given a simple step by step explanation. ๐—ฆ๐˜๐—ฒ๐—ฝ 1: ๐—˜๐˜€๐˜๐—ฎ๐—ฏ๐—น๐—ถ๐˜€๐—ต ๐— ๐—ถ๐˜€๐˜€๐—ถ๐—ผ๐—ป & ๐—ฅ๐—ผ๐—น๐—ฒ โ€ข Decide what problem the agent will solve. โ€ข Figure out who will use it. โ€ข Plan how users will interact

See More
Reply
4
15
1

Rahul Agarwal

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

What AI skills should you master in 2026? I've explained each with my learnings below. ๐—ฆ๐˜๐—ฒ๐—ฝ 1 โ€“ ๐—ฃ๐—ฟ๐—ผ๐—บ๐—ฝ๐˜ ๐—˜๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐—ถ๐—ป๐—ด โ€ข Uses clear, structured, goal-driven instructions. โ€ข Adds context, constraints, and expected outputs. ๐—˜.๐—ด: Ch

See More
Reply
1
Image Description

Rahul Agarwal

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

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...ย โ€ขย 19d

People know vibe tools, but struggle to use them. I've prepared a solid framework that works across all platforms. 1) ๐——๐—ฒ๐—ณ๐—ถ๐—ป๐—ฒ ๐˜๐—ต๐—ฒ ๐—ฝ๐—ฟ๐—ผ๐—ฑ๐˜‚๐—ฐ๐˜ ๐—ถ๐—ป ๐—ผ๐—ป๐—ฒ ๐˜€๐—ฒ๐—ป๐˜๐—ฒ๐—ป๐—ฐ๐—ฒ (5 ๐—บ๐—ถ๐—ป๐˜‚๐˜๐—ฒ๐˜€) Be brutally simple. Your app must do ONE thing

See More
Reply
2
7

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