Comparison
langchain vs langfun vs npmai-agents vs strands-agents
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-agentsA model-driven approach to building AI agents in just a few lines of code
Actively maintained. Last release 5 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install strands-agentsIn short
- langchain is the most used: 156.2M downloads a month, 4.0× more than strands-agents.
- Maintenance is comparable: strands-agents 89, langchain 88, langfun 78, npmai-agents 60 on Pythie’s Index.
- npmai-agents is the newcomer: first released Jun 2026.
- Safe default for a new project: langchain.
Side by side
| Metric | langchain | langfun | npmai-agents | strands-agents |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 78 | Pythie’s Index: 60 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 156.2M | 55.8K | 220.3K | 38.6M |
| Downloads, month over month | -1% | -44% | -6% | +3% |
| GitHub stars | 150.3K | 921 | 1 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2.6K | 0 | 0 | 0 |
| Last release | Nov 18, 2026 | Dec 1, 2026 | Jul 7, 2026 | Nov 27, 2026 |
| Releases, 12 months | 62 | 364 | 4 | 57 |
| Weeks with commits | 26 / 26 | 10 / 26 | 7 / 26 | 26 / 26 |
| Recent contributors | 9 | 7 | 3 | 27 |
| First release | Oct 2022 | Sep 2023 | Jun 2026 | May 2025 |
| Python versions | 3.11 – 3.14 | 3.10 – 3.11 | 3.9 – 3.12 | 3.10 – 3.14 |
| License | MIT | Apache-2.0 | 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.