Mastra
An open-source TypeScript framework for agents, durable typed workflows, RAG, memory, MCP, evals and observability, built by the team behind Gatsby. A commercial platform adds hosted deployment, a visual Studio and enterprise controls.
- Website
- https://mastra.ai
- Who it's for
- TypeScript/JavaScript teams building production agents who want a batteries-included framework with an optional hosted platform.
- Pricing
- Core free (Apache-2.0; enterprise directories require a commercial licence). Cloud freemium: Starter $0/mo (100K observability events, 24 CPU hrs), Teams $250/mo, Enterprise custom.
- Category
- Agent frameworks & orchestration
- Last verified
- 2026-10-22 (current)
- Confidence
- high
Key facts
- TypeScript/JavaScript
- Core Apache-2.0, with commercially licensed enterprise directories
- Durable typed workflows, agents, RAG, memory, evals, MCP
- Model router covering thousands of models
- Teams plan includes SSO and SOC 2 documentation
Sources
Every claim above is drawn from these; we do not publish unsourced specifications.
Notes & uncertainties
Dual licence: Apache-2.0 covers the core only. Cloud overages are metered separately.
Something changed or out of date? Tell us — corrections are how this stays worth reading.