Developer docs
API playgroundTry for free, no card

Search company profiles

Mastra

Full company profile

uuid0000lpq

Namestring
Mastra
Websiteurl
mastra.ai
Company typeenum
Private
Founded yearint
2024
Descriptiontext

Mastra is a privately held developer infrastructure company founded in 2024 in San Francisco that provides a TypeScript-native open-source framework for building AI-powered applications and agents. The core framework is distributed under an Apache 2.0 license and runs on Node.js with support for Bun, Deno, and Cloudflare Workers. The platform bundles five integrated modules: a Framework for defining typed agents, workflows, and tools; Observability for metrics, logs, traces, anomaly detection, and LLM-as-Judge scoring; Studio for collaborative testing, visual editing, and dataset management; Server for one-command cloud deployment exposing agents as REST endpoints; and Memory Gateway, which routes 300+ models from 90+ providers and adds Observational Memory technology scoring 94.87% on the LongMemEval benchmark with 5-40x conversation compression. The proprietary memory architecture enables 4-10x reductions in token costs via prompt caching and underpins enterprise-grade durability, permission systems, and human-in-the-loop workflows.

The company monetizes a three-tier platform subscription layered on top of the free open-source core: a free Starter tier (100K observability events, 24 CPU hours, 15-day retention), a $250/month Teams tier (1M events, 250 CPU hours, 6-month retention, SSO, SOC 2 docs), and custom Enterprise pricing (RBAC, audit logs, VPC deployment, dedicated support engineer, SLAs). Additional monetization includes usage-based overages on observability events ($8-10 per 100K), CPU time ($0.25-0.35/hr), data egress, memory tokens, and retrieval storage, plus managed LibSQL and Postgres database offerings and an annual Enterprise License for source-available self-hosted deployments. Go-to-market combines product-led growth via npm (1.8 million monthly downloads) with enterprise field sales targeting Fortune 500 design partners including Replit, Sanity, SoftBank, WorkOS, Factorial, Brex, MongoDB, Workday, Salesforce, Fireworks AI, Marsh, and Elastic.

The company was founded by Sam Bhagwat (CEO), Abhi Aiyer (CTO), and Shane Thomas (CPO), who previously built and sold the Gatsby framework to Netlify. Mastra has raised approximately $35 million to date across a $13M seed/early round in March 2025 led by Y Combinator and a $22M Series A in April 2026 led by Spark Capital. In June 2026, the company's npm ecosystem was targeted in a supply chain attack by North Korean state-sponsored hackers (Sapphire Sleet group) compromising 140+ packages, prompting incremental security investment including the May 2026 OpenBox AI runtime-governance partnership. Operations span the United States, Japan, and Spain with the platform positioned as connective tissue in the emerging MCP/A2A agent protocol stack.

Short descriptiontext

Mastra is a San Francisco-based developer infrastructure company founded in 2024 that provides an open-source Apache 2.0 TypeScript framework plus a cloud platform for building, observing, and deploying AI agents, serving enterprise customers including Replit, Sanity, SoftBank, MongoDB, and Salesforce.

Operating statusenum
Operating
Ownership categoryenum
Headcount rangeband
1–10
akta.pro rankint
HeadquartersSan Francisco, United States
HQ citystring
San Francisco
HQ countrystring
United States
HQ regionstring
North America
Markets served

Serves global market

Keyword5 values
AI agent framework, TypeScript development platform, agentic workflow automation, AI observability platform, open source AI tools
Industry2 codes
PRIMARYHDABAAAD
Managed Application Platforms (App PaaS & Runtime Services)
SECONDARYHDAEAKAA
Low-Code/No-Code Application Platforms
Hardware, Technology & Telecom/Enterprise Platforms & Databases/Enterprise Application Development Platforms (Low-Code/No-Code & PaaS)
NAICS code2 codes
  • Computer Systems Design and Related Services54151
  • Computing Infrastructure Providers, Data Processing, Web Hosting, and Related Services5182
SIC code1 code
  • Services-Computer Programming Services7371
Product category
AI Agent Development Platform
Social media profiles3 records
GTM motion3 records

Each record includes

Type, Description, Source

Revenue model5 records
1Platform Subscription Tiers
TypeSubscription Recurring
Description

Three-tier subscription model: Starter (free) for observability events (100K), CPU hours (24), 15-day data retention; Teams ($250/month) for 1M observability events, 250 CPU hours, 6-month retention, multiple teams, SSO, SOC 2 docs; Enterprise (custom) for volume/retention, RBAC, audit logs, SLAs, dedicated support engineer.

mastra.ai
2Compute and Storage Usage
TypeUsage Based
Description

Overage charges for observability events beyond tier limits ($8-10 per 100K), CPU time ($0.25-0.35/hr), data egress ($0.10/GB), memory token usage ($10/1M tokens after tier limits), retrieval storage ($20/GB after tier limits).

mastra.ai
3Open Source Core (Freemium)
TypeFreemium
Description

