Comparison
dspy vs langgraph vs lovia vs pydantic-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The framework for programming—rather than prompting—language models.
Actively maintained. Last release 3 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install dspyBuilding stateful, multi-actor applications with LLMs
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install langgraphA lightweight and elegant Agent framework
Actively maintained. Last release 1 day ago, commits in 20 of the last 26 weeks. A safe choice.
pip install loviaAI Agent Framework, the Pydantic way
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pydantic-aiIn short
- langgraph is the most used: 62.5M downloads a month, 8.8× more than dspy.
- Maintenance is comparable: langgraph 87, pydantic-ai 87, lovia 79, dspy 77 on Pythie’s Index.
- lovia is growing fastest: downloads +357% over the last month.
- lovia is the newcomer: first released May 2026.
- Safe default for a new project: langgraph.
Side by side
| Metric | dspy | langgraph | lovia | pydantic-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | 87 |