Open sourceTypeScript · ≈30k stars · Elastic-2.0
Mastra
The TypeScript framework for production agents.
Mastra is a full TS-native agent framework — workflows, tool calling, RAG, evals and a dev playground — that has become the default choice for JavaScript teams building agent backends.
Pros & cons
Each point cites its sources and says what kind of evidence backs it. A second reviewer tried to refute every claim before it was kept.
Pros
- User reportsUsers on all-TypeScript stacks welcomed a production-grade TS framework with no model vendor lock-in.[1]
- User reportsPicked over AWS Strands as a more complete TypeScript agent story; users call out workflow visibility and templates.[1][2]
- DocsShips a local Studio (localhost:4111) for building, testing and managing agents, workflows and tools.[1]
- MetadataVery active: @mastra/core 1.80.0 was released 2026-10-28, and a commenter points to Brex's CTO naming it in their AI stack.[1][2]
Cons
- DocsDual-licensed: the core is Apache-2.0, but anything under ee/ directories is source-available and needs an enterprise license in production.[1]
- User reportsA commenter warns it is not model-locked but probably platform-locked: the lock-in just moves within the stack.[1]
- User reportsIn June 2026 attackers added a credential-stealing postinstall script to some published package versions; Mastra unpublished them and posted an incident report.[1]
- User reportsUpgrade churn: a 2025 bundle-size regression (+17MB) blocked Cloudflare Workers deploys, and AI SDK v5 and Zod v4 support each needed migration work.[1][2][3]
- Best for
- TypeScript teams building agents and workflows into their own app who want a local studio and evals.
- Watch out for
- Check which features sit under the ee/ license, and pin versions given the past supply-chain incident.
Assessed Oct 29, 2026 · adversarially reviewedSuggest a correction
Activity
- Last push
- · today
- Latest release
- @mastra/core@1.84.0
· 3d ago - Last 90 days
- 20+ releases
@mastra/core@1.84.0November 17, 2026
· 3d agoHighlights Storage Version 2 for Agents & Evented Workflows (much smaller writes + faster runs) Agents (createDurableAgent, createEventedAgent) and evented workflows can now opt into experimental storageVersion: 2, storing runs as a header + per-step rows so long runs write…
@mastra/core@1.83.0November 12, 2026
· 8d agoHighlights Resumable Agent streams (now for every Agent) Every Agent can now publish a resumable run stream with replay caching, cross-instance observe/abort (agent.observe(runId), observe().abort(), agent.abortRunStream(runId)), and ownership/TTL enforcement—so clients can…
@mastra/core@1.82.0November 4, 2026
· 2w agoHighlights Knowledge v2: page-tree model, richer tools, and server-side sync APIs Knowledge is now a first-class page tree (pages/notes/pins) with major tool upgrades: knowledge_list, line/section/grep-style reads in knowledge_read, list pinning (kind: 'list'), and a link index…
@mastra/core@1.81.0November 2, 2026
· 2w agoHighlights MCP Tasks (Storage-backed, restart-safe long-running execution) @mastra/mcp adds experimental Mastra-storage-backed MCP tasks so long-running tools/agents/workflows can return immediately with a task, be polled/answered/cancelled across instances, and survive…
@mastra/core@1.80.0October 28, 2026
· 3w agoHighlights End-user (per-resource) connections in @mastra/connect tools({ resourceId }) and new userConnectRoutes() enable user-scoped OAuth connections so agents can safely use each end user’s accounts (in addition to global connections), with built-in caching and hard…
Checked against GitHub on Nov 21, 2026. Release notes are shortened to plain text.
The team behind it
United States
The TypeScript-first company behind the Mastra agent framework.
Mastra builds the eponymous open-source TypeScript framework — workflows, tools, RAG, evals and a local dev playground — and is becoming the default 'agent backend' choice for JS/TS teams.
Neighbours on the workbench
TypeScript · ≈395k stars · MIT
openclaw/openclaw
The viral open-source personal AI assistant that really does things.
Maintained by OpenClaw Foundation
v2026.11.6releasedTypeScript · ≈285k stars · MIT
deepseek-ai/deepseek-harness
Everything is a Plugin — DeepSeek's open agent harness.
Maintained by DeepSeek
dsh-v0.2.2-rc.5 prereleasedTypeScript · ≈212k stars · Sustainable Use License (fair-code; GitHub reports NOASSERTION)
n8n-io/n8n
Fair-code workflow automation platform with native AI capabilities.
Maintained by n8n-io
n8n@1.123.100releasedConnections
Relations from the Harness Hub knowledge graph, as charted in the State of Harness reports.