Core framework is Apache 2.0 licensed and free. Enterprise features are source-available under Mastra Enterprise License. Platform provides monetization layer on top of free open source.

mastra.ai
4Enterprise License
TypeSubscription Recurring
Description

Self-hosted enterprise features including RBAC, SSO, IAM, network policy integration, VPC deployment, and flat annual fee without per-trace or per-seat metering.

mastra.ai
5Managed Databases
TypeManaged Services
Description

LibSQL and Postgres managed database offerings with row limits, compute hours, and storage billing. LibSQL: 1M rows/month free, then $2-2.50/1M reads. Postgres: 5 hours compute free, then $0.40-0.50/hr.

mastra.ai
Marketing channels10 records

Each record includes

Title, Type, Stage, Description, Source

Distribution channels5 records

Each record includes

Title, Type, Scope, Target buyer, Description, Source

Cost components5 values
Personnel, Technology or R&D, Infrastructure, Marketing or Sales, Operations
Pricing details4 tiers
1Free tier with observability, CPU hours, and 15-day data retention
ModelSubscriptionBilling cadenceMonthly
Notes

100K observability events (then $10/100K), 24 CPU hours (then $0.35/hr), 15-day data retention, unlimited users/deployments/projects

mastra.ai
2$250/month for growing teams with enhanced limits and collaboration features
ModelSubscriptionBilling cadenceMonthly
Notes

1M observability events (then $8/100K), 250 CPU hours (then $0.25/hr), 6-month data retention, multiple teams, SSO, SOC 2 docs

mastra.ai
3Custom enterprise pricing with volume discounts and dedicated support
ModelSubscriptionBilling cadenceMulti-year contract
Notes

Custom volume and retention, RBAC, audit logs, uptime SLAs, support SLAs, dedicated support engineer, on-prem platform deployments available

mastra.ai
4Free open source framework under Apache 2.0 license
ModelFreemiumBilling cadenceMonthly
Notes

Includes Agents, Workflows, Observational Memory primitives. Enterprise controls (RBAC, SSO, IAM, VPC) available under Mastra Enterprise License with custom pricing.

mastra.ai
GTM typeB2B
B2B
Offering typeSoftware
Software
Core offering1 text field

Mastra provides a TypeScript-native open-source framework and cloud platform for building, deploying, and observing AI agents and applications. The core offering bundles agents, workflows, memory, tools, and observability primitives into a single unified system with built-in support for 300+ AI models, MCP servers, and deployment to Vercel, Netlify, and Cloudflare. A managed cloud platform adds observability, compute, storage, RBAC, SSO, and enterprise governance on top of the free Apache 2.0 framework.

Differentiator
Functional benefit
Problem solved
Quantifiable outcome1 of 8 values shown
  • 94.87% on LongMemEval benchmark, outperforming RAG implementations
+7 more records
Product overview1 text field

Mastra is an AI agent platform comprising an open-source TypeScript framework (Apache 2.0 licensed) plus a cloud platform with five modules: Framework for building agents with memory, tools, and workflows; Observability for metrics, logs, and traces; Studio for collaborative testing and evaluation; Server for deployment; and Memory Gateway for unified model routing with 5-40x memory compression. The ecosystem includes starter Templates, an MCP Course, educational books (Principles and Patterns), Workshops, and the Agents Hour podcast. Notable customer-built products include Replit Agent 3, Sanity Content Agent, SoftBank's Satto Workspace, and Factorial One.

Product and service7 records
1Mastra Framework
CategoryCore product
Description

Open-source TypeScript framework for building AI-powered applications and agents with built-in primitives for agents, memory, tools, workflows, and observability. Distributed under Apache 2.0 license for free use.

2Mastra Observability
CategoryPlatform module
Description

AI observability platform delivering metrics dashboards, structured logs, and step-by-step traces for production agent runs with anomaly detection, cross-step correlation, and LLM-as-Judge quality scoring.

3Mastra Studio
CategoryPlatform module
Description

Collaborative workspace for testing agents, tracing execution, refining prompts, scoring outputs, and managing datasets and experiments without source code access.

4Mastra Server
CategoryPlatform module
Description

Cloud deployment platform for agents and workflows via a single deploy command, exposing agents as REST API endpoints with automatic routing, scaling, authentication via JWT/Clerk/Supabase/Firebase/Auth0/WorkOS, and stream data redaction.

5Memory Gateway
CategoryPlatform module
Description

AI gateway providing observational memory and unified model routing across 300+ models with transparent pricing and automatic failover.

6Mastra Templates
CategoryProduct feature
Description

Pre-built project templates (Deep Search, Browser Agent, Chat with Database, Chat with PDF, Slack Agent, GitHub PR Code Review, Docs Expert, Company Knowledge Agent, Autonomous Personal Assistant) for AI agent builders.

7Mastra 101 Course
Scale indicator23 records

Each record includes

Type, Value, Description, Source

