Comparison
langchain vs langfun vs litellm vs matrx-ai
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 langfunLibrary to easily interface with LLM API providers
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
pip install litellmUnified multi-provider AI client, orchestration, and tool system
Actively maintained. Last release 2 days ago. A safe choice.
pip install matrx-aiIn short
- langchain is the most used: 156.2M downloads a month.
- Maintenance is comparable: litellm 89, langchain 88, matrx-ai 84, langfun 78 on Pythie’s Index.
- litellm is growing fastest: downloads +15% over the last month.
- matrx-ai is the newcomer: first released Mar 2026.
- Safe default for a new project: langchain.
Side by side
| Metric | langchain | langfun | litellm | matrx-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 88 | Pythie’s Index: 78 | Pythie’s Index: 89 | Pythie’s Index: 84 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 156.2M | 55.8K | 108.6M | 49.3K |
| Downloads, month over month | -1% | -44% | +15% | -73% |
| GitHub stars | 150.3K | 921 | 64.3K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2.6K | 0 | 0 | 0 |
| Last release | Nov 18, 2026 | Dec 1, 2026 | Dec 2, 2026 | Nov 30, 2026 |
| Releases, 12 months | 62 | 364 | 260 | 811 |
| Weeks with commits | 26 / 26 | 10 / 26 | 26 / 26 | – |
| Recent contributors | 9 | 7 | 15 | – |
| First release | Oct 2022 | Sep 2023 | Jul 2023 | Mar 2026 |
| Python versions | 3.11 – 3.14 | 3.10 – 3.11 | – | 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.