Mastra
OrchestrationApache-2.0 (core); Mastra Enterprise License (source-available, ee/ directories)
Mastra is a TypeScript framework for building AI agents and multi-step workflows. Developers choose a model, write instructions and attach tools to an agent, or compose typed workflow steps with branches, retries and pauses for human input. It also covers memory, MCP server authoring, evals, tracing and guardrails. A project starts with npm create mastra@latest and runs in Node.js-compatible environments, standalone or embedded in frameworks such as Next.js and Express. The core is open source under Apache 2.0, and a hosted Mastra Platform has a free plan.
The documentation shows workflow steps chained with .then() and finished with .commit(), with a suspended status and resume methods for paused runs.

Pinout
- MCP server: supported, verified
- HTTP API: not checked yet
- command line: not checked yet
- Python SDK: not checked yet
- TypeScript SDK: supported, verified
- OpenAPI description: not checked yet
| Interface | Status | Source we read | Read on |
|---|---|---|---|
| MCP server | Supported, verified | Home page, MCP (build MCP servers) | |
| HTTP API | Not checked yet | — | — |
| Command line | Not checked yet | — | — |
| Python SDK | Not checked yet | — | — |
| TypeScript SDK | Supported, verified | Home page, install (npm create mastra@latest), TypeScript | |
| OpenAPI description | Not checked yet | — | — |
Facts
| License | Core framework and most of the codebase under Apache License 2.0; code in ee/ directories is source-available under the Mastra Enterprise License, which requires a license for production use. GitHub repository page, README, read . |
|---|---|
| Language and install | TypeScript; npm create mastra@latest. Home page, read . |
| Workflows | Typed steps, branches and retries, with pauses for human input. Home page, read . |
| Workflow API | Steps chained with .then() and finished with .commit(); suspended runs expose status suspended and can be resumed with run.resumeStream(). Documentation, workflows overview, read . |
| Memory | Observational memory, semantic recall and thread storage. Home page, read . |
| MCP | Build MCP servers that expose agents, tools and other structured resources. Home page, read . |
| Observability | Evals, metrics (latency, token usage, cost), datasets and tracing. Home page, read . |
| Deployment | Runs in Node.js-compatible environments, optional built-in deployers for Vercel, Netlify and Cloudflare; standalone server built on Hono or embedded in Next.js, Express, Fastify and similar. Home page, read . |
| Framework integrations | Next.js, React + Vite, Astro, Express, SvelteKit and Hono. Documentation home, read . |
| Latest release | @mastra/core@1.83.0, dated November 12, 2026 in the page header. GitHub Releases page, read . |
| Platform pricing | Mastra Platform Free at $0 per month, Starter $25, Team $250, Enterprise custom, per workspace per month. Pricing page, read . |
| Last commit | . GitHub API, latest commit on the default branch of mastra-ai/mastra, read . |
Call example
npm create mastra@latestLimits
- Code in ee/ directories requires a Mastra Enterprise License for production use.
- The Mastra Platform Enterprise plan has no listed price.
Strengths
- The core framework is Apache 2.0 licensed.
- The same package covers agents, workflows, memory, evals and MCP server authoring.
- The Mastra Platform has a free plan at $0 per month.
Pricing
As written on Mastra's own page on the read date. Prices change: check there before you pay.
Alternatives to Mastra
All orchestration tools for agents
Durable execution platform for workflows, background jobs and AI agents.

Open source agent framework with SDKs for Python, TypeScript, Go, Java, Kotlin.

Low-level framework for stateful, long-running agent workflows built as graphs.

Typed Python SDK for building agents across many model providers.
Last check: . Method: public repository and docs read automatically, page and day written down. Next check due within 90 days. How we check
Is this your tool? Write to hello@agent-tools.directory from an address on its domain to correct a pin or a fact.