Partnership13 partners
Strategic tierFlagshipTypeStrategic or Co-development PartnerAnnounced on2026-05-04
Description

Partnership to make runtime governance a default feature for all Mastra TypeScript agents. Integration enables scoring, cryptographic attestation, and auditable logs via single function call. Addresses EU AI Act requirements (enforceable August 2, 2026) with 97% of enterprises expecting material AI-agent security incidents within 12 months. Generally available May 4, 2026. OpenBox AI announced $5M seed round alongside this partnership.

Strategic tierCoreTypeTechnology or Integration
Description

Inngest provides additional persistence layer for Mastra workflows, enabling durable execution. Used by Replit to boost workflow completion rates from 80% to 96%, ensuring workflows complete even if servers fail mid-execution.

Strategic tierCoreTypeTechnology or Integration
Description

Mastra includes built-in deployer for Vercel, one-click deployment option for Next.js and React projects using Mastra framework.

Strategic tierCoreTypeTechnology or Integration
Description

Mastra includes built-in deployer for Netlify, enabling straightforward deployment of Mastra projects.

Strategic tierCoreTypeTechnology or Integration
Description

Mastra supports deployment to Cloudflare Workers and includes Cloudflare Durable Objects storage adapter. Integrates with Cloudflare's edge computing platform.

Strategic tierCoreTypeTechnology or Integration
Description

Used by Replit Agent 3 for self-testing code, enabling 90% autonomy success rate. Playwright automation within Mastra agents enables self-healing code generation loops.

Strategic tierCoreTypeChannel Partner/ Reseller/ Distributor
Description

Mastra MCP server integrates with Cursor IDE. MCP Course supports Cursor, Windsurf, and VSCode. CLI Actions enable Cursor to test drive Mastra projects.

Strategic tierCoreTypeChannel Partner/ Reseller/ Distributor
Description

Mastra MCP Course supports Windsurf IDE alongside Cursor and VSCode, enabling AI-assisted Mastra development within the IDE.

9VSCode
Strategic tierCoreTypeChannel Partner/ Reseller/ Distributor
Description

Mastra MCP Course supports VSCode alongside Cursor and Windsurf. MCP server installation available for VSCode environments.

mastra.ai
Strategic tierCoreTypeTechnology or Integration
Description

CopilotKit's framework for building agentic applications with generative UIs integrates with Mastra. Factorial uses CopilotKit's useCoAgent for shared state between frontend and agent.

Strategic tierCoreTypeTechnology or Integration
Description

Sanity uses Temporal for background task orchestration, computing schema graphs cached in Redis, and bulk operations on large datasets (some customers have 10M+ documents).

Strategic tierCoreTypeTechnology or Integration
Description

Factorial uses Braintrust for AI tracing and built extensive evals for their One agent's performance monitoring.

13Cargo
Strategic tierCoreTypeTechnology or Integration
Description

WorkOS uses Cargo (enrichment provider) exposed as MCP server, connected to Mastra agents for lead enrichment and filtering.

mastra.ai
Recent move6 records

Each record includes

Date, Type, Title, Description, Source

Expansion highlight6 records

Each record includes

Type, Description

Peers10 records
TypeDirect peer
Description

Direct competitor offering a Python/JavaScript framework for building LLM-powered agents and applications. LangChain and Mastra both target AI developers with composable primitives, observability via LangSmith, and model-agnostic orchestration.

TypeDirect peer
Description

Multi-agent orchestration framework focused on role-based agent collaboration. Competes with Mastra on multi-agent supervisor patterns and workflow automation for enterprise AI agent deployment.

TypeDirect peer
Description

Microsoft's open-source framework for multi-agent conversation and orchestration. Competes with Mastra's graph-based workflow engine and multi-agent supervisor patterns, with strong integration into Azure AI services.

TypeDirect peer
Description

Framework for building LLM applications over proprietary data with RAG focus. Competes with Mastra's knowledge retrieval and RAG capabilities, including vector database support and document workflows.

5Semantic Kernel (Microsoft)
TypeDirect peer
Description

Microsoft's SDK for integrating LLMs into .NET and Python applications with planning and memory capabilities. Competes with Mastra on agent orchestration, memory primitives, and enterprise integration patterns.

TypeEmerging player
Description

Stanford-spawned framework for programmatic LLM pipeline optimization. Competes with Mastra's agent optimization and prompt engineering capabilities, particularly around systematic eval and tuning workflows.

TypeEmerging player
Description

Developer platform for LLM application development with prompt engineering, evaluation, and observability tools. Overlaps with Mastra Studio's visual editing, eval workflows, and observability module.

TypeBroad incumbent
Description

AWS-managed agent runtime offering integrated agent orchestration with foundation models. Competes as a broader incumbent platform where Mastra Cloud could be deployed, offering enterprises a tightly coupled alternative to Mastra's framework-agnostic approach.

TypeBroad incumbent
Description

