Open-source, Git-based data version control that tracks datasets, models and experiments next to your code in ML projects.
Mastra
Open source TypeScript framework for building AI agents and workflows, plus a hosted platform for Studio, Server, memory and observability.
What is Mastra?
Mastra is an open source TypeScript framework for building AI agents, workflows and tools, paired with the Mastra platform for running them in production. The framework runs locally, and its Studio opens with the mastra studio command to inspect evals, logs, traces, datasets and metrics. On the hosted platform, Mastra Server deploys agents and workflows as REST endpoints with OpenAPI docs, Mastra Studio can be shared with a team behind role-based access, and Memory Gateway adds persistent agent memory to LLM calls from Python, TypeScript or any framework. Mastra Observability captures metrics, logs and traces for every production run, supports online scorers and datasets, and has Gates and Verdicts to catch regressions in CI. Developers building agents in TypeScript use it as an alternative to LangGraph or CrewAI. Platform pricing is pay-as-you-go: Starter is free at $0 per month with monthly allowances, Teams is $250 per month, and Enterprise is custom.
Use cases
- Build AI agents in TypeScript
- Deploy agents as REST APIs
- Add persistent memory to LLM calls
- Trace and monitor production agent runs
- Run evals and experiments on datasets
- Catch agent regressions in CI
Who it's for
Why use Mastra
- Web teams can build agents and the app around them in one language, TypeScript.
- The same framework covers agents, workflows, evals and observability, so you may not need a separate evals platform.
- Starter is free with unlimited users, deployments and projects, so you can try the platform before paying.
- Pay-as-you-go metering means you only pay for usage beyond the monthly allowance.
- Self-hosted and Enterprise options keep data inside your own VPC.
Mastra features
- Open source TypeScript agent framework
- Mastra Studio with evals, logs, traces and datasets
- Agent Editor for changing prompts and tools without code
- Mastra Server deploys agents as REST endpoints
- Memory Gateway for persistent agent memory
- Observability with metrics, logs and traces
- Online scorers and experiments on datasets
- Gates and Verdicts for CI checks
- Studio auth and role-based access
- Self-hosted and hosted options
Mastra integrations
How to get started with Mastra
- Install the Mastra framework and define an agent with a model, tools and optionally a workflow.
- Run it locally and open Studio with mastra studio to inspect traces and evals.
- Connect the project to the Mastra platform so runs are traced, then deploy with mastra server deploy.
- Add Memory Gateway or scorers and datasets as your agent needs them.
- Move from Starter to Teams if usage approaches $250 a month.
Mastra limitations
- Usage on the Starter plan is capped by monthly allowances for events, CPU time and egress
- Starter retains data for 15 days and Teams for 6 months
- Always-on server costs $100 per project
- Gateway input and output tokens are billed at market rate plus 5.5%
Mastra pricing
Mastra is open source, so you can use and self-host it for free. Paid plans start at $250 per month, according to the official pricing page on .
Mastra plans
Starter
$0/month
- 100K observability events, then $10/100K
- 24 CPU hours, then $0.35/hr
- 15 days data retention
- Unlimited users, deployments and projects
Teams
$250/month
- 1M observability events, then $8/100K
- 250 CPU hours, then $0.25/hr
- 6 months data retention
- Multiple teams, SSO and SOC 2 docs
Enterprise
Custom
- Custom volume and retention
- RBAC and audit logs
- Uptime and support SLAs
- Dedicated support engineer
Plans as listed on the official pricing page on . Prices can change and may vary by country or exclude tax. Check the official pricing page.
Mastra alternatives
The main Mastra alternatives listed on Debuly are LangGraph, CrewAI, LlamaIndex, Pydantic AI, LangChain and VoltAgent. The table compares pricing and platforms; order is A–Z.
| Tool | Pricing | Starting price | Platforms |
|---|---|---|---|
| Mastra | Open source | $250/mo | Web, CLI, API, Self-hosted |
| CrewAI | Open source | — | Web, API, CLI, Self-hosted |
| LangChain | Freemium | $39/mo | Web, API, Self-hosted |
| LangGraph | Open source | — | Self-hosted, Web, API |
| LlamaIndex | Freemium | $50/mo | Web, API, Self-hosted |
| Pydantic AI | Open source | — | API, CLI, Self-hosted |
| VoltAgent | Freemium | $50/mo | Web, API, Self-hosted |

CrewAI
Multi-agent framework and platform for building AI agent crews in Python or a visual editor, then deploying and monitoring them.
Open sourceVisit CrewAI (official site)
LangChain
Open-source framework for building LLM agents, paired with LangSmith for tracing, evals and agent deployment.
FreemiumVisit LangChain (official site)
LangGraph
Low-level open-source orchestration framework and runtime for building stateful, long-running AI agents as graphs.
Open sourceVisit LangGraph (official site)LlamaIndex
Open-source framework plus the LlamaParse platform for parsing, extracting and indexing documents so LLM apps can use them.
FreemiumVisit LlamaIndex (official site)
Pydantic AI
A type-safe, model-agnostic Python framework for building agents and LLM applications, from the team behind Pydantic.
Open sourceVisit Pydantic AI (official site)
VoltAgent
Open-source TypeScript framework for building AI agents, paired with the VoltOps console for tracing, evals and deployment.
FreemiumVisit VoltAgent (official site)
Mastra FAQ
How much does Mastra cost?
The framework is open source. On the Mastra platform, Starter is $0 per month, Teams is $250 per month, and Enterprise pricing is custom. Usage beyond included allowances is metered.
Is there a free plan?
Yes. Starter is free and pay-as-you-go with 100K observability events, 24 CPU hours, 10GB egress and 15 days of retention, plus unlimited users, deployments and projects.
What does the Teams plan include?
Teams is $250 per month with 1M observability events, 250 CPU hours, 100GB egress, 6 months of retention, multiple teams, SSO and SOC 2 documents, and lower usage rates.
Is Mastra open source?
Yes, the framework is open source and Studio runs locally from it. Mastra's pricing page also mentions open source and enterprise licenses, so review the license terms for your use.
Can I self-host Mastra?
Yes. The pricing page has a Self-Hosted tab with a Free and an Enterprise option, where data stays in your VPC and traces, prompts and outputs do not leave your environment.
Does Mastra have an API?
Mastra Server turns your agents, workflows and tools into REST endpoints with OpenAPI docs and Swagger UI.
What are alternatives to Mastra?
LangGraph, CrewAI, LlamaIndex and the Vercel AI SDK are common alternatives, differing mainly in language and how much of the production stack they provide.
Sources & verification
Facts on this page come from the official sources below, each with the date we read it. Written by Debuly; the vendor did not review this page.
| Source | Type | Accessed |
|---|---|---|
| mastra.ai | official | |
| github.com/mastra-ai/mastra | repository | |
| mastra.ai/pricing | pricing | |
| mastra.ai/blog/mastra-platform-pricing | pricing | |
| mastra.ai/platform-observability | official | |
| mastra.ai/blog/announcing-mastra-platform | official | |
| mastra.ai/blog/get-started-with-mastra-observability | official |
Image credits
- Logo: from mastra.ai · fetched · Vendor trademark, used only to identify the product; removed on request
- Cover: none collected yet, so a generated tile is shown.
Spot an error? Report an issue with this listing. We also remove a logo or image on the owner's request.
