LangGraph
BuildersAgent frameworkLangChain
Library for building stateful, long-running agents as graphs, with persistence and human-in-the-loop.
- Who it's for: people building software and AI agents
- Pricing: Open source; paid LangGraph Platform/LangSmith (verify on the official site)
- Official site: https://www.langchain.com/langgraph
- Source / changelog: https://github.com/langchain-ai/langgraph
Best for / Not for
Best for
- Developers needing explicit control over agent state and steps
- Long-running, human-in-the-loop workflows
- Production agents with checkpoints
Not for
- Quick one-off scripts
- Non-developers
3 concrete use cases
- Approval workflow: A graph where the agent drafts, pauses for human approval, then executes.
- Research agent: Nodes for search, summarize and critique, looping until quality passes.
- Stateful assistant: Persist conversation state with a checkpointer and resume later.
Pros and cons
Pros
- Fine-grained control flow
- Persistence and human-in-the-loop support
- Open source, integrates with LangSmith
Cons
- Steeper learning curve
- More boilerplate than simple SDKs
- Concepts change across versions
How to get started with LangGraph in 10 minutes
- pip install -U langgraph
- Follow the official quickstart to build a simple graph
- Add one tool node
- Run it and inspect the output
- Optionally connect LangSmith for traces
Playbooks using LangGraph
Comparisons
LangGraph alternatives
- OpenAI Agents SDK: Lightweight framework for building multi-agent workflows with tools, handoffs and tracing.
- CrewAI: Python framework for orchestrating role-based teams of agents.
- LangChain: Open-source framework for building LLM apps and agents with integrations.
- LlamaIndex: Framework for building agents and RAG apps over your data; LlamaCloud for parsing.
- AutoGen: Open-source framework from Microsoft for multi-agent applications.
- Pydantic AI: Python agent framework built by the Pydantic team with type-safe outputs.
Recent changes
Weekly updates for LangGraph will be logged here as they appear in issues.