Google's enterprise agent development platform with built-in orchestration and grounding. Competes with Mastra's full-stack agent framework, leveraging Google Cloud distribution and foundation model integration.

10Haystack (deepset)
TypeDirect peer
Description

Open-source Python framework for production-ready LLM applications with pipelines, agents, and retrieval components. Competes with Mastra as a developer framework for building production agent systems, though focused on Python rather than TypeScript.

Market position
Strengths5 records

Each record includes

Headline, Details, Source

Weaknesses5 records

Each record includes

Headline, Details, Source

Competitive moat5 records

Each record includes

Type, Details

Key risks5 records

Each record includes

Headline, Details, Source

Key highlights7 records

Each record includes

Headline, Details, Source

Customer concentration

Classification, Details

Named customers15 records

Each record includes

Name, Industry, Type, Use case, Source, UUID

Segment5 records

Each record includes

Title, Type, Primary, Description, Pain point addressed, Use case, Source

Ideal customer profile3 records

Each record includes

Profile, Firmographic size, Sales motion, Sales cycle length, Buying structure, Purchase trigger, Buyer persona, Geography, Industry vertical, Primary use case, Description, Pain points, Evidence proof points, Target buyer

Technology focused
Yes
API detail
Has APIbool
Yes

Docs URL, Description

Integration24 records

Each record includes

Title, Type, Description, Source

AI capability15 records

Each record includes

Type, Description, Source

AI maturity
App detail

Has app

Feature9 records

Each record includes

Title, Differentiator, Description, Source

Core technology
Revenue estimate
Valuation estimate
Number of profiles
Profiles5 records

Each record includes

Name, Designation, Designation category, Overview, Profile commentary, Source

No data
Compliance1 record

Each record includes

Name, Class, Description

Funding overview

Funding stage, Last funding date, Total funding USD

Funding rounds3 records

Each record includes

Round, Amount USD, Date, Pre money valuation, Total investors, Investors, News

Investors24 records

Each record includes

Name, Type, Date of entry, Rounds participated, Website

Funding detail is available on the Subscription and Enterprise plan.Contact sales →

M&A

Each record includes

Name, Acquisition type, Announced date, Completed date, Status, Website, News

Investment

Each record includes

Name, Round, Announced date, Lead investor, Website, News

M&A and investment is available on the Subscription and Enterprise plan.Contact sales →

Mastra

AI Agent Development Platformmastra.ai

Mastra is a San Francisco-based developer infrastructure company founded in 2024 that provides an open-source Apache 2.0 TypeScript framework plus a cloud platform for building, observing, and deploying AI agents, serving enterprise customers including Replit, Sanity, SoftBank, MongoDB, and Salesforce.

What Mastra does

Mastra is a privately held developer infrastructure company founded in 2024 in San Francisco that provides a TypeScript-native open-source framework for building AI-powered applications and agents. The core framework is distributed under an Apache 2.0 license and runs on Node.js with support for Bun, Deno, and Cloudflare Workers. The platform bundles five integrated modules: a Framework for defining typed agents, workflows, and tools; Observability for metrics, logs, traces, anomaly detection, and LLM-as-Judge scoring; Studio for collaborative testing, visual editing, and dataset management; Server for one-command cloud deployment exposing agents as REST endpoints; and Memory Gateway, which routes 300+ models from 90+ providers and adds Observational Memory technology scoring 94.87% on the LongMemEval benchmark with 5-40x conversation compression. The proprietary memory architecture enables 4-10x reductions in token costs via prompt caching and underpins enterprise-grade durability, permission systems, and human-in-the-loop workflows.

The company monetizes a three-tier platform subscription layered on top of the free open-source core: a free Starter tier (100K observability events, 24 CPU hours, 15-day retention), a $250/month Teams tier (1M events, 250 CPU hours, 6-month retention, SSO, SOC 2 docs), and custom Enterprise pricing (RBAC, audit logs, VPC deployment, dedicated support engineer, SLAs). Additional monetization includes usage-based overages on observability events ($8-10 per 100K), CPU time ($0.25-0.35/hr), data egress, memory tokens, and retrieval storage, plus managed LibSQL and Postgres database offerings and an annual Enterprise License for source-available self-hosted deployments. Go-to-market combines product-led growth via npm (1.8 million monthly downloads) with enterprise field sales targeting Fortune 500 design partners including Replit, Sanity, SoftBank, WorkOS, Factorial, Brex, MongoDB, Workday, Salesforce, Fireworks AI, Marsh, and Elastic.

The company was founded by Sam Bhagwat (CEO), Abhi Aiyer (CTO), and Shane Thomas (CPO), who previously built and sold the Gatsby framework to Netlify. Mastra has raised approximately $35 million to date across a $13M seed/early round in March 2025 led by Y Combinator and a $22M Series A in April 2026 led by Spark Capital. In June 2026, the company's npm ecosystem was targeted in a supply chain attack by North Korean state-sponsored hackers (Sapphire Sleet group) compromising 140+ packages, prompting incremental security investment including the May 2026 OpenBox AI runtime-governance partnership. Operations span the United States, Japan, and Spain with the platform positioned as connective tissue in the emerging MCP/A2A agent protocol stack.

