Comparison
langchain vs langfun vs npmai-agents vs stirrup
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Building 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 langchainLangfun: Language as Functions.
Actively maintained. Last release 1 day ago, commits in 10 of the last 26 weeks. A safe choice.
pip install langfunProduction-grade autonomous AI agent framework with 1,371 tools across 100 classes and a 5-role LLM pipeline — built on the NPMAI ECOSYSTEM.
Maintained. Last release 5 months ago, commits in 7 of the last 26 weeks. Weaker on contributor spread.
pip install npmai-agentsThe lightweight foundation for building agents
Actively maintained. Last release 12 days ago, commits in 7 of the last 26 weeks. A safe choice.
pip install stirrupIn short
- langchain is the most used: 156.2M downloads a month, 147× more than stirrup.
- langchain also has the best Pythie’s Index (88).
- stirrup is growing fastest: downloads +84% over the last month.
- npmai-agents is the newcomer: first released Jun 2026.
- Safe default for a new project: langchain.
Side by side
| Metric | langchain | langfun | npmai-agents | stirrup |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 78 | Pythie’s Index: 60 | Pythie’s Index: 71 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 156.2M | 55.8K | 220.3K | 1.1M |
| Downloads, month over month | -1% | -44% | -6% | +84% |
| GitHub stars | 150.3K | 921 | 1 | 744 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2.6K | 0 | 0 | 0 |
| Last release | Nov 18, 2026 | Dec 1, 2026 | Jul 7, 2026 | Nov 20, 2026 |
| Releases, 12 months | 62 | 364 | 4 | 16 |
| Weeks with commits | 26 / 26 | 10 / 26 | 7 / 26 | 7 / 26 |
| Recent contributors | 9 | 7 | 3 | 8 |
| First release | Oct 2022 | Sep 2023 | Jun 2026 | Dec 2025 |
| Python versions | 3.11 – 3.14 | 3.10 – 3.11 | 3.9 – 3.12 | 3.12 – 3.13 |
| License | MIT | 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.