LangGraph SDK
SDK for interacting with LangGraph API to build and run agent workflows.
Agent, MCP and tool libraries PyPI MIT
How LangGraph SDK is used
LangGraph SDK is a dependency in 9 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 228 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Pydantic AI (16 projects). Projects that use it most often also use LangChain (99.6%), LangGraph (99.1%), LangGraph Checkpoint (94.7%).
LangGraph SDK popularity over time
Gid Score 73: downloads 87, use in agent projects 63, GitHub stars 75, downloads trend 57 (each 0-100). How it is calculated.
Often used with LangGraph SDK
| LangChain | 99.6% of LangGraph SDK projects · 49.1× more than average |
|---|---|
| LangGraph | 99.1% of LangGraph SDK projects · 81.0× more than average |
| LangGraph Checkpoint | 94.7% of LangGraph SDK projects · 653.5× more than average |
| LangSmith | 93.9% of LangGraph SDK projects · 291.3× more than average |
| Pydantic | 93.9% of LangGraph SDK projects · 10.9× more than average |
| python-dotenv | 93.4% of LangGraph SDK projects · 10.2× more than average |
| OpenAI Python Library | 92.1% of LangGraph SDK projects · 23.3× more than average |
| AnyIO | 91.2% of LangGraph SDK projects · 61.6× more than average |
From all 228 projects in our scan that use LangGraph SDK, including the dependency samples.
By coding agent
| GitHub Copilot | 0.2% of projects set up for it |
|---|---|
| Claude Code | 0.2% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list LangGraph SDK as a dependency.
Install
| Package | pip install langgraph-sdk |
|---|---|
| Main stacks | Python (227), Next.js (1) |
| Example projects | assafelovic/gpt-researcher, apconw/Aix-DB, William-Lu-stack/Flawless, Decade-qiu/CookHero, YuhangChen1/Paper2All |
Alternatives to LangGraph SDK
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside LangGraph SDK are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Pydantic AI pypi AI agent framework built with Pydantic for structured, typed agent development. |
62 | 16 (1.0%) | 1.5M | 20.7K | MIT |
| Google Agent Development Kit pypi Agent framework from Google for building AI agents. |
64 | 8 (0.5%) | 2.3M | 21.9K | Apache-2.0 |
| Semantic Kernel pypi Microsoft SDK for integrating LLMs with traditional code for AI applications. |
51 | 3 (0.2%) | 73.1K | 28.7K | MIT |
More in Agent, MCP and tool libraries: Model Context Protocol SDK (JavaScript) Model Context Protocol SDK (Python) FastMCP (Python) LangChain LangGraph LangChain.js Mastra Agent Client Protocol SDK