Mastra firmographics

Firmographics
Name
Mastra
Website
https://mastra.ai
Company type
Private
Founded year
2024
Operating status
Operating
Headcount range
1–10 employees
Short description
Mastra is a San Francisco-based developer infrastructure company founded in 2024 that provides an open-source Apache 2.0 TypeScript framework plus a cloud platform for building, observing, and deploying AI agents, serving enterprise customers including Replit, Sanity, SoftBank, MongoDB, and Salesforce.
Ownership category
akta.pro rank

Mastra industry classification

Industry
Product category
AI Agent Development Platform
NAICS
Computer Systems Design and Related Services (54151), Computing Infrastructure Providers, Data Processing, Web Hosting, and Related Services (5182)
SIC
Services-Computer Programming Services (7371)
akta.pro industry
PRIMARYHDABAAAD
Managed Application Platforms (App PaaS & Runtime Services)
SECONDARYHDAEAKAA
Low-Code/No-Code Application Platforms
Hardware, Technology & Telecom/Enterprise Platforms & Databases/Enterprise Application Development Platforms (Low-Code/No-Code & PaaS)

Keywords

  • AI agent framework
  • TypeScript development platform
  • Agentic workflow automation
  • AI observability platform
  • Open source AI tools

Where Mastra is headquartered

Location

Headquarters

HQ city
San Francisco
HQ country
United States
HQ region
North America

Markets served

Mastra business model

Business model
GTM type
B2B
Offering type
Software
Cost components
Personnel, Technology or R&D, Infrastructure, Marketing or Sales, Operations

Revenue model

  1. Platform Subscription Tiers: Three-tier subscription model: Starter (free) for observability events (100K), CPU hours (24), 15-day data retention; Teams ($250/month) for 1M observability events, 250 CPU hours, 6-month retention, multiple teams, SSO, SOC 2 docs; Enterprise (custom) for volume/retention, RBAC, audit logs, SLAs, dedicated support engineer.
  2. Compute and Storage Usage: Overage charges for observability events beyond tier limits ($8-10 per 100K), CPU time ($0.25-0.35/hr), data egress ($0.10/GB), memory token usage ($10/1M tokens after tier limits), retrieval storage ($20/GB after tier limits).
  3. Open Source Core (Freemium): Core framework is Apache 2.0 licensed and free. Enterprise features are source-available under Mastra Enterprise License. Platform provides monetization layer on top of free open source.
  4. Enterprise License: Self-hosted enterprise features including RBAC, SSO, IAM, network policy integration, VPC deployment, and flat annual fee without per-trace or per-seat metering.
  5. Managed Databases: LibSQL and Postgres managed database offerings with row limits, compute hours, and storage billing. LibSQL: 1M rows/month free, then $2-2.50/1M reads. Postgres: 5 hours compute free, then $0.40-0.50/hr.

Pricing tiers

ModelBillingPrice
SubscriptionMonthlyFree tier with observability, CPU hours, and 15-day data retention
SubscriptionMonthly$250/month for growing teams with enhanced limits and collaboration features
SubscriptionMulti-year contractCustom enterprise pricing with volume discounts and dedicated support
FreemiumMonthlyFree open source framework under Apache 2.0 license

Go-to-market motion3 records

Distribution channels5 records

Marketing channels10 records

Mastra product offering

Product offering

Core offering

Mastra provides a TypeScript-native open-source framework and cloud platform for building, deploying, and observing AI agents and applications. The core offering bundles agents, workflows, memory, tools, and observability primitives into a single unified system with built-in support for 300+ AI models, MCP servers, and deployment to Vercel, Netlify, and Cloudflare. A managed cloud platform adds observability, compute, storage, RBAC, SSO, and enterprise governance on top of the free Apache 2.0 framework.

Product overview

Mastra is an AI agent platform comprising an open-source TypeScript framework (Apache 2.0 licensed) plus a cloud platform with five modules: Framework for building agents with memory, tools, and workflows; Observability for metrics, logs, and traces; Studio for collaborative testing and evaluation; Server for deployment; and Memory Gateway for unified model routing with 5-40x memory compression. The ecosystem includes starter Templates, an MCP Course, educational books (Principles and Patterns), Workshops, and the Agents Hour podcast. Notable customer-built products include Replit Agent 3, Sanity Content Agent, SoftBank's Satto Workspace, and Factorial One.

Differentiator

Problem solved

Functional benefit

