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-11-30.
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 · 29,209 stars (as of Oct 30, 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 Microsoft Agent Framework, VoltAgent, Embabel, eve, xmcp 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 →
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.
Embabel
Agent framework for the JVM from the creator of Spring.
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.
xmcp
xmcp is an open-source (MIT) TypeScript framework from basement.studio for building and shipping MCP servers, with file-based tools, prompts and resources and deploy-ready adapters.
Workflow SDK
Vercel's TypeScript SDK for building durable, reliable and observable apps and AI agents.