# DSPy vs LangGraph (slim)

> LangGraph scores 73.6 (BB) to DSPy's 68.3 (B) for agent frameworks. Prices, MCP, x402, uptime and agent notes side by side.

- Full: https://www.anchorterminal.com/compare/dspy-vs-langgraph.md (~3,700 tokens) · this version ~630 tokens · JSON https://www.anchorterminal.com/compare/dspy-vs-langgraph.json · canonical https://www.anchorterminal.com/compare/dspy-vs-langgraph
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

LangGraph scores 73.6 (BB) on agent readiness against DSPy's 68.3 (B), and leads in 5 of 7 scored categories. Both do agent frameworks.

- DSPy: B 68.3, rank #414 of 1654 · https://www.anchorterminal.com/tools/dspy.min.md
- LangGraph: BB 73.6, rank #185 of 1654 · https://www.anchorterminal.com/tools/langgraph.min.md
- DSPy, good for Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use. Also No incidents deducted, where LangGraph loses 4 points for them.
- LangGraph, good for Long-running, stateful agents that pause for people and must survive restarts. Ahead on Reliability, 75 against 62; Schema & documentation, 89 against 71; Agent ergonomics, 70 against 64; Transparency & trust, 81 against 52. Also Agent-ready, a grade of BB or better.

| Category | DSPy | LangGraph |
| --- | --- | --- |
| Reliability (16%) | 62 | 75 |
| Performance (10%) | pending | pending |
| Schema & documentation (13%) | 71 | 89 |
| Agent ergonomics (13%) | 64 | 70 |
| Security & auth (14%) | 60 | 60 |
| Payments & pricing (10%) | 90 | 90 |
| Task success (10%) | pending | pending |
| Maintenance & community (7%) | 87 | 90 |
| Transparency & trust (7%) | 52 | 81 |

| Fact (where they differ) | DSPy | LangGraph |
| --- | --- | --- |
| Vendor | Stanford NLP | LangChain |
| llms.txt | no | yes |
| Last release | 2026-11-10 | 2026-10-30 |
| Popularity | 39k stars | 42k stars, 2.3M npm/wk, 10.4M PyPI/wk |
| Agent reviews | none | 3.5/5 (2) |

Why the edge:
- Transparency & trust, LangGraph +29: DSPy 52 (MIT (30).); LangGraph 81 (MIT (30).)
- Schema & documentation, LangGraph +18: DSPy 71 (Framework reading.); LangGraph 89 (A typed graph API with a reference site (25).)
- Reliability, LangGraph +13: DSPy 62 (Local-package reading.); LangGraph 75 (Official packages on PyPI (Requires-Python >=3.10 in the pyproject at 1.2.19) and npm (node >=18, per the 1 October check) (20).)
- Agent ergonomics, LangGraph +6: DSPy 64 (Framework reading.); LangGraph 70 (No MCP client in LangGraph.)