Products and services

  • Mastra Framework Open-source TypeScript framework for building AI-powered applications and agents with built-in primitives for agents, memory, tools, workflows, and observability. Distributed under Apache 2.0 license for free use.
  • Mastra Observability AI observability platform delivering metrics dashboards, structured logs, and step-by-step traces for production agent runs with anomaly detection, cross-step correlation, and LLM-as-Judge quality scoring.
  • Mastra Studio Collaborative workspace for testing agents, tracing execution, refining prompts, scoring outputs, and managing datasets and experiments without source code access.
  • Mastra Server Cloud deployment platform for agents and workflows via a single deploy command, exposing agents as REST API endpoints with automatic routing, scaling, authentication via JWT/Clerk/Supabase/Firebase/Auth0/WorkOS, and stream data redaction.
  • Memory Gateway AI gateway providing observational memory and unified model routing across 300+ models with transparent pricing and automatic failover.
  • Mastra Templates Pre-built project templates (Deep Search, Browser Agent, Chat with Database, Chat with PDF, Slack Agent, GitHub PR Code Review, Docs Expert, Company Knowledge Agent, Autonomous Personal Assistant) for AI agent builders.
  • Mastra 101 Course

Quantifiable outcome

  • 94.87% on LongMemEval benchmark, outperforming RAG implementations
  • +7 more outcomes

Companies that use Mastra

Customer profile

Named customers15 records

Segments5 records

Ideal customer profiles3 records

Mastra technology and API

Technology

Technology focussed Yes

API detail

Has API
Yes
API docs
API detail

Core technology

AI maturity

App detail

Integration24 records

AI capability15 records

Feature9 records

Mastra partnerships and signals

Strategic signal

Partnerships

13 partnerships are on record, tiered flagship and core.

  • OpenBox AIflagshipStrategic or Co-development Partner · 4 May 2026Partnership to make runtime governance a default feature for all Mastra TypeScript agents. Integration enables scoring, cryptographic attestation, and auditable logs via single function call. Addresses EU AI Act requirements (enforceable August 2, 2026) with 97% of enterprises expecting material AI-agent security incidents within 12 months. Generally available May 4, 2026. OpenBox AI announced $5M seed round alongside this partnership.
  • InngestcoreTechnology or IntegrationInngest provides additional persistence layer for Mastra workflows, enabling durable execution. Used by Replit to boost workflow completion rates from 80% to 96%, ensuring workflows complete even if servers fail mid-execution.
  • VercelcoreTechnology or IntegrationMastra includes built-in deployer for Vercel, one-click deployment option for Next.js and React projects using Mastra framework.
  • NetlifycoreTechnology or IntegrationMastra includes built-in deployer for Netlify, enabling straightforward deployment of Mastra projects.
  • CloudflarecoreTechnology or IntegrationMastra supports deployment to Cloudflare Workers and includes Cloudflare Durable Objects storage adapter. Integrates with Cloudflare's edge computing platform.
  • PlaywrightcoreTechnology or IntegrationUsed by Replit Agent 3 for self-testing code, enabling 90% autonomy success rate. Playwright automation within Mastra agents enables self-healing code generation loops.
  • CursorcoreChannel Partner/ Reseller/ DistributorMastra MCP server integrates with Cursor IDE. MCP Course supports Cursor, Windsurf, and VSCode. CLI Actions enable Cursor to test drive Mastra projects.
  • WindsurfcoreChannel Partner/ Reseller/ DistributorMastra MCP Course supports Windsurf IDE alongside Cursor and VSCode, enabling AI-assisted Mastra development within the IDE.
  • VSCodecoreChannel Partner/ Reseller/ DistributorMastra MCP Course supports VSCode alongside Cursor and Windsurf. MCP server installation available for VSCode environments.
  • CopilotKitcoreTechnology or IntegrationCopilotKit's framework for building agentic applications with generative UIs integrates with Mastra. Factorial uses CopilotKit's useCoAgent for shared state between frontend and agent.
  • TemporalcoreTechnology or IntegrationSanity uses Temporal for background task orchestration, computing schema graphs cached in Redis, and bulk operations on large datasets (some customers have 10M+ documents).
  • BraintrustcoreTechnology or IntegrationFactorial uses Braintrust for AI tracing and built extensive evals for their One agent's performance monitoring.
  • CargocoreTechnology or IntegrationWorkOS uses Cargo (enrichment provider) exposed as MCP server, connected to Mastra agents for lead enrichment and filtering.

Scale indicators23 records

Recent moves6 records

Expansion highlights6 records

Mastra competitors and assessment

Company assessment

Direct peers

  • LangChain: Direct competitor offering a Python/JavaScript framework for building LLM-powered agents and applications. LangChain and Mastra both target AI developers with composable primitives, observability via LangSmith, and model-agnostic orchestration.
  • CrewAI: Multi-agent orchestration framework focused on role-based agent collaboration. Competes with Mastra on multi-agent supervisor patterns and workflow automation for enterprise AI agent deployment.
  • Microsoft AutoGen: Microsoft's open-source framework for multi-agent conversation and orchestration. Competes with Mastra's graph-based workflow engine and multi-agent supervisor patterns, with strong integration into Azure AI services.
  • LlamaIndex: Framework for building LLM applications over proprietary data with RAG focus. Competes with Mastra's knowledge retrieval and RAG capabilities, including vector database support and document workflows.
  • Semantic Kernel (Microsoft): Microsoft's SDK for integrating LLMs into .NET and Python applications with planning and memory capabilities. Competes with Mastra on agent orchestration, memory primitives, and enterprise integration patterns.
  • Haystack (deepset): Open-source Python framework for production-ready LLM applications with pipelines, agents, and retrieval components. Competes with Mastra as a developer framework for building production agent systems, though focused on Python rather than TypeScript.

