LangGraph

A low-level orchestration framework for building stateful, multi-actor LLM agents as graphs

Framework
PyPI
v1.2.17
43,796 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
92 /100 Excellent
Development Activity 100
Maintenance 100
Community 76
Maturity 52
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
76 /100 Good
Architecture 88
Code Quality 82
Innovation 80
Learning Curve 55

LangGraph lets you build resilient, stateful agent applications by modeling them as graphs of nodes and edges rather than linear chains. Each node is a function or LLM call that reads and writes a shared state object, while conditional edges route execution based on that state — giving you explicit control over branching, looping, retries, and human-in-the-loop interrupts that ad-hoc prompt chaining struggles to express cleanly.

Built and maintained by the LangChain team but usable independently of LangChain, LangGraph adds durable execution (checkpointing state to memory, SQLite, or Postgres so a run can pause and resume), first-class support for multi-agent systems, and streaming of intermediate steps/tokens. A companion CLI and SDK let you package a graph as a deployable API server.

What You Get

  • A graph-based execution model (StateGraph) with typed shared state, nodes, and conditional edges
  • Durable execution via pluggable checkpointers (in-memory, SQLite, Postgres) so runs can pause, resume, and recover from failure
  • Built-in support for human-in-the-loop interrupts and time travel/replay of past states
  • First-class multi-agent patterns (supervisor, hierarchical, swarm) via subgraphs
  • Streaming of intermediate node outputs and LLM tokens for responsive UIs
  • A CLI and SDK (langgraph-cli, langgraph-sdk) for packaging and serving a graph as an API

Common Use Cases

  • Building customer-support or coding agents that need to pause for human approval mid-task
  • Orchestrating multi-agent systems where a supervisor delegates to specialist sub-agents
  • Implementing long-running workflows that must survive process restarts (durable execution)
  • Adding explicit retry/branching logic to LLM pipelines that plain chains can’t express

Under The Hood

Architecture - LangGraph compiles a declared StateGraph (nodes + conditional edges over a typed state schema) into a Pregel-style execution engine (langgraph/pregel/) that runs nodes in superstep rounds, propagating state updates through channels (langgraph/channels/) and persisting checkpoints between steps so execution can be paused, replayed, or resumed from any point. Tech Stack - Modern Python (3.10+) built on langchain-core for LLM/message primitives, Pydantic v2 for state schemas, and split into companion packages (langgraph-checkpoint, langgraph-checkpoint-postgres/-sqlite, langgraph-sdk, langgraph-prebuilt, langgraph-cli) managed together in this monorepo via uv and Hatchling. Code Quality - The libs/langgraph/tests directory is extensive, covering deprecation, retries, time-travel, streaming transformers, remote graphs, and managed values, and the project carries an AGENTS.md/CLAUDE.md contributor guide, reflecting mature engineering discipline for a fast-moving project. API Design - The core StateGraph/add_node/add_edge/compile surface is small and composable, though the full mental model (channels, reducers, checkpointers, superstep semantics) takes real study; prebuilt helpers like create_react_agent in langgraph-prebuilt flatten the learning curve for common agent patterns.

Used by 30 apps in this directory

Python
71%
Apache 2.0

GPT Researcher

AI Assistants · Productivity

30,269

The pioneering open-source autonomous AI agent that conducts deep, multi-source research and produces citation-backed reports exceeding 2,000 words — faster and more reliably than any human researcher.

View details
90
Repo Health
91
Technical
64
Dependency
Built with
Python 71%
TypeScript 18%
Updated 2 weeks ago
Python
71%
Apache 2.0

GPT Researcher

AI Assistants · Productivity

30,269

The pioneering open-source autonomous AI agent that conducts deep, multi-source research and produces citation-backed reports exceeding 2,000 words — faster and more reliably than any human researcher.

View details
90
Repo Health
91
Technical
64
Dependency
Built with
Python 71%
TypeScript 18%
Updated 2 weeks ago
Python
71%
Apache 2.0

GPT Researcher

AI Assistants · Productivity

30,269

The pioneering open-source autonomous AI agent that conducts deep, multi-source research and produces citation-backed reports exceeding 2,000 words — faster and more reliably than any human researcher.

View details
90
Repo Health
91
Technical
64
Dependency
Built with
Python 71%
TypeScript 18%
Updated 2 weeks ago
Python
71%
Apache 2.0

GPT Researcher

AI Assistants · Productivity

30,269

The pioneering open-source autonomous AI agent that conducts deep, multi-source research and produces citation-backed reports exceeding 2,000 words — faster and more reliably than any human researcher.

View details
90
Repo Health
91
Technical
64
Dependency
Built with
Python 71%
TypeScript 18%
Updated 2 weeks ago
TypeScript
55%
Other

Jaaz

AI Agents · AI Design Tools

6,721

Open-source AI creative agent that turns visual sketches and canvas gestures into images and videos — no text prompts required.

View details
45
Repo Health
59
Technical
71
Dependency
Built with
TypeScript 55%
Python 34%
JavaScript 10%
Updated 7 months ago
TypeScript
55%
Other

Jaaz

AI Agents · AI Design Tools

6,721

Open-source AI creative agent that turns visual sketches and canvas gestures into images and videos — no text prompts required.

View details
45
Repo Health
59
Technical
71
Dependency
Built with
TypeScript 55%
Python 34%
JavaScript 10%
Updated 7 months ago
TypeScript
55%
Other

Jaaz

AI Agents · AI Design Tools

6,721

Open-source AI creative agent that turns visual sketches and canvas gestures into images and videos — no text prompts required.

View details
45
Repo Health
59
Technical
71
Dependency
Built with
TypeScript 55%
Python 34%
JavaScript 10%
Updated 7 months ago
TypeScript
55%
Other

Jaaz

AI Agents · AI Design Tools

6,721

Open-source AI creative agent that turns visual sketches and canvas gestures into images and videos — no text prompts required.

View details
45
Repo Health
59
Technical
71
Dependency
Built with
TypeScript 55%
Python 34%
JavaScript 10%
Updated 7 months ago
Python
71%
MIT

Langflow

AI Agents · AI Development

155,973

Build, test, and deploy AI agents and RAG workflows visually with native API and MCP server export.

View details
90
Repo Health
85
Technical
64
Dependency
Built with
Python 71%
TypeScript 21%
Updated yesterday

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers