AI Agent Index
ByHeather MacAvelia·Independently reviewed·Last verified Jun 29, 2026

Open-source TypeScript AI agent framework by the Gatsby team. v1.0 January 2026. YC W25, $13M funded, 25,500+ GitHub stars. Used by Replit, SoftBank, Factorial. Framework free; Cloud from $250/mo.

How we scored it

Autonomy

4/5

Integrations

5/5

Pricing clarity

5/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 with $13M in funding. The framework reached v1.0 in January 2026 and has 26.1k GitHub stars and 300k+ weekly npm downloads as of Q3 2026. 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, MCP server support, 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. Production users include Replit (Mastra powers Replit Agent's agent builder), Factorial, Counsel Health, Cedar, and SoftBank. 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 docs). Enterprise is custom pricing (custom volume and retention, RBAC, audit logs, support and uptime SLAs, dedicated support engineer). Self-hosted deployment is available at no cost. 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. Enterprise compliance documentation (SOC 2, ISO 27001) is available on the Teams and Enterprise Mastra Cloud tiers, not the free tier.

Pricing

freemium · $250/mo

View pricing ↗

Segment

b2b

Setup

moderate

Verified

Jun 29, 2026

Transparency

Public

Contract

Month-to-month

Data training

Not Disclosed

Autonomy

Human 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. 26.1k GitHub stars, 300k+ weekly npm downloads, $13M YC funding, v1.0 January 2026, and production use by Replit Agent, Factorial, Counsel Health, Cedar, and SoftBank 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.
  • Enterprise features (RBAC, SSO, ACL) require paid Mastra Cloud or commercial license. The Teams plan at $250/month adds SSO and SOC 2 documentation. Production deployment with enterprise auth requires either Mastra Cloud Teams or a sales-led enterprise license rather than the free Apache 2.0 tier.
  • Framework rather than turn-key product: Mastra provides primitives that developers compose with code. Teams without TypeScript engineering capacity should consider hosted no-code agent builders like Botpress, Voiceflow, or Microsoft Copilot Studio rather than investing in framework adoption.

Technical Details

Deployment
cloudself-hosted
Model architectureApache 2.0 open source: framework, not a model
Avg setup timeUnder 5 minutes to first running agent via npm create mastra@latest: includes scaffolded project structure, starter agent, model router, and Mastra Studio dev server; minutes to hours depending on integration depth with existing TypeScript codebase
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.
MCP compatibleYes
Integrations
OpenAIAnthropicGeminiNext.jsReactNode.jsMCPVercel AI SDKLanceDBPostgreSQL

Similar agents

Rating

4.1/ 5

Editorial score

How we score this →

Recognition

Transparent PricingListed 2026
Embed these on your site →

Industries

DevToolsOpen Source

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 344+ AI agents. Verified against live vendor data, not vendor marketing.

No spam. Unsubscribe anytime. We never share your email.