Emerging players

  • Fixpoint (DSPy): Stanford-spawned framework for programmatic LLM pipeline optimization. Competes with Mastra's agent optimization and prompt engineering capabilities, particularly around systematic eval and tuning workflows.
  • Vellum AI: Developer platform for LLM application development with prompt engineering, evaluation, and observability tools. Overlaps with Mastra Studio's visual editing, eval workflows, and observability module.

Broad incumbents

  • Amazon Bedrock Agents: AWS-managed agent runtime offering integrated agent orchestration with foundation models. Competes as a broader incumbent platform where Mastra Cloud could be deployed, offering enterprises a tightly coupled alternative to Mastra's framework-agnostic approach.
  • Google Vertex AI Agent Builder: Google's enterprise agent development platform with built-in orchestration and grounding. Competes with Mastra's full-stack agent framework, leveraging Google Cloud distribution and foundation model integration.

Market position

Strengths5 records

Weaknesses5 records

Competitive moat5 records

Key risks5 records

Key highlights7 records

Customer concentration

Mastra social profiles

Digital presence

Mastra compliance and trust

Trust signal

Compliance1 record

Mastra financial estimates

Financial estimate

Revenue estimate

Valuation estimate

Mastra leadership team

Management profile

Number of profiles

Profiles5 records

Mastra funding detail

Funding detail

Funding overview

Funding rounds3 records

Investors24 records

Funding detail is available on the Subscription and Enterprise plan.Contact sales →

Mastra M&A and investment

M&A and investment

M&A

Investments

M&A and investment is available on the Subscription and Enterprise plan.Contact sales →

Frequently asked questions about Mastra

What does Mastra do?

Mastra provides a TypeScript-native open-source framework and cloud platform for building, deploying, and observing AI agents and applications. The core offering bundles agents, workflows, memory, tools, and observability primitives into a single unified system with built-in support for 300+ AI models, MCP servers, and deployment to Vercel, Netlify, and Cloudflare. A managed cloud platform adds observability, compute, storage, RBAC, SSO, and enterprise governance on top of the free Apache 2.0 framework.

Is Mastra a public or private company?

Mastra is a private company. It is classified as venture growth investor backed and is currently operating.

When was Mastra founded?

Mastra was founded in 2024. It employs 1 to 10 people.

Where is Mastra based?

Mastra is headquartered in San Francisco, United States, in the North America region.

How does Mastra make money?

Five revenue lines are on record. Platform Subscription Tiers are the primary driver. The others are compute and Storage Usage, open Source Core (Freemium), enterprise License and managed Databases.

Who are Mastra's main competitors?

Direct peers on record are LangChain, CrewAI, Microsoft AutoGen, LlamaIndex, Semantic Kernel (Microsoft) and Haystack (deepset). Emerging players are Fixpoint (DSPy) and Vellum AI. Broad incumbents are Amazon Bedrock Agents and Google Vertex AI Agent Builder.

Does Mastra have an API?

Yes. Mastra Server exposes all registered agents and workflows as REST API endpoints. An OpenAPI specification is available at /api/openapi.json with interactive Swagger UI documentation at /swagger-ui. Authentication supported via JWT, Clerk, Supabase, Firebase, Auth0, and WorkOS. Stream data redaction is enabled by default. Developer documentation is at mastra.ai/docs/server/mastra-server.

What industry is Mastra in?

Mastra's product category is AI Agent Development Platform. Its primary akta.pro industry code is HDABAAAD, Managed Application Platforms (App PaaS & Runtime Services), with a secondary code of HDAEAKAA, Low-Code/No-Code Application Platforms. Its NAICS code is 54151 and its SIC code is 7371.

Unlock the full company data

50 free credits on sign-up, no credit card required.

