Mastra
TypeScript framework for agents, workflows and RAG.
Updated
✨ Try AgentScout's free AI image generator →Good for: automating workflows, building AI agents, working with documents
Use cases
About Mastra
Mastra is listed in our frameworks category and is aimed at builders. TypeScript framework for agents, workflows and RAG. Pricing, as the maker states it: Open source. Maturity: Active. We last checked the official link on 2026-10-14.
What is Mastra?
Mastra is a TypeScript framework for building AI-powered applications and agents, from prototypes to production. It includes agents, workflows and RAG.
It integrates with React, Next.js and Node, or deploys anywhere as a standalone server.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: mastra.ai.
Who is Mastra for?
TypeScript developers building agents and AI features into web apps.
Mastra at a glance
- Open source: Yes (Apache License 2.0, except ee/ directories (separate licence))
- GitHub: mastra-ai/mastra · 28,973 stars (as of Oct 21, 2026)
Key features
- Agents, workflows and RAG
- Works with React, Next.js and Node
- Standalone server deployment
Mastra FAQ
What is Mastra?
Mastra is a TypeScript framework for building AI-powered applications and agents, from prototypes to production. It includes agents, workflows and RAG.
Who is Mastra for?
TypeScript developers building agents and AI features into web apps.
Is Mastra free?
Mastra's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Is Mastra open source?
Yes. Mastra is released under the Apache License 2.0, except ee/ directories (separate licence), according to its GitHub repository.
What are alternatives to Mastra?
Similar tools include CrewAI, Microsoft Agent Framework, VoltAgent, Agent-Native (Builder.io), eve and Workflow SDK.
Mastra ratings and reviews
Be the first to rate Mastra: tap 1 to 5 stars below. A written review is optional.
Mastra alternatives
Other frameworks tools in our directory. See all frameworks tools →
CrewAI
Framework for role-based multi-agent crews.
Microsoft Agent Framework
Microsoft's framework for building and orchestrating agents and multi-agent workflows in Python and .NET.
VoltAgent
TypeScript agent framework plus an engineering platform for building, observing and deploying AI agents.
Agent-Native (Builder.io)
Open-source TypeScript framework for building agents that come with their own app UI; each action is shared by the UI, agent, API, CLI, MCP and A2A.
eve
Vercel's open-source agent framework, pitched as Next.js for agents: a file-system-based way to define an agent's tools, prompts and workflows and run it in production.
Workflow SDK
Vercel's TypeScript SDK for building durable, reliable and observable apps and AI agents.
Popular searches with this tool
🏆 Ranked in: LlamaIndex alternatives · AstrBot alternatives
🔁 Listed in: DSPy alternatives · LlamaIndex alternatives · PrivateGPT alternatives
🧭 Task guides: RAG and document tools for building AI agents · AI workflow automation tools
💲 Estimate API cost: compare per-request and monthly costs for GPT, Claude, Gemini and Grok models.
Badge for makers
Built Mastra? Add this badge to your README or site. It links back to this page. About badges