Companies

Mastra

mastra.ai

Mastra is an open-source TypeScript framework for building AI-powered applications and agents.

HQSan Francisco, California, United States
Employees1-50
2 active roles
Jobs checked 4d ago
Specialization
Not classified
Business
Agent Tooling
Market
Software Development
Ecosystem
Agents
Customers
Developersand 1 more customers values
  • Enterprises
More details
Organization type
Commercial Company
Ecosystem
Agents
Business
Agent Tooling
Specialization
Not classified
Market
Software Development
Customers
Developers, Enterprises
Delivery models
Open Source, Hosted Software
Revenue models
Subscription, Licensing, Usage Based
Listing status
Not classified
Latest equity round
Series A
Reported funding amount
Not classified

About

Mastra builds an open-source TypeScript framework for developers and organizations creating AI applications and agents. It differentiates through integrated agents, workflows, memory, workspaces, observability, and other AI primitives in a modular developer-focused framework.

Market

Mastra competes in the developer infrastructure market for generative-AI applications and autonomous-agent frameworks. It positions itself as an open-source, TypeScript-native framework that covers agents, workflows, memory, model routing, observability, and MCP while integrating with React, Next.js, and Node.js; this broader production-oriented application stack differentiates it from more narrowly focused AI SDKs and from enterprise automation platforms.

Target Customers

Software developers and product engineering teams—particularly startups and growing companies building AI-powered applications, agents, assistants, and workflows. Mastra is designed to support teams moving from early prototypes to production-ready products across frontend, backend, or standalone deployments.

At a Glance

Problem

Building AI applications that move reliably from prototype to production is difficult. Developers must coordinate models, tools, memory, multi-step workflows, integrations, and monitoring, while managing the operational risk and engineering time associated with brittle, manually supervised systems. The evidence does not provide quantified cost savings, but it points to a clear economic pain: replacing repetitive engineering and operational toil with reusable production infrastructure.

A representative killer use case is a multi-agent workflow that turns unstructured business information into action. Kestral, for example, uses specialized agents to process sales transcripts, convert context into tasks, organize those tasks into projects, and prioritize them against company strategy. Customer-facing assistants, internal copilots, data-analysis agents, and engineering automation are other prominent applications.

Product / Service

Mastra is an open-source TypeScript framework and developer SDK for building AI-powered applications and agents. It bundles agents, workflows, memory, tools, MCP connectivity, and observability so teams can prototype quickly and ship with greater confidence. Developers can integrate it with React, Next.js, and Node or deploy it as a standalone server, while using different foundation models for different tasks.

The delivery model is primarily developer infrastructure rather than a packaged end-user application: teams use Mastra to compose specialized agents and workflows inside their own products. Its benefit is an integrated path from experimentation to production, with less bespoke orchestration and better visibility into how AI systems run. The Kestral example illustrates the model in practice, combining multiple agents with React, TypeScript, PostgreSQL, and model providers from Anthropic, OpenAI, and Gemini.

Market

Mastra competes in the open-source AI application and AI-agent framework market, particularly against developer platforms such as LangChain.js and the Vercel AI SDK. Broader alternative listings also place it alongside products such as Botpress, Cognigy.AI, AgentKit, UiPath, and other enterprise automation platforms, although those products span adjacent categories and are not all direct substitutes.

The available evidence indicates meaningful adoption rather than a clearly pre-revenue company: Mastra’s materials identify use by companies including Replit, Fireworks, Medusa, Vetnio, Factorial, Counsel Health, Cedar, Index, PLAID Japan, Sanity, and StarSling, and describe additional customer case studies. However, the evidence does not disclose revenue, pricing, customer counts, or quantified usage, so its commercial scale and revenue status cannot be determined from the available material.

Founders & Leadership

Sam BhagwatFounder
Founder & CEO
Abhi AiyerFounder
Founder & CTO
Shane ThomasFounder
Co-founder & Chief Product Officer

Funding History

2025-01
Seed$520K

Y Combinator

2025-10
Seed$13M

Y Combinator

2026-04
Series A$22M

Spark Capital

Recent News

2026-10-08partnership
Mastra launches Agency Program with five agency partners

Mastra launched an agency program for certified agencies and consultancies that build Mastra agents for clients. Its five launch partners are Deerfield Group, Blue Drop Labs, Frontleap, Handpicked, and Young Security.

2026-09-06partnership
Mastra proposes ending partnership with Cursor

Mastra said it was ending its partnership with Cursor following Cursor's acquisition by SpaceX. Mastra stated that, under its proposal, Cursor's direct access to Mastra's models would end on November 12.

2026-09-03product_launch
Mastra launches Sandbox Lifecycle Controls

Mastra introduced Sandbox Lifecycle Controls, adding APIs to create, mount, snapshot, pause, restart, and destroy sandboxes. The controls also support lifecycle hooks and inspection or termination of specific sandbox processes.

2026-09-02product_launch
Mastra launches Sandbox Computer Use for agents

