Comparison
ag2 vs crewai vs haystack-ai vs langchain
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 ag2Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
pip install crewaiLLM 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-aiBuilding applications with LLMs through composability
Actively maintained. Last release 13 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install langchainIn short
- langchain is the most used: 155.9M downloads a month, 61× more than crewai.
- Maintenance is comparable: haystack-ai 93, crewai 89, langchain 88, 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 | crewai | haystack-ai | langchain |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 89 | Pythie’s Index: 93 | Pythie’s Index: 88 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 256.1K | 2.6M | 766.2K | 155.9M |
| Downloads, month over month | +37% | -7% | +27% | -2% |
| GitHub stars | 5.1K | 61.4K | 27.1K | 150.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 0 | 2.6K |
| Last release | Nov 29, 2026 | Dec 1, 2026 | Dec 1, 2026 | Nov 18, 2026 |
| Releases, 12 months | 40 | 343 | 126 | 62 |
| Weeks with commits | 26 / 26 | 26 / 26 | 26 / 26 | 26 / 26 |
| Recent contributors | 22 | 31 | 39 | 9 |
| First release | Nov 2024 | Nov 2023 | Nov 2023 | Oct 2022 |
| Python versions | 3.11 – 3.15 | – | 3.11 – 3.15 | 3.11 – 3.14 |
| License | Apache-2.0 | MIT | Apache-2.0 | 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.