Compare frameworks
LangGraph vs Mastra
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.
| Field | LangGraph | Mastra |
|---|---|---|
| Stars | 42,201 (highest of the compared values)Synced from sourceCurrentjust now | 28,295Synced from sourceCurrentjust now |
| downloads | 2,342,174 (highest of the compared values)Synced from sourceCurrentjust now | 1,161,907Synced from sourceCurrentjust now |
| Last commit | 2026-09-23Synced from sourceCurrentjust now | 2026-09-24Synced from sourceCurrentjust now |
| Language | pythonSeeded, unreviewedwritten 1mo ago | typescriptSeeded, unreviewedwritten 1mo ago |
| Licence | MITSynced from sourceCurrentjust now | — |
| Archived | noSynced from sourceCurrentjust now | noSynced from sourceCurrentjust now |
| Category | orchestrationSeeded, unreviewedwritten 1mo ago | orchestrationSeeded, unreviewedwritten 1mo ago |
| Contributors | 287Synced from sourceCurrentjust now | 678Synced from sourceCurrentjust now |
| Forks | 7139Synced from sourceCurrentjust now | 2845Synced from sourceCurrentjust now |
| Maintainer | LangChainSeeded, unreviewedwritten 1mo ago | MastraSeeded, unreviewedwritten 1mo ago |
| npm downloads, monthly | 12112794Synced from sourceCurrentjust now | 5528725Synced from sourceCurrentjust now |
| npm downloads, weekly | 2342174Synced from sourceCurrentjust now | 1161907Synced from sourceCurrentjust now |
| npm package | @langchain/langgraphSynced from sourceCurrentjust now | @mastra/coreSynced from sourceCurrentjust now |
| npm window ends | 2026-09-21Synced from sourceCurrentjust now | 2026-09-21Synced from sourceCurrentjust now |
| Open issues | 816Synced from sourceCurrentjust now | 447Synced from sourceCurrentjust now |
| PyPI package | langgraphSynced from sourceCurrentjust now | — |
| PyPI released | 2026-09-21T14:43:28.196799ZSynced from sourceCurrentjust now | — |
| Requires Python | >=3.10Synced from sourceCurrentjust now | — |
| PyPI version | 1.2.12Synced from sourceCurrentjust now | — |
| Repository | https://github.com/langchain-ai/langgraphSynced from sourceCurrentjust now | https://github.com/mastra-ai/mastraSynced from sourceCurrentjust now |
Sources: GitHub REST API, npm registry downloads, PyPI registry metadata, pypistats.org downloads. Most recent observation just now. 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.