Open Source
Mastra
by Mastra
TypeScript-first agent framework. Workflows, agents, tools, memory, evals, in one consistent shape.
Our verdict
We have not reviewed Mastra yet
No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.
From the listing
About Mastra
Mastra is a TypeScript-first agent framework from former Gatsby founders. It bundles agents, workflows, tools, memory, and evals under a single API and ships with first-party integrations for the common provider and vector stores. The TypeScript answer to LangGraph for teams who want one consistent framework.
Best for
TypeScript teams who want a single agent framework, not a stack
Use cases
- Build production agents in a Next.js or Node app
- Define long-running workflows with explicit state in TypeScript
- Wire eval into the dev loop from day one
- Use one framework across agents, workflows, memory, and evals
Notes
Why it matters
TypeScript-first agent stacks are underserved by the Python-heavy ecosystem. Mastra is the most credible all-in-one answer for teams who do not want to bolt together five libraries.
How teams use it in production
Use Mastra as the spine. Reach for Vercel AI SDK where streaming UIs are the priority. Treat memory and eval as first-class from the start.
What to watch
The race between Mastra, Vercel AI SDK (with the new agent loop), and LangGraph.js is the question of where TypeScript agent stacks land in 2026.
Pros
- One coherent API across agents, workflows, memory, and evals
- First-class TypeScript, no Python sibling needed
- Strong dev loop and inspector tooling
- Active development with experienced founder backing
Cons
- Newer, ecosystem still maturing
- Less battle-tested than LangGraph or LlamaIndex
- Documentation depth still catching up to feature surface
Key facts
What we have checked
- Latest version
- @mastra/core@1.80.0 (released 28 Oct 2026)
- Days since the last commit
- 0
- GitHub forks
- 3,064
- GitHub stars
- 29,231
- Open issues
- 391
- Releases in the last 90 days
- 25
Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.
Stars and usage
How Mastra is growing
28,339 to 29,231
Health and security
Is Mastra looked after, and what do its setup files show
Health score
100 out of 100
| Part | Points | What we saw |
|---|---|---|
| Recent activity | 30 of 30 | Last push 0 days ago |
| Releases | 15 of 15 | 25 releases in 90 days |
| Issue replies | Not counted | The latest check has no issue response reading (fewer than 3 measured issues, or issues switched off) |
| Maintainer | 15 of 15 | Owned by an organisation |
| Official source | Not counted | MCP servers only |
Alternatives
Alternatives to Mastra
| Record | Type | How we know | Checked |
|---|---|---|---|
| LangChainThis is an alternative to it | App | Named in the listing | Not dated |
Compare
Compare Mastra side by side
Sources
Where this comes from
A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.
Changelog
What changed
Released @mastra/core@1.80.0
Released @mastra/core@1.79.0
Released @mastra/core@1.78.0
Released @mastra/core@1.77.0
Released @mastra/core@1.76.0
Released @mastra/core@1.75.0
Released @mastra/core@1.74.0
Released @mastra/core@1.73.0
Released @mastra/core@1.72.0
Released @mastra/core@1.71.0
Released @mastra/core@1.70.0
Open-source & AI alternatives
Swap-in tools that solve the same job. Weigh the trade-offs before you commit.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.