LangGraph is a free, open-source framework for building stateful, graph-based AI agents with fine-grained control over every step.
LangGraph is a free, open-source framework for building stateful, graph-based AI agents. Where LangChain gives you high-level patterns for getting started fast, LangGraph gives you low-level control over exactly how an agent thinks, branches, loops, and remembers. You define your agent as a graph: nodes represent steps (calling a model, running a tool, making a decision), and edges define which step comes next. The framework ships with built-in persistence, cross-session memory, real-time streaming, and human-in-the-loop checkpoints. Companies like LinkedIn, Klarna, and Lyft run LangGraph in production. For developers building agents that need to handle complex, branching workflows without unpredictable behavior, LangGraph is the industry’s go-to runtime.
LangGraph models every agent as a directed graph. You write Python (or JavaScript), define what each node does, and specify the edges between them. The runtime handles state, execution order, persistence, and streaming automatically.
LangGraph is free and MIT-licensed. You install it as a Python or JavaScript package and run it in your own environment, so there are no usage fees or rate limits. The LangSmith platform, which adds deployment, tracing, and evaluation on top of LangGraph, has its own pricing with a free tier and paid plans.
LangChain is a higher-level framework that provides pre-built agent patterns and integrations for getting started fast. LangGraph is the lower-level runtime LangChain runs on top of, giving you direct control over state, branching, and cycle logic. Use LangChain to move quickly; switch to LangGraph when you need fine-grained control over how your agent behaves.
LangGraph adds no overhead to your application code. The framework is designed specifically with streaming workflows in mind, so agent actions and tokens can stream to users in real time. The only latency you add is what your model, tools, or external API calls introduce, not LangGraph itself.
Updates from the AI world — what shipped, what we’re using in production, and what’s worth your attention. Two emails a month, no spam.