Comparison
ag2 vs haystack-ai vs openai-agents 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-aiOpenAI Agents SDK
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install openai-agentsSemantic 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
- openai-agents is the most used: 19.8M downloads a month, 26× more than haystack-ai.
- haystack-ai is better maintained: Pythie’s Index 93 against 82.
- ag2 is growing fastest: downloads +37% over the last month.
- openai-agents is the newcomer: first released Mar 2025.
- Safe default for a new project: openai-agents, or haystack-ai if active maintenance matters most.
Side by side
| Metric | ag2 | haystack-ai | openai-agents | semantic-kernel |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 93 | Pythie’s Index: 82 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 256.1K | 766.2K | 19.8M | 366.8K |
| Downloads, month over month | +37% | +27% | +23% | +10% |
| GitHub stars | 5.1K | 27.1K | 31K | 28.8K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 335 | 27 |
| Last release | Nov 29, 2026 | Dec 1, 2026 | Nov 30, 2026 | Nov 5, 2026 |
| Releases, 12 months | 40 | 126 | 84 | 17 |
| Weeks with commits | 26 / 26 | 26 / 26 | 26 / 26 | 25 / 26 |
| Recent contributors | 21 | 36 | 4 | 57 |
| First release | Nov 2024 | Nov 2023 | Mar 2025 | Apr 2023 |
| Python versions | 3.11 – 3.15 | 3.11 – 3.15 | 3.10 – 3.14 | 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.