Mastra
Agent Frameworks · Free + paid
TypeScript AI framework with workflows, agents, RAG, integrations, and evals
At a glance
- Made by
- Mastra
- Korean
- None (English and a few others only)
- Available on
- Web, CLI
- Open source
- Apache-2.0
- GitHub
- 28,804 stars · NOASSERTION
What is Mastra?
Mastra is a framework for building AI applications and agents with a modern TypeScript stack. It provides agents, workflows, memory, a harness, and a server, and can be attached to React, Next.js, or Node, or deployed as a standalone server. It connects to more than 40 model providers through a single interface, and uses built-in evals and observability to measure and improve agents. The open-source framework (Apache 2.0) is free, and the hosted platform (Mastra Cloud) has usage-based paid plans.
- Typed agents that define instructions, model, and tools in one place
- Graph-based workflows with steps, retries, and branching
- Observational memory and semantic-search-based memory
- Model routing that connects to 40+ providers
- Pause and resume while waiting for human approval (Human-in-the-loop)
- Authoring MCP servers
- Built-in evals and observability (traces, metrics, logs)
- Mastra Studio for developing and testing agents
Who uses Mastra and for what
- Sales and marketing agents
- Customer-facing agents
- A system of specialized agents that handle software work from issue to deployment (Factory)
Pricing
What you get for free — Yes (open-source framework is free; platform Starter $0: 100K observability events, 24 CPU hours, 15-day retention)
| Plan | Price | Main limits |
|---|---|---|
| Starter (Mastra Platform) | $0/mo | 100K observability events + $10/100K, 24 CPU hours + $0.35/hour, 15-day retention |
| Teams (Mastra Platform) | $250/mo | 1M observability events + $8/100K, 250 CPU hours + $0.25/hour, 6-month retention, SSO |
| Enterprise (Mastra Platform) | Contact sales | Custom pricing, RBAC, audit logs, SLA |
| Free (Self-Hosted) | $0/mo | Apache 2.0, build and host anywhere |
| Enterprise (Self-Hosted) | Contact sales | Custom pricing, single annual fee, data stays inside your VPC |
Checked on the official pages on 2026-10-14. Prices and features can change, so check the official site again before paying. · Official pricing page
AI tools similar to Mastra (alternatives)
Mastra vs. alternatives at a glance
| AI | Pricing | Combos on the map | Connected tools | Free | Cheapest monthly | Korean |
|---|---|---|---|---|---|---|
| Mastra | Free + paid | 0 | 5 | Yes | $250/mo | No |
| AutoGen | Free + paid | 10 | 8 | — | — | No |
| AutoGPT | Free + paid | 0 | 8 | No | $50/mo | No |
| BabyAGI | Free + paid | 0 | 8 | — | — | No |
| CAMEL | Free + paid | 0 | 8 | — | — | No |
1 of these 5 tools have a free plan. Cheapest paid plan: AutoGPT ($50/mo).
Combo and connection counts are based on the relationships recorded on AI Galaxy Map (2026-10-26); they are not a quality ranking.
Mastra on AI Galaxy Map
- One of 36 AI tools in the Agent Frameworks field.
- Connected to 5 other tools — #11 in its field.
Frequently asked questions
Can I use Mastra for free?
Yes (open-source framework is free; platform Starter $0: 100K observability events, 24 CPU hours, 15-day retention). Prices can change, so check the official site before paying.
What AI can I use instead of Mastra?
Tools that do the same job, such as AutoGen, AutoGPT, BabyAGI, CAMEL, are connected to it on the map.
Can I use Mastra in Korean?
None (English and a few others only)
Sources (official pages)
Checked on the official pages on 2026-10-14. Prices and features can change, so check the official site again before paying.