DSPy vs LangGraph
Side-by-side comparison with live GitHub signals. Last updated May 22, 2026.
| Metric | DSPy | LangGraph |
|---|---|---|
| GitHub Stars | 34.6K | 32.7K |
| Contributors | 394 | 273 |
| Last Commit | May 22, 2026 | May 21, 2026 |
| Open Issues | 490 | 553 |
| License | open-source | open-source |
| Pricing | open-source | open-source |
| Free Tier | Yes | Yes |
| Category | frameworks | frameworks |
| Trending | No | No |
Shared Tags
pythonopen-source
Only in DSPy
prompt-optimizationprogrammingresearchragstanford
Only in LangGraph
graphstatefulmulti-agentlangchainpersistence
About DSPy
DSPy replaces prompt engineering with programming. Instead of writing prompts, you define modules with input/output signatures and DSPy automatically optimizes the prompts and weights for your pipeline. Supports chain-of-thought, retrieval-augmented generation, and multi-hop reasoning patterns. From Stanford NLP.
View full listingAbout LangGraph
LangGraph is LangChain's framework for building stateful, multi-actor agent applications as graphs. Define agents as nodes and their interactions as edges, with built-in persistence, streaming, human-in-the-loop, and time-travel debugging. The standard for production agent orchestration in the LangChain ecosystem.
View full listing