---
title: "LangGraph: Agentic Framework for AI Workflows"
newsletter: "MLOps Community"
date: 2025-07-01
source: https://aaif.live/newsletters/mlopscommunity/2025-07-01-langgraph-agentic-framework-for-ai-workflows
---

# LangGraph: Agentic Framework for AI Workflows

*Tool Review #11: Why Uber, LinkedIn & Replit are wiring their agents with LangGraph’s graph-based state machine—and whether you should too.*

*MLOps Community — Agentic AI Foundation, 2025-07-01*

I hope the training data [https://go.mlops.community/IntroJuly1] didn't include Greg Becker and Sam Bankman-Fried.

If you want to avoid a Lehman-style implosion for your build, maybe we can help - let us know what you're working on, what you're struggling with, or what you'd like to feature.

Speaking of being financially sharp, we’ve got 30% off our VibeOps tee [https://go.mlops.community/vot301jul] and mug [https://go.mlops.community/vom301jul].

## core parts of LangGraph in 2025

TOOL TUESDAY REVIEW #11: LANGGRAPH—THE AGENTIC STATE-MACHINE FRAMEWORK TAKING AI WORKFLOWS MAINSTREAM

LangGraph wowed devs at the 2025 LangChain Interrupt conference: Uber, LinkedIn, and Replit each showcased prod use-cases.

Why? Because LangGraph lifts agentic workflows from prompt spaghetti to explicit, traceable state machines.

Here are the core parts of LangGraph in 2025:

⏩TL;DR:

✅ Use it for multi-step agent graphs, fine-grained RAG, model-agnostic tooling, or deep tracing via LangSmith.

🚫 Skip it if you only need a one-vendor chat bot or you can’t spare the LCEL learning curve.

⭐ Verdict: 4.5/5—the most disciplined path to production-grade agents today.


📢 HOW IS LANGCHAIN DOING IN 2025?

LangGraph is a standalone library (and now a managed platform) that models agent workflows as explicit state-machine graphs. Each node is an LLM or tool; edges define deterministic or agent-chosen transitions—yielding observability and error-handling you rarely get from prompt-only agents.

 * v0.4 (Apr 29 2025 [https://changelog.langchain.com/announcements/langgraph-v0-4-working-with-interrupts]) added automatic interrupt surfacing for safer long-running graphs.
 * LangGraph Platform GA (May 14 2025 [https://blog.langchain.com/langgraph-platform-ga/]) lets teams deploy, autoscale and monitor stateful agents in one click.
 * Works with 35 + model back-ends (OpenAI, Gemini, Claude, Bedrock, Ollama) via LangChain adapters [https://python.langchain.com/api_reference/community/adapters.html]
 * Powers prod agents at Uber (dev-QA bot), LinkedIn (AI Hiring Agent), Elastic (threat-intel ingest), and more.
 * Optional LangSmith tracing for latency, token-cost & evals.


⚙️ KEY ARCHITECTURE UPGRADES TO LANGGRAPH IN 2025


⚙️ HOW DOES LANGCHAIN WORK? (2025 EDITION)

 1. Define States = Conversation history (list of messages).
    
    
 2. Add Nodes = Agents or Tools (LLM with bound tools, or a standalone function).
    
    
 3. Wire Edges = Transitions
    Conditional dotted edges (LLM decides).
    Definite solid edges (always taken).
    
    
 4. Compiler turns your graph into an async executor with built-in tracing.

The Graph = Pure Python: no YAML, no DSL. Use LCEL blocks and type hints.


🚀 QUICK SPIN-UP (AGENT + CALCULATOR TOOL)

Python # pip install -U langgraph langchain[openai] langgraph-prebuilt faiss-cpu import os from langgraph.prebuilt import create_react_agent from langchain_openai import ChatOpenAI os.environ["OPENAI_API_KEY"] = "sk-..." # ⚠️ set yours os.environ["LANGCHAIN_TRACING_V2"] = "true" # optional: LangSmith traces # 1-liner tool def calc(operation:str, a:float, b:float): # simple tool return {"add":a+b, "sub":a-b, "mul":a*b, "div":a/b}[operation] agent = create_react_agent( model="openai:gpt-4o", tools=[calc], prompt="You are a helpful and concise math tutor." ) result = agent.invoke({"messages":[{"role":"user", "content":"What is 42*999?"}] }) print(result["messages"][-1].content)

The helper builds a graph with:

 1. Agent node (GPT-4o)
 2. Tool node (calculator)
 3. Conditional edge: agent → tool if function call detected
 4. Definite edge: tool → agent with result

Interrupts, retries and LangSmith traces are automatic.


🔥 WHY MLOPS ENGINEERS CARE

 * Deterministic control flow: Graph edges make loops, branches and error paths explicit.
 * Better observability: LangSmith + OpenTelemetry give step-level traces and spend.
 * Vendor freedom: Swap GPT-4o for Gemini 1.5, Claude 3 Opus or local Ollama without code rewrites.
 * Production proof: Uber’s developer-productivity agents claim 21 k engineer-hours saved [https://www.youtube.com/watch?v=Bugs0dVcNI8]; LinkedIn’s AI Hiring Assistant [https://www.youtube.com/watch?v=NmblVxyBhi8] runs on LangGraph too.
 * MCP adapter: plug external tool servers (e.g., DeepWiki, private RAG APIs) in one line.


📉 GOTCHAS & CAVEATS

 1. Learning curve: need to grok state machines and LCEL syntax.
 2. Extra layer: simple Response-API bots deploy faster + each node/hop adds ~tens of ms vs straight SDK.
 3. Ecosystem split: still relies on LangChain’s core; if you dislike LCEL, you may prefer DSPy or Pydantic-AI.
 4. Over-engineering risk: for plain Q&A, graphs are unnecessary overhead.


COMMUNITY PULSE

Lily Nicholls (Jun 11th) [https://mlops-community.slack.com/archives/C0861BQ65A7/p1749627594014839?thread_ts=1749573545.316829&cid=C0861BQ65A7]

“… I want the agent to be able to decide whether additional retrieval steps are needed or to tweak it's generated response based on a user's input.”

Sammer Puran (Jun 12th) [https://mlops-community.slack.com/archives/C0861BQ65A7/p1749720843653299?thread_ts=1749573545.316829&cid=C0861BQ65A7]

“Langgraph works great for this process. You can add tools to retrieve the information, rewrite the query if the retrieved documents are not relevant, rank the documents, and generate the response. Also, you can write flows as directed graphs and visualize them”

Lily Nicholls (Jun 12th) [https://mlops-community.slack.com/archives/C0861BQ65A7/p1749723048243519?thread_ts=1749573545.316829&cid=C0861BQ65A7]

“Great thank you! I am trying to decide between LangGraph & ADK”


💡 REAL-WORLD USE CASE: UBER’S DEV-REL COPILOT

 1. Graph: Supervisor agent → code-generator sub-agent → test-writer sub-agent
 2. Flow: CL diff → graph generates unit tests & standards feedback
 3. Impact: 21 k dev-hours saved in 90 days (LangChain Interrupt keynote)

How Uber Built AI Agents That Save 21,000 Developer Hours with LangGraph | LangChain Interrupt [https://youtu.be/Bugs0dVcNI8?feature=shared]






📊 HOW DOES LANGGRAPH STACK UP AGAINST ALTERNATIVES IN 2025



Legend: ✅ = robust out-of-box support; ⚠️ = partial/preview; ❌ = not provided.

🧑‍⚖️ Final Verdict: 4.5 / 5 — Graphs > Prompts for Complex Agents


⭐ RATING: ⭐⭐⭐⭐☆ (4.5 / 5)

Ship it if…

 * You orchestrate multi-step agents, need reliable retries or must mix many tools.
 * You need loops, parallelism, or supervisor patterns.
 * Vendor-agnostic strategy or on-prem LLMs matter.
 * Granular tracing, cost guards and interrupt safety are non-negotiable.

Hold off if…

 * You’re pushing a single-provider chatbot with a 1-week MVP deadline.
 * One-vendor, single-prompt chatbots meet your roadmap.
 * Team can’t spare time to ramp-up on LCEL/graph mental-model.
 * Ultra-low latency (<100 ms) matters more than complex logic.

📌 More Resources

 * LangGraph v0.4 Interrupts changelog [https://changelog.langchain.com/announcements/langgraph-v0-4-working-with-interrupts]
 * LangGraph docs [https://langchain-ai.github.io/langgraph/]
 * Case-study hub [https://blog.langchain.dev/tag/case-studies/]
 * LangGraph Platform GA blog [https://blog.langchain.dev/langgraph-platform-ga/]
 * MCP adapter docs [https://langchain-ai.github.io/langgraph/agents/mcp]
 * Uber Interrupt talk - How Uber Built AI Agents That Save 21,000 Developer Hours [https://www.youtube.com/watch?v=Bugs0dVcNI8]
 * LinkedIn Hiring Agent deep-dive [https://www.youtube.com/watch?v=NmblVxyBhi8]

Liked this breakdown? Forward to your favorite agent-builder or share on #agents [https://mlops-community.slack.com/archives/C0861BQ65A7] in the MLOps community.

For a step-by-step LangGraph tutorial, subscribe to The Neural Blueprint [https://neurlcreators.substack.com/]—new guide drops this week! 🫡

Working on something tricky or planning ahead? Here’s how we can help - just hit reply:

 * Custom workshops tailored to your company’s needs
 * Hiring? I know some quality folks looking for a new adventure
 * Want to connect with someone tackling similar problems? I can introduce you

Thanks for reading, catch you next time!

Interested in partnering with us? Get in touch: partners@mlops.community

Thanks for reading. See you in Slack [https://go.mlops.community/slack], YouTube [https://www.youtube.com/channel/UCG6qpjVnBTTT8wLGBygANOQ?view_as=subscriber], and podcast [https://home.mlops.community/public/content/] land. Oh yeah, and we are also on X [https://twitter.com/mlopscommunity] and LinkedIn [https://go.mlops.community/linkedin].

The MLOps Community newsletter is edited by Jessica Rudd [https://www.linkedin.com/in/jmrudd/].

Shoutout to Ranuga Disansa [https://go.mlops.community/i83caq] for his contributions.

---
Source: https://aaif.live/newsletters/mlopscommunity/2025-07-01-langgraph-agentic-framework-for-ai-workflows
