Skip to main content
πŸ“– The AI Tool Bible
Mastra preview image
Mastra logo

Mastra

βœ“ Text source-checked Oct 27, 2026

Open-source TypeScript framework for building AI-powered applications and agents.

Source-checked against the vendor's site Β· rebuilt from the vendor's own pagesProfile updated Link checked Pricing captured How we rate

FreemiumΒ· Free tier Β· from $25/moAgentsMulti-model (90+ providers) (not source-checked)8.1 / 10

In short

Mastra is an open-source TypeScript framework for building AI agents and workflows. It supports 90+ model providers and integrates with React, Next.js, and Node.

Mastra is an open-source TypeScript framework for building AI-powered applications and agents. Mastra provides agents, workflows, memory, workspaces, and observability to help developers move from idea to implementation. Mastra integrates with frontend and backend frameworks such as React, Next.js, and Node, or can be deployed as a standalone server.

Mastra's model routing connects to over 90 providers through a single standard interface. Mastra supports models from OpenAI, Anthropic, Gemini, and other providers, allowing developers to use different AI providers through a single API. Mastra's graph-based workflow engine orchestrates complex multi-step processes with explicit control over execution. Mastra's memory system provides conversation history, data retrieval from APIs, databases, and files, along with working and semantic memory to help agents behave coherently.

Mastra includes built-in scorers and observability tools to observe, measure, and refine agent performance continuously. Mastra supports authoring Model Context Protocol (MCP) servers, exposing agents, tools, and other structured resources via the MCP interface.

Mastra applications can be deployed to any Node.js-compatible environment. Mastra includes optional built-in deployers for Vercel, Netlify, and Cloudflare to automate the deployment process.

Mastra's core framework is open source under the Apache 2.0 license. Enterprise features are source-available under the Mastra Enterprise License.

From the vendor's pages

According to Mastra: Mastra is an open-source TypeScript framework for building AI-powered applications and agents. Its pages list this strength: Open-source TypeScript framework.

β€” The AI Tool Bible editorial team

Pros

  • βœ… Open-source TypeScript framework
  • βœ… The vendor says that model routing across 90+ providers
  • βœ… Built-in scorers and observability tools
  • βœ… Support for authoring MCP servers
  • βœ… Integration with React, Next.js, and Node

Pricing (captured )

TierMonthlyKey features
Free$0 / month
  • Unlimited agents
  • Unlimited users
  • Unlimited deployments
  • 100K observability events
Starter$25 / month
  • 1 small dedicated project
  • Usage alerts
  • 250K observability events
  • 10 GB egress
Team$250 / month
  • 2 medium dedicated projects
  • SOC 2 report
  • 10M observability events
  • 100 GB egress
EnterpriseCustom
  • RBAC
  • SSO
  • Audit logs
  • Custom allowances

Prices change; we show the grid as captured on Nov 19, 2026. Check current pricing on the vendor's site β†’

Facts

Platforms
api (not source-checked)
API available
Yes (not source-checked)
Free trial
Yes (not source-checked)
Open source
Yes
Model used
Multi-model (90+ providers) (not source-checked)
Vendor pages
Changelog
Docs pages indexed
164 pages we found in the docs (not source-checked)
Hacker News
22 stories Β· top 213 points Β· last Sep 8, 2026 Β· checked Nov 15, 2026
Earliest Wayback capture
2024-11-05 (earliest archived capture of the site, not a launch date)

Where this tool sits

Use cases

Conversational agentsDomain-specific copilotsWorkflow automationsDecision-support toolsMCP server authoring

Recent updates from Mastra

Frequently asked

How much does Mastra cost?
Mastra uses a freemium model. The Starter plan is free ($0/month), while the Teams plan costs $250/month. The core framework is open-source under the Apache 2.0 license, with enterprise features available under a separate license.
Which AI models does Mastra support?
Mastra connects to over 90 providers through a single standard interface. It supports models from OpenAI, Anthropic, Gemini, and other providers, allowing developers to switch between different AI providers using one API.
Can I use Mastra with React or Next.js?
Yes, Mastra integrates with frontend and backend frameworks such as React, Next.js, and Node. It can also be deployed as a standalone server in any Node.js-compatible environment.
What deployment options are available for Mastra?
Mastra applications can be deployed to any Node.js-compatible environment. It includes optional built-in deployers for Vercel, Netlify, and Cloudflare to automate the deployment process.
Does Mastra support workflow automation and memory?
Yes, Mastra features a graph-based workflow engine for orchestrating complex multi-step processes. Its memory system provides conversation history, data retrieval, and working/semantic memory to help agents behave coherently.
Is Mastra open source?
The core framework is open source under the Apache 2.0 license. Enterprise features are source-available under the Mastra Enterprise License.

Compare Mastra with similar tools

All alternatives β†’

Explore related

Reviews