Mastra launched Sandbox Computer Use for its agents, enabling them to control a Linux desktop, browse the web, fill out forms, download files, take screenshots, and run terminal programs. The launch initially supports E2B Desktop and Daytona and provides 11 computer tools.

2026-09-01product_launch
Mastra launches Harness Channels

Mastra introduced Harness Channels, allowing a multi-player harness to be operated through Slack, iMessage, WhatsApp, Discord, and other chat interfaces. The feature enables multiple users to prompt a single Mastra session through configured chat adapters.

2026-08-28product_launch
Mastra launches Token Limiting for Agents

Mastra announced Token Limiting for Mastra Agents on August 28, 2026. TokenLimiterProcessor enforces limits on input and generated-response token usage, providing real-time caps on context-window and response lengths.

2026-08-27product_launch
Mastra launches Token Cost Control for Agents

Mastra announced Token Cost Control for Mastra Agents on August 27, 2026. TokenCostControl reads cumulative costs from observability data and enables real-time spending caps configurable by thread, user, session, organization, and other scopes.

2026-08-26product_launch
Mastra launches Helm Chart for self-hosted deployments

Mastra announced its Helm Chart for Self-Hosted Deployments on August 26, 2026. The chart deploys the same topology used by the Mastra platform to run customer projects at scale.

2026-08-25product_launch
Mastra launches Skill Search for Agents

Mastra announced Skill Search for Mastra Agents on August 25, 2026. The SkillSearchProcessor loads agent skills on demand, reducing context bloat, token usage, and cost.

2026-08-25product_launch
Mastra launches Tool Search for Agents

Mastra announced Tool Search for Mastra Agents on August 25, 2026. The ToolSearchProcessor loads only the tools an agent needs, improving tool selection while reducing token usage and cost.

2026-08-24product_launch
Mastra launches Multi-turn Evals for Agents

Mastra announced Multi-turn Evals for Mastra Agents on August 24, 2026. The feature evaluates multi-turn conversations using deterministic gates and LLM-as-judge scorers.

2026-08-13product_launch
Mastra launches five built-in tools for agents

Mastra announced five built-in tools for common agent tasks: durable task lists, web search, URL fetching, asking users questions, and submitting plans for approval. The tools are included in @mastra/core and integrate with Mastra Studio for interactive testing and management.

2026-08-12product_launch
Mastra launches Dynamic Workflows

Mastra announced Dynamic Workflows, which allow users, external systems, or agents to add, update, and remove workflows on a running Mastra server without changing or redeploying code. Workflow definitions are persisted as JSON and can be managed through HTTP routes or the Mastra Client SDK.

2026-08-11product_launch
Mastra launches iMessage support for agents

Mastra announced iMessage support for its agents through the Photon chat adapter. Agents can send and receive direct or group messages on iPhone, iPad, and Mac, extending Mastra’s existing channel integrations.

2026-08-10product_launch
Mastra launches Sensitive Data Redaction for Observability

Mastra announced SensitiveDataFilter for its observability system. The feature automatically redacts sensitive customer information from agent traces, includes 15 default sensitive fields, and supports custom fields, redaction styles, and environment-specific rules.

2026-05-04partnership
OpenBox AI and Mastra announce runtime-governance partnership

OpenBox AI and Mastra announced a partnership to bring runtime governance to TypeScript agents. The integration was announced as generally available for Mastra users.

2025-11-06product_launch
Announcing Mastra v1 beta

Mastra announced that v1 had entered beta, describing it as a production-ready release of its TypeScript framework for AI agents.

2025-10-30partnership
Integrate MongoDB with Mastra

MongoDB published integration documentation explaining how to integrate MongoDB with Mastra to build AI agents.

2025-10-08funding
Announcing our $13m seed round from YC, pg, Gradient, ...

Mastra announced a $13 million seed round backed by more than 100 Silicon Valley investors to support development of its TypeScript agent framework and AI-agent production capabilities.

Active Roles

2
Remote - Remote/Engineering/12d ago
Remote - Remote/Engineering/47d ago

Business Model

Mastra uses an open-core and tiered pricing model: its framework is free to start, while paid plans include a Teams tier priced at $250 per month with usage-based charges and an Enterprise tier. Enterprise features are offered under the Mastra Enterprise License.

Products

Open-source Mastra TypeScript frameworkAI agents and tool orchestrationGraph-based workflowsModel routing across 40+ providersMemory, conversation history, RAG, and observational memoryHuman-in-the-loop execution and persistent storageObservability and workspacesMCP server development and integrations

Customers

SoftbankAdobePayPalReplitMarch McLennan

Tech Stack

TypeScriptLarge language models (LLMs)40+ model-provider integrations, including OpenAI, Anthropic, and GeminiReactNext.jsNode.jsModel Context Protocol (MCP)

Competitors

LangChain.js
Vercel AI SDK
Botpress
Cognigy.AI
Kore.ai
Google Gemini Enterprise Agent Platform