Get a recommendation
Tell us your requirements and our advisors will help you compare and shortlist the best-fit options, free and unbiased.
A real human, fast
Someone on our team replies within one business day, no bots, no ticket queue.
Routed to the right team
Buying, selling, partnering, or investing, you reach the people who can actually help.
Independent & unbiased
No pushy sales. Just honest guidance grounded in the ecosystem.
Tailored to your context
Tell us what you need and we shape the next steps around it.
Who are you? Pick the option that fits best.
Mastra is an open-source framework for building AI agents in TypeScript. The core framework is licensed under Apache 2.0, with enterprise features under a separate Mastra Enterprise License. It lets developers connect language models to tools, workflows and memory.
Developers write agent instructions in TypeScript, attach tools, and deploy the app. Workflows define typed steps, branches and retries for processes that need structure, while agents iterate using tools on their own. Models come through one interface covering more than 90 providers such as OpenAI, Anthropic and Gemini. Human-in-the-loop steps allow approval before actions.
TypeScript and JavaScript developers building agent products use Mastra, including teams on React, Next.js or Node.js. It can also be deployed standalone through Hono, Express or Fastify.
The open-source framework is free under Apache 2.0, with no usage tiers. Enterprise features use a separate license, and Mastra Cloud pricing was not published on the pages reviewed.
Mastra is compared with LangChain and LangGraph, CrewAI and the Vercel AI SDK. LangChain has Python and JavaScript versions, whereas Mastra is TypeScript first with built-in workflows, memory and evals.
Pricing Model
OPEN SOURCE
Starting Price
$0/mo
Free Options
Free version
| Feature | Open source | Enterprise |
|---|---|---|
| Apache 2.0 core framework | , | |
| Agents, workflows, memory, evals | , | |
| 90+ model providers | , | |
| Mastra Enterprise License features | , | |
| Pricing not published | , |
Other
Missing an integration?
API Types
SDK Availability
Verify SDK availability in vendor's documentation.
Developer Features
No reviews yet. Be the first to review Mastra.
Have a question about Mastra? Ask the community.
Compliance Standards
SOC 2 Type II
EnterpriseISO 27001
EnterpriseGDPR Compliant
GlobalHIPAA
HealthcarePCI DSS
FinanceCCPA
PrivacyFedRAMP
GovernmentCSA STAR
CloudDeployment & Data
Data Residency Options
Verify with vendor for your specific region requirements.
Observability, replay and cost tracking for AI agents
Enterprise platform to build, run and govern data, ML and AI agents
Google Cloud platform for building, tuning and deploying AI models