Compare frameworks

Mastra vs LangChain

Every figure below carries the source that reported it and the moment it was observed. Values that failed validation are withheld rather than shown, and a dash means no source we track carries that field for that framework.
Mastra vs LangChain, compared across 20 tracked fields. Each value shows the source that reported it and when.
FieldMastraLangChain
Stars
28,270Synced from sourceCurrent23h ago
146,901 (highest of the compared values)Synced from sourceCurrent23h ago
downloads
1,161,907Synced from sourceCurrent23h ago
2,026,447 (highest of the compared values)Synced from sourceCurrent23h ago
Last commit
2026-09-23Synced from sourceCurrent23h ago
2026-09-23Synced from sourceCurrent23h ago
Language
typescriptSeeded, unreviewedwritten 1mo ago
pythonSeeded, unreviewedwritten 1mo ago
Licence
MITSynced from sourceCurrent23h ago
Archived
noSynced from sourceCurrent23h ago
noSynced from sourceCurrent23h ago
Category
orchestrationSeeded, unreviewedwritten 1mo ago
orchestrationSeeded, unreviewedwritten 1mo ago
Contributors
678Synced from sourceCurrent23h ago
3739Synced from sourceCurrent23h ago
Forks
2843Synced from sourceCurrent23h ago
24575Synced from sourceCurrent23h ago
Maintainer
MastraSeeded, unreviewedwritten 1mo ago
LangChainSeeded, unreviewedwritten 1mo ago
npm downloads, monthly
5528725Synced from sourceCurrent23h ago
10553700Synced from sourceCurrent23h ago
npm downloads, weekly
1161907Synced from sourceCurrent23h ago
2026447Synced from sourceCurrent23h ago
npm package
@mastra/coreSynced from sourceCurrent23h ago
langchainSynced from sourceCurrent23h ago
npm window ends
2026-09-21Synced from sourceCurrent23h ago
2026-09-21Synced from sourceCurrent23h ago
Open issues
460Synced from sourceCurrent23h ago
557Synced from sourceCurrent23h ago
PyPI package
langchainSynced from sourceCurrent23h ago
PyPI released
2026-09-18T17:31:10.056247ZSynced from sourceCurrent23h ago
Requires Python
<4.0.0,>=3.10.0Synced from sourceCurrent23h ago
PyPI version
1.4.2Synced from sourceCurrent23h ago
Repository
https://github.com/mastra-ai/mastraSynced from sourceCurrent23h ago
https://github.com/langchain-ai/langchainSynced from sourceCurrent23h ago

Sources: GitHub REST API, npm registry downloads, PyPI registry metadata, pypistats.org downloads. Most recent observation 23h ago. Where a row is marked, ▲ is the highest of the values shown and ▼ the lowest — arithmetic on the figures above, not a ranking or a recommendation. Rows where neither extreme is meaningful are left unmarked rather than given a direction they do not have.

Change the comparison

Remove one, or open the directory to pick a different set. Up to 3 at a time.


Every figure on this site resolves to the source that reported it, the moment it was observed, and how it was measured. A value that fails validation is withheld rather than shown — withheld means we refused to publish it, not that it is zero.