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
3 active roles
Jobs checked 3h ago
Developer ToolsAI InfrastructureOpen Source

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-07-27product
Announcing Mastra Factory

Mastra launched Mastra Factory, a system in which specialized agents take software from an issue through production, including issue triage, code writing, and validation.

2026-07-17
Mastra is now Apache 2.0 licensed!

Mastra announced that its framework is now licensed under Apache 2.0, making it easier for users to use, modify, and contribute to the project.

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.

2026-01-28
Mastra empowers web devs to build AI agents in TypeScript

The New Stack covered Mastra as an open-source agentic AI framework built around TypeScript rather than Python, noting that Replit users have used Mastra when building agents.

2026-01-20product
Announcing Mastra 1.0!

Mastra announced the stable release of Mastra 1.0. The release added full support for AI SDK v6, including LanguageModelV3 models and ToolLoopAgent.

2025-11-06product
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.

2025-10-03product
Mastra Changelog 2025-10-03

Mastra announced a new model router supporting more than 600 models from 45 providers through one API, along with automatic model fallbacks and new streaming capabilities.

2025-09-24
How Replit's Agent 3 builds Mastra agents for you

Mastra highlighted Replit’s use of its technology, reporting that Replit spins up thousands of Mastra agent sandboxes weekly.

Active Roles

3
Remote/Sales Engineer/2d ago
Remote/Engineering/17d ago
Remote/Design/34d 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