DSPy vs LangGraph
Side-by-side comparison with live GitHub signals. Last updated July 6, 2026.
| Metric | DSPy | LangGraph |
|---|---|---|
| GitHub Stars | 35.9K | 36.6K |
| Contributors | 401 | 275 |
| Last Commit | Jul 5, 2026 | Jul 5, 2026 |
| Open Issues | 566 | 602 |
| 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