Comparison
ag2 vs haystack-ai vs llama-index 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 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install ag2LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
pip install haystack-aiInterface between LLMs and your data
Actively maintained. Last release 3 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install llama-indexSemantic 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
- llama-index is the most used: 1.8M downloads a month, 2.3× more than haystack-ai.
- Maintenance is comparable: haystack-ai 93, llama-index 89, semantic-kernel 89, ag2 86 on Pythie’s Index.
- ag2 is growing fastest: downloads +37% over the last month.
- Safe default for a new project: llama-index.
Side by side
| Metric | ag2 | haystack-ai | llama-index | semantic-kernel |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 93 | Pythie’s Index: 89 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 256.1K | 766.2K | 1.8M | 366.8K |
| Downloads, month over month | +37% | +27% | -28% | +10% |
| GitHub stars | 5.1K | 27.1K | 53.1K | 28.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 221 | 27 |
| Last release | Nov 29, 2026 | Dec 1, 2026 | Nov 13, 2026 | Nov 5, 2026 |
| Releases, 12 months | 40 | 126 | 16 | 17 |
| Weeks with commits | 26 / 26 | 26 / 26 | 22 / 26 | 25 / 26 |
| Recent contributors | 21 | 36 | 35 | 57 |
| First release | Nov 2024 | Nov 2023 | Feb 2023 | Apr 2023 |
| Python versions | 3.11 – 3.15 | 3.11 – 3.15 | – | 3.11 – 3.14 |
| License | Apache-2.0 | Apache-2.0 | 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.