Skip to main content
AgentsUse

Python agent framework

LangGraph

Low-level Python orchestration runtime for long-running, stateful agents that need durable execution, explicit state, and human review points.

PythonMITChecked 2026-10-29Source-verified

Quick decision

Ecosystem
Python, TypeScript
License
Open source, MIT
Package
PyPI: langgraph, version 1.2.18
Review state
Source-verified. Checked 2026-10-29; not locally tested by AgentsUse.

What it is

LangGraph is a low-level orchestration framework for stateful agents. It provides durable execution, streaming, human-in-the-loop review, persistence, and memory, and it fits workflows that mix deterministic steps with agentic steps under tight control.

Execution resumes after failure instead of restarting. Operators can inspect and modify state at review points, memory covers short-term working state and long-term persistence, LangSmith handles debugging, and deployment targets production stateful workflows.

LangGraph runs standalone or inside the LangChain ecosystem. It pairs with LangChain integrations and LangSmith, ships an equivalent JavaScript library, and serves as the runtime under LangChain agents.

What it does

  • Graph-based orchestration for long-running stateful agents and workflows, with explicit control over each step.
  • Durable execution with checkpointing, so failed runs resume instead of restarting.
  • Human-in-the-loop inspection and modification of agent state at defined points.
  • Short-term working memory and long-term persistent memory primitives.
  • LangSmith tracing for execution paths, state transitions, and runtime metrics.

What it does not do

  • Teams that want a prebuilt agent should start with LangChain or another higher-level package. LangGraph is the control layer underneath.
  • Search, browser, and scraping tools come from LangChain integrations or MCP servers, not from LangGraph itself.
  • Production stateful workflows still need a deployment platform and an observability setup.

Setup

Install LangGraph

Repository quickstart: install the Python package with pip, then follow the linked LangGraph quickstart to build a first graph.

Install LangGraph
pip install -U langgraph

Environment variables (names only; use your own values)

  • OPENAI_API_KEY
  • LANGSMITH_API_KEY

Source: https://github.com/langchain-ai/langgraph. Examples use placeholders only.

MCP support: Agents consume MCP tools through langchain-mcp-adapters. LangChain documentation shows MCP tools loaded into agents that run on LangGraph.

Health and maintenance

GitHub stars

44,112

Checked 2026-10-29

GitHub forks

7,584

Checked 2026-10-29

Maintainer
LangChain Inc

Stars and forks read from the GitHub repository page in this run. PyPI page shows release files for langgraph 1.2.14 dated Oct 6, 2026.

Verified compatible tools

LangSmithBuilt in by the framework vendor

Via LangSmith debugging and observability for LangGraph. The LangGraph repository README lists Debugging with LangSmith and pairs LangGraph with LangSmith for agent evals and observability. Evidence. Setup detail

ExaOfficial adapter package

Via langchain-exa ExaSearchResults and ExaFindSimilarResults used with a LangGraph agent. The LangChain Exa search page shows Exa tools used with a LangGraph agent for search and similar-content lookup. Evidence. Setup detail

TavilyOfficial adapter package

Via langchain-tavily TavilySearch used as a LangChain tool in LangGraph agents. The Tavily provider page shows langchain-tavily exposing Tavily endpoints as LangChain tools. LangGraph agents consume LangChain tools, and the LangGraph repository positions LangChain as the source of integrations and composable components. Evidence. Setup detail

PlaywrightConnected through MCP

Via langchain-mcp-adapters (MultiServerMCPClient, load_mcp_tools). LangChain documentation shows pip install langchain-mcp-adapters and load_mcp_tools loading remote MCP tools into an agent, the documented MCP path for LangChain and LangGraph agents. Evidence. Setup detail

Grouped view: tools for LangGraph.

Stacks featuring this framework

Sources and freshness

Checked 2026-10-29. Source-verified means the claims above trace to the listed sources; it does not mean AgentsUse ran the framework. Send corrections through the contact page. Back to the framework index.