Comparison
ag2 vs crewai vs langchain vs langfun
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 crewaiBuilding 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 langchainLangfun: Language as Functions.
Actively maintained. Last release today, commits in 10 of the last 26 weeks. A safe choice.
pip install langfunIn short
- langchain is the most used: 155.9M downloads a month, 61× more than crewai.
- Maintenance is comparable: crewai 89, langchain 88, ag2 86, langfun 78 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 | langchain | langfun |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 89 | Pythie’s Index: 88 | Pythie’s Index: 78 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 256.1K | 2.6M | 155.9M | 55.8K |
| Downloads, month over month | +37% | -7% | -2% | -44% |
| GitHub stars | 5.1K | 61.4K | 150.2K | 921 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 2.6K | 0 |
| Last release | Nov 29, 2026 | Dec 1, 2026 | Nov 18, 2026 | Dec 1, 2026 |
| Releases, 12 months | 40 | 343 | 62 | 364 |
| Weeks with commits | 26 / 26 | 26 / 26 | 26 / 26 | 10 / 26 |
| Recent contributors | 22 | 31 | 9 | 7 |
| First release | Nov 2024 | Nov 2023 | Oct 2022 | Sep 2023 |
| Python versions | 3.11 – 3.15 | – | 3.11 – 3.14 | 3.10 – 3.11 |
| License | Apache-2.0 | MIT | MIT | Apache-2.0 |
| 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.