Stateful, graph-based orchestration for multi-agent and human-in-the-loop systems.
LangGraph is an open-source orchestration framework built by LangChain for designing and running stateful AI agents. It structures your agent’s logic as a directed graph, a network of nodes (processing steps) connected by edges (transitions), so you can define exactly how an agent thinks, branches, loops, and hands off work. For AI engineers building production systems, it solves the core problem of keeping agents controllable without sacrificing their ability to handle complex, multi-step tasks.
LangGraph models your application as a state graph. State means a shared object (usually a Python dictionary) that every node in the graph can read from and write to. Each node updates a slice of that state, and edges decide which node runs next.
Three core concepts power everything:
A directed acyclic graph (DAG), the kind used by simple pipeline frameworks, can only move forward in a fixed sequence. LangGraph supports cycles, meaning an agent can loop back to an earlier node based on its output. That loop is what makes agentic behaviour possible: the agent can re-evaluate, retry, or request more information before moving on.
LangGraph also ships with built-in support for human-in-the-loop checkpoints, where execution pauses and waits for a human to approve or correct the agent’s next action before it continues.
LangGraph is suited to developers building systems where agent behaviour needs to be both flexible and reliable. Here are concrete projects you can ship with it:
LangChain is a high-level framework for building LLM applications using composable chains. It works well for linear, step-by-step pipelines. LangGraph is a lower-level orchestration runtime that adds cycles, explicit state management, and fine-grained control over agent behaviour. You can use LangGraph without LangChain, though the two are often used together.
Yes. LangGraph is model-agnostic. It works with any LLM that can make tool calls or generate structured output, including Anthropic's Claude, Google Gemini, Mistral, and locally hosted models via Ollama or similar inference servers. You configure the model separately and pass it into your nodes.
LangGraph has a steeper learning curve than higher-level frameworks because it gives you explicit control over state and flow. That said, the official LangChain Academy course covers LangGraph from scratch, and the documentation includes a guided quickstart. If you are new to agents, spending a few hours on the basics before building is worth it.
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.