Contact sales
Live signals
CavemanCaveman vs Mastra: token compression for Mastra agents · CavemanCaveman middleware wraps Mastra agents to shrink large tool results before model calls, keeping originals in memory. It reduces a 400-line log from 8,399 tokens to 177–187 across sixteen runs. The adapter is experimental and stacks with Mastra's processors.LinkedInHow should AI agents share and hold memory? Looking forward to exploring it with the Mastra team. If you're in SF on Oct 5, swing by to find out. 👇Tobie Morgan Hitchcock announced a partnership with Mastra for an evening of live demos and conversations on AI agent memory sharing and holding. The event is scheduled for Oct 5 in San Francisco, with details available via a link.HackerNoonGive Your Mastra Agent an iMessage Number Using Photon SpectrumPhoton Spectrum has released an iMessage adapter for the Mastra agent framework, enabling AI agents to send and receive messages natively on Apple devices without requiring a Mac server or personal Apple ID. This integration allows developers to add iMessage capabilities to existing Mastra agents through configuration changes, leveraging Photon's cloud infrastructure for message delivery and Mastra's built-in observability tools.SiliconANGLECrowdStrike finds AI systems under direct attack as exploit windows shrinkCrowdStrike released its 2026 Threat Hunting Report showing AI systems have become direct targets for attackers, with exploit windows shrinking to under 48 hours in 88% of cases between January and June. The report found AI model access techniques accounted for 16% of MITRE ATLAS techniques observed, while North Korean group Famous Chollima built entire fake companies with AI-generated infrastructure to support insider operations. Software supply chain attacks surged, with malicious npm packages accounting for 87% of identified malicious software registry threats, including compromises of Axios, over 131 Mastra AI framework packages, and Aqua Security's Trivy scanner.StartupHub.aiAI Agents Evolve: From Harnesses to Autonomous ClawsMastra CEO Sam Bhagwat discussed the evolution of AI agents from language models to autonomous systems at the AI Engineer World's Fair. The presentation covered the shift to cloud-based systems and potential market shakeouts.Cyber Security NewsNorth Korean Hackers Abuse Mastra npm Supply Chain to Target Developers and CI/CD PipelinesNorth Korean state-sponsored hackers linked to the Sapphire Sleet group compromised the Mastra npm ecosystem by hijacking a maintainer account and poisoning over 140 packages with malicious code, affecting developer workstations and CI/CD pipelines globally. The attackers used a typosquatting technique by publishing a fake easy-day-js package to impersonate the popular dayjs library, then updated all compromised packages to pull it in as a dependency, where a hidden postinstall hook automatically executed an obfuscated dropper script. Microsoft analysts identified the attack and are recommending developers review their dependency trees, use the --ignore-scripts flag during installation, and rotate credentials on potentially exposed systems.MicrosoftFrom package to postinstall payload: Inside the Mastra npm supply chain compromise by Sapphire SleetMicrosoft Threat Intelligence identified a large-scale npm supply chain attack affecting 140+ packages across the @mastra scope, originating from a compromised npm maintainer account (ehindero) that had publish rights across the entire ecosystem. The attacker published easy-day-js, a malicious typosquat of the legitimate dayjs library, which introduced a postinstall hook that disabled TLS verification, contacted attacker-controlled C2 infrastructure, and delivered a second-stage payload capable of credential theft, cryptocurrency wallet harvesting, and establishing SYSTEM-level persistence. Microsoft attributes this activity with high confidence to Sapphire Sleet, a North Korean state actor, and the compromised packages have since been removed from the npm registry with the attacker's publish access revoked.Security Boulevardeasy-day-js Targets Mastra, Dependency Attacks GrowOn June 17, 2026, security researchers at Sonatype identified a software supply chain attack where attackers published the malicious npm package easy-day-js to impersonate the legitimate dayjs JavaScript library. The attackers compromised the Mastra AI framework's npm publishing workflow and added easy-day-js as a dependency across multiple Mastra packages, using a postinstall script to download a second-stage payload from attacker-controlled infrastructure. This campaign extends a pattern seen in the earlier Axios compromise and Atomic Arch campaign, where attackers hijack trusted packages and use malicious dependencies as delivery mechanisms for payloads.Security BoulevardMastra npm Scope Takeover: 140+ Packages Compromised via easy-day-js DropperAn attacker compromised the @mastra npm scope by republishing over 140 packages, each injecting a malicious dependency called easy-day-js (a typosquat of the dayjs date library) that delivers a multi-stage stealer. The malicious package version 1.11.22 adds an obfuscated postinstall dropper that harvests environment secrets including cloud keys, LLM provider keys, database credentials, and cryptocurrency wallet data, while the carrier packages appear clean to per-package scanning. The affected packages have over 20 million downloads for @mastra/core and over 19 million for @mastra/schema-compat, making this a high-severity supply chain attack targeting developers with high-value credentials.Cyber Security NewsHackers Compromised 140+ Mastra npm Packages to Deploy Password-Stealing MalwareOn June 17, 2026, a threat actor using the npm account 'ehindero' mass-published 141 malicious versions of @mastra/* packages to the Mastra-AI ecosystem, exploiting a typosquatting dependency called 'easy-day-js' — a copy of the legitimate dayjs library with a weaponized postinstall hook that ran automatically during npm install. The malware, delivered in two stages (setup.cjs and protocal.cjs), steals cryptocurrency wallet data, browser credentials, and exfiltrates host reconnaissance data from developer machines and CI/CD environments, with persistence mechanisms across Windows, macOS, and Linux. The affected @mastra/core package alone receives over 918,000 weekly npm downloads, giving the campaign substantial potential blast radius.