Comparison
ag2 vs langchain vs pydantic-ai vs semantic-kernel
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A programming framework for agentic AI
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install ag2Building applications with LLMs through composability
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install langchainAI Agent Framework, the Pydantic way
Actively maintained. Last release 4 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pydantic-aiSemantic Kernel Python SDK
Actively maintained. Last release 4 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install semantic-kernelIn short
- langchain is the most used: 155.9M downloads a month, 23× more than pydantic-ai.
- Maintenance is comparable: semantic-kernel 89, langchain 88, pydantic-ai 87, ag2 86 on Pythie’s Index.
- ag2 is growing fastest: downloads +37% over the last month.
- Safe default for a new project: langchain.
Side by side
| Metric | ag2 | langchain | pydantic-ai | semantic-kernel |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 88 | Pythie’s Index: 87 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 256.1K | 155.9M | 6.8M | 366.8K |
| Downloads, month over month | +37% | -2% | +4% | +10% |
| GitHub stars | 5.1K | 150.2K | 21.5K | 28.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 2.6K | 0 | 27 |
| Last release | Nov 29, 2026 | Nov 18, 2026 | Nov 28, 2026 | Nov 5, 2026 |
| Releases, 12 months | 40 | 62 | 192 | 17 |
| Weeks with commits | 26 / 26 | 26 / 26 | 26 / 26 | 25 / 26 |
| Recent contributors | 22 | 9 | 4 | 60 |
| First release | Nov 2024 | Oct 2022 | May 2024 | Apr 2023 |
| Python versions | 3.11 – 3.15 | 3.11 – 3.14 | 3.11 – 3.15 | 3.11 – 3.14 |
| License | Apache-2.0 | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.