
Mastra is a TypeScript framework for production AI agents from builders with a long track record in JavaScript tooling (the Gatsby lineage). Instead of bolting chat-completion helpers onto Express, it gives you first-class agents, multi-step workflows, memory, evals and tracing — so you can ship something closer to an app than a weekend demo. You define behaviour in typed TypeScript, integrate with React, Next.js or Node, or deploy Mastra as its own server.
The open-source core is Apache-2.0 and covers the building blocks most teams need: agents that call tools, durable workflows, RAG-style memory and observability hooks. Optional Mastra Cloud adds managed deployment and higher observability quotas; a free Cloud Starter exists, with Teams around $250/month and Enterprise for SSO-grade needs. Code under ee/ directories is source-available under a separate enterprise licence for production auth/RBAC — worth reading before you depend on those features.
Our editor score is about 4.5/5 in Coding. Pick Mastra if your stack is TypeScript and you want agents with workflows, memory and tracing in one place; look elsewhere if you need a mature Python-only stack or a no-code agent builder for non-developers.
| Plan | Price | What's Included |
|---|---|---|
| Free / open source | $0 | Apache-2.0 core — agents, workflows, memory, self-host |
| Cloud Starter | $0 | Managed cloud starter limits — confirm on mastra.ai |
| Cloud Teams | $250/month | Higher observability, retention, SSO — verify current plans |
Human-verified · How we score →