LangGraph vs Mastra
LangGraph is a framework from LangChain (MIT licence, 45k GitHub stars, last push 2026-11-20); Mastra is a framework from Mastra (Apache-2.0 licence, 30k GitHub stars, last push 2026-11-21). They share 2 of 12 capabilities and integrations identified for either (overlap 0.60); only LangGraph covers Stateful Workflow Graphs, Memory & State, Session Persistence and 1 more; only Mastra covers Agent SDKs, TypeScript Agent Frameworks, Agent Evaluation and 3 more. Figures as of 2026-11-21. DER
LangGraph profileMastra profileOpen in the compare tool
Side-by-side facts
7 of 16 rows differ (marked). Unknown means no source we track states it.
| Field | LangGraph | Mastra |
|---|---|---|
| Type | Framework · library CUR | Framework · library CUR |
| Publisher · differs | LangChain CUR | Mastra CUR |
| Licence · differs | MIT CUR | Apache-2.0 CUR |
| Open source | Yes CUR | Yes CUR |
| Pricing model | open-source CUR | open-source CUR |
| Hosting | Unknown | Unknown |
| Latest version | Unknown | Unknown |
| Languages · differs | python, typescript CUR | typescript CUR |
| GitHub stars · differs | 45k (45,222) SRC | 30k (29,719) SRC |
| Forks · differs | 7.8k SRC | 3.1k SRC |
| Last push · differs | 2026-11-20 SRC | 2026-11-21 SRC |
| Archived | No SRC | No SRC |
| First published · differs | 2023-08-09 SRC | Unknown |
| Versions recorded | Unknown | Unknown |
| Verification | Checked by AgentSidekick against official sources CUR | Checked by AgentSidekick against official sources CUR |
| Last verified | 2026-11-21 CUR | 2026-11-21 CUR |
Shared and unique capabilitiesDER
Capabilities are assigned by keyword rules from each description unless a researcher set them; integrations are services named in the description or package metadata.
Both (2)
Only LangGraph (4)
Only Mastra (6)
Platform compatibility
Status per platform from the evidence we hold. No pairing has been tested by AgentSidekick.
No compatibility evidence
For all 47 platforms on record the status is Unknown or Platform discontinued for both: neither product type implements a standard we can check (MCP, Agent Skills, Claude plugins) and neither publisher names a platform.
Maintenance
Repository activity read from the GitHub API. Activity is not quality.
| Measure | LangGraph | Mastra |
|---|---|---|
| Status | Active DER | Active DER |
| Days since last push | 0 DER | 0 DER |
| Open issues | 356 SRC | 502 SRC |
| Latest GitHub release | 1.2.24 · 2026-11-20 SRC | @mastra/core@1.84.0 · 2026-11-18 SRC |
| Newest registry version | Unknown | Unknown |
Evaluation dimensions
Separate signals with their evidence; there is no overall score. Hover or focus a status for its evidence.
| Dimension | LangGraph | Mastra |
|---|---|---|
| Source authority | Checked against official sources | Checked against official sources |
| Publisher verification | Organisation account | Organisation account |
| Maintenance activity | Active | Active |
| Licence clarity · differs | MIT | Apache-2.0 |
| Installation clarity | Linked | Linked |
| Documentation | Docs linked | Docs linked |
| Compatibility evidence | Unknown | Unknown |
| Security review | Not reviewed | Not reviewed |
Which fits which requirementDER
Derived from the differences above, one rule per line. Nothing here says either product is better; check the requirement against your own needs.
Choose LangGraph if…
- you need Stateful Workflow Graphs, Memory & State, Session Persistence and 1 more (classified for LangGraph only)
Choose Mastra if…
- you need Agent SDKs, TypeScript Agent Frameworks, Agent Evaluation and 3 more (classified for Mastra only)
Sources
- LangGraph · GitHub topic search: github.com (external)checked
- LangGraph · Curated research: langchain.com (external)checked
- LangGraph · Researcher checked: langchain.com (external)checked
- LangGraph · Researcher checked: docs.langchain.com (external)checked
- LangGraph · Researcher checked: github.com (external)checked
- Mastra · Curated research: mastra.ai (external)checked
- Mastra · Researcher checked: mastra.ai (external)checked
- Mastra · Researcher checked: mastra.ai (external)checked
- Mastra · Researcher checked: github.com (external)checked
Page data last updated .