AI Agent Index
ByHeather MacAvelia·Independently reviewed·Published Apr 17, 2026·Updated Aug 31, 2026
Independently verified against live vendor data on Aug 16, 2026.

Open-source TypeScript AI agent framework by the Gatsby team. v1.0 January 2026. YC W25, $13M seed. Used by Replit, Salesforce, SoftBank and Factorial. Framework free, Mastra Cloud from $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 production-ready AI agents, agentic workflows, and RAG pipelines. Created by the team behind Gatsby (Sam Bhagwat CEO, Abhi Aiyer CTO, Shane Thomas CPO), it graduated from Y Combinator's Winter 2025 batch and announced a $13M seed round. The framework reached v1.0 in January 2026 and has 27.6k GitHub stars. Mastra fills a gap in the agent ecosystem: LangChain, CrewAI, and AutoGen began in Python with later JavaScript ports, while Mastra was designed from the ground up for TypeScript. The framework provides core primitives for agent development. Agents are autonomous LLM-driven decision makers. Tools provide typed external integrations via Zod schemas. Workflows enable deterministic multi-step pipelines. Additional built-in capabilities include memory systems, RAG with vector database management, supervisor patterns for multi-agent orchestration, evals, observability, and Mastra Studio (a visual IDE for testing and debugging). The model router connects to models from 40+ providers (OpenAI, Anthropic, Google Gemini, DeepSeek, Groq, Mistral, xAI Grok, Amazon Bedrock, Azure OpenAI, Ollama, OpenRouter, Vercel, Hugging Face, Cohere, Cerebras, and more) through one standard interface with automatic fallbacks and IDE autocomplete. 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 (Mastra powers Replit Agent's agent builder), 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 (RBAC, SSO, ACL) reside in the ee/ directory and require a commercial license for production use but are freely usable for development and testing. Mastra Cloud is a hosted platform with GitHub-connected deployments, autoscaling, instant rollbacks, and centralized observability. Starter is free at $0/month (100K observability events, 24 CPU hours, 15 days data retention). Teams is $250/month (1M events, 250 CPU hours, 6 months retention, multiple teams, SSO, SOC 2 documentation). Enterprise is custom pricing on a sales call (custom volume and retention, RBAC, audit logs, support and uptime SLAs, dedicated support engineer). Self-hosted deployment is available at no cost, with a separately licensed Enterprise tier for RBAC, SSO, IAM and network policy integration. 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. There is no annual billing option published on either surface. Best fit: TypeScript and JavaScript developers building production AI agents without learning Python, full-stack web teams adding agentic features to Next.js, React, Express, or Hono apps, and platform companies (like Replit) embedding agent infrastructure into their own products. Who Mastra is not for: Python-only shops or teams committed to LangChain and CrewAI Python workflows cannot use Mastra without rewriting in TypeScript. Teams needing turn-key no-code agent builders should consider Botpress, Voiceflow, or Microsoft Copilot Studio instead. 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 Q3 2026: Mastra holds a SOC 2 Type II report received in October 2025, published on its trust center at trust.mastra.ai, and it is the only certification the vendor publishes. Its terms of service 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 @mastra/core package recorded 1.2 million npm downloads in the week of 9 August 2026. The G2 profile is live but unclaimed and carries no reviews.

Pricing

freemium · $250/mo

View pricing ↗

Segment

b2b

Setup

moderate

Verified

Aug 16, 2026

Transparency

Mostly Public

Contract

Month-to-month

Data training

Not Trained

Human in loop

Optional

Capabilities

agentic-codingworkflow-buildermulti-file-editingopen-sourcebyokautonomous

Pros & Limitations

Editorial assessment

Pros

  • TypeScript-native framework rather than a Python-first port. Designed from scratch for the TS/JS ecosystem with full IDE autocomplete, Zod schema validation, and deep integration with Next.js, React, Express, and Hono. Meaningful advantage for web developers who do not want to learn Python to ship production agents.
  • Model router connects to 40+ providers (OpenAI, Anthropic, Google, DeepSeek, Groq, Mistral, xAI, Bedrock, Azure, Ollama, OpenRouter, Vercel) through one standard interface with automatic fallbacks. Broader provider coverage than LangChain's JS port and dramatically simpler than wiring providers manually.
  • Strong adoption signals demonstrate production readiness. 27.6k GitHub stars, $13M YC seed funding, v1.0 in January 2026, and published case studies with Replit, Salesforce, Sanity, SoftBank, Factorial, WorkOS and Plaid confirm it is meaningfully more battle-tested than newer agent frameworks.

Limitations

  • TypeScript-only by design with no Python support. The team views this as a feature, but Python-first teams committed to LangChain, CrewAI, or AutoGen workflows cannot use Mastra without rewriting in TypeScript. Not appropriate for data science or ML teams already standardized on the Python ecosystem.
  • 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 (RBAC, SSO, ACL) require paid Mastra Cloud or a commercial license. The Teams plan at $250/month adds SSO and SOC 2 documentation, and the Enterprise tier is quote-only on both the hosted and self-hosted surfaces. Only monthly rates are published, with no annual option.

Technical Details

Deployment
cloudself-hosted
Model architectureApache 2.0 open source: framework, not a model
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

Similar agents

Rating

4.0/ 5

Editorial score

How we score this →

Recognition

MCP Server VerifiedListed 2026
Embed these on your site →

Industries

DevToolsOpen SourceSaaSeCommerce

Leave a review

Never displayed publicly.

Agent Stacks

See workflow stacks that feature Mastra.

Compare

Related Content

Is this your tool?

Claim this listing free to get your embeddable badges, a review collection link, and the Verified checkmark.

Claim listing →

Free · Every Two Weeks

AI Agent Price & Rating Tracker

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.