AI Agent Index
ByHeather MacAvelia·Independently reviewed·Published Apr 17, 2026·Updated Nov 9, 2026
Independently verified against live vendor data on Nov 1, 2026.

Open-source TypeScript AI agent framework by the team behind Gatsby. v1.0 January 2026, $22M Series A. Used by Replit, Salesforce, SoftBank and Factorial. Framework free, Teams plan $250/mo (USD).

How we scored it

Autonomy

4/5

Integrations

5/5

Pricing clarity

4/5

Evidence

3/5

Setup

5/5

The facts

Mastra is an open-source TypeScript framework for building AI agents, agentic workflows and RAG pipelines. It was co-founded by Sam Bhagwat, Abhi Aiyer and Shane Thomas, the team behind Gatsby, went through Y Combinator's Winter 2025 batch, and raised a $13M seed round in October 2025 and a $22M Series A led by Spark Capital in April 2026, bringing total funding to $35M. The framework reached v1.0 stable in January 2026 and has 29.4k GitHub stars.

The framework provides agents, tools and workflows for deterministic multi-step processes, plus memory, RAG, supervisor patterns for multi-agent orchestration, evals, observability and Mastra Studio for testing and debugging. Its model router gives one API to models from more than 200 providers, with automatic fallbacks. Framework integrations cover Next.js, React, Express, Hono, Astro, SvelteKit and other web frameworks.

Mastra covers both directions of the Model Context Protocol. MCPClient connects a Mastra agent out to external MCP servers, and MCPServer exposes Mastra agents, tools, workflows, prompts, and resources to other MCP-compatible systems. Both are documented in the vendor's own reference documentation and ship in the @mastra/mcp package.

Production users with published case studies include Replit (whose Agent 3 runs thousands of Mastra agent sandboxes a week), Salesforce, Sanity, SoftBank, Factorial, WorkOS, Plaid, Cedar, Counsel Health, and Medusa.

Pricing: the core framework is open source under Apache 2.0 and free for any use. Enterprise features such as RBAC and SSO sit in ee/ directories under a separate source-available license: they can be used for development and testing, and production use needs a commercial license. The Mastra Platform hosts deployed agents with observability. Starter is free at $0/month (100K observability events, 24 CPU hours, 15 days data retention, unlimited users, deployments and projects). Teams is $250/month (1M events, 250 CPU hours, 6 months retention, multiple teams, SSO, SOC 2 documentation). Enterprise is custom pricing (custom volume and retention, RBAC, audit logs, support and uptime SLAs, a dedicated support engineer). Self-hosted deployment is free, with a licensed Enterprise tier for RBAC, SSO, IAM and network policy integration that keeps data in the customer's VPC and is sold for one flat annual fee with no per-trace or per-seat metering. All published rates are USD.

What the entry price does not buy: usage beyond each plan's included allowance is billed on top, at $10 per 100K observability events and $0.35 per CPU hour on Starter, and $8 per 100K events and $0.25 per CPU hour on Teams. Forward-deployed engineering support, with a shared Slack channel, regular sessions with a Mastra engineer and a 4-hour response SLA, is quote-only.

Best fit: TypeScript and JavaScript developers building production AI agents, full-stack web teams adding agentic features to Next.js, React, Express or Hono apps, and platform companies embedding agent infrastructure in their own products.

Mastra is a code framework for TypeScript and JavaScript, so Python-first teams would need to work in TypeScript to use it, and teams that want a no-code agent builder can look at Microsoft Copilot Studio or Botpress. Teams handling regulated data should read the terms first, because Mastra's agreement prohibits submitting protected health information under HIPAA, cardholder data under PCI DSS, and data covered by the Gramm-Leach-Bliley Act unless separately agreed in an order form.

Current state Q4 2026: Mastra holds a SOC 2 Type II report received in October 2025, published on its trust center, and it is the only certification the vendor publishes. Its terms of service, last updated October 26, 2026, carry an explicit no-training clause: Mastra does not use customer inputs or outputs to train or fine-tune any foundation model, except on express opt-in instruction or as aggregated de-identified usage data. The trust center reports a supply chain attack on June 16, 2026, when a compromised maintainer token published malicious versions of Mastra npm packages, and Mastra unpublished 110 of them and deprecated the other 6 that night. On October 21, 2026, Mastra reported that a security breach at its infrastructure provider Railway may have exposed Mastra Platform users' environment variables, said it had no evidence of a breach of its users, and said the open-source framework was not affected. In October 2026 Mastra also announced Mastra Launch, enterprise access with forward-deployed engineering support, and an early-access Mastra Knowledge product. The @mastra/core package recorded about 3.0 million npm downloads in the week of October 23 to 29, 2026. The G2 profile has been claimed by Mastra and carries no reviews yet.

Pricing

freemium · $250/mo

View pricing ↗

Segment

Business

Setup

moderate

Verified

Nov 1, 2026

Transparency

Mostly Public

Contract

Month-to-month

Data training

Not Trained

Human in loop

Optional

Mastra pricing

Mastra pricing starts at $250/mo. A free plan is also available. Plans are month-to-month. Checked against the vendor's own pages on Nov 1, 2026.

Mastra features

Agentic codingWorkflow builderMulti file editingOpen sourceByokAutonomous

Mastra pros and limitations

Editorial assessment

Pros

  • ✓Built for TypeScript and JavaScript, with framework integrations for Next.js, React, Express, Hono and other web frameworks, so web developers can ship production agents without switching to Python.
  • ✓The model router gives one API to models from more than 200 providers, with automatic fallbacks, and Mastra works as both an MCP client and an MCP server.
  • ✓29.4k GitHub stars, $35M raised including a $22M Series A, v1.0 stable since January 2026, and published case studies from Replit, Salesforce, Sanity, SoftBank, Factorial, WorkOS and Plaid.

Limitations

  • –TypeScript and JavaScript only, so Python-first teams would need to work in TypeScript to use it.
  • –Regulated data is contractually out of scope on the standard terms. Mastra holds SOC 2 Type II but publishes no ISO 27001, and its agreement prohibits submitting protected health information under HIPAA, cardholder data under PCI DSS, or Gramm-Leach-Bliley financial data unless separately agreed in an order form.
  • –Enterprise features such as RBAC and SSO need a paid plan or a commercial license. Teams at $250 a month adds SSO and SOC 2 documentation, and Enterprise is quote-only on both the hosted and self-hosted surfaces.

Mastra technical details

Deployment
cloudself-hosted
Model architectureApache 2.0 open source: framework, not a model
Avg setup timeMastra does not publish a setup duration. A new project is created with npm create mastra@latest, and the free framework and the free Starter plan need no sales contact.
Autonomous rateFramework provides agent primitives that autonomously reason about goals, decide which tools to use, and iterate until completion: with optional stopping conditions, human-in-the-loop approval gates for tool calls, and deterministic workflow controls for cases where full autonomy is not appropriate.
Integrations
OpenAIAnthropicGeminiNext.jsReactNode.jsMCPVercel AI SDKLanceDBPostgreSQL
Security
SOC 2 Type IIGDPRCCPA

Alternatives to Mastra

Rating

4.0/ 5
★★★★★

Editorial score

How we score this →

Recognition

MCP Server VerifiedListed 2026
Embed these on your site →

Industries

Ecommerce

Built for

DevToolsOpen SourceSaaS

Leave a review

Used Mastra? Tell other buyers how it worked for you. Takes about two minutes.

Write a review

Agent Stacks

See workflow stacks that feature Mastra.

Compare

Related Content

Is this your product?

AI systems read this listing 58 times in the last 30 days. Last checked Nov 1, 2026. AI assistants repeat what this page says, so keep it current: Featured Listings are re-checked every 14 days.

Get Featured →Claim it free

AI Agent Price & Rating Tracker

Free, every two weeks. Price changes, new agent launches, acquisitions, and rating updates across the AI agent market. Verified against live vendor data, not vendor marketing.

No spam. Unsubscribe anytime. We never share your email. Read past issues