Mastra
TypeScript-first agent framework — Workflows, Agents, RAG, eval. Built by the Gatsby team. YC W25.
Active · Verified 2026-10-27 · fresh as of 2026-10-27 · 24 cited facts, 4 with a third-party source · 1 recorded change · Suggest a correction
At a glance
- Type
- TypeScript agent framework vendor fix
- Tier
- T2
- Latest release
- v1.79.0 (2026-10-21) registry fix
- Pricing
- Framework free (Apache-2.0); Mastra Platform Starter $0/mo (100K observability events, 24 CPU hours), Teams $250/mo (1M events, 250 CPU hours, SSO), Enterprise custom; persistent server $100/project; enterprise self-hosted license custom vendor fix
- Funding
- Mastra raised undisclosed seed 2025 (Y Combinator W25); TypeScript agent framework. third-party fix
- Freshness
- 2026-10-27 fix
- Layer
- agent-infra repo fix
- SDK languages
- typescript repo fix
- Protocols
- a2a, mcp-client, mcp-server, opentelemetry vendor fix
- Compliance
- soc2-type2 vendor fix
- Developer activity
- OpenRank 118.19 (12-mo avg 109.68) · 403 participants — 2026-09 third-party fix
When to use
Optimised for: searched not found
Anti-fit: searched not found
Pros & cons
Pros
searched not found
Cons
searched not found
Claims & capabilities
YC W25; raising seed.
Technical surface
- API surface
- searched not found
- Backend storage
- not applicable — not a memory product
- Deployment
- Both (self-hosted + managed cloud) — Apache-2.0 framework self-hosted; Mastra Platform hosted deployments
- Embedding model
- not applicable — not a memory product
- Multi-tenancy
- searched not found
- MCP
- yes — consume MCP servers and author MCP servers exposing agents/tools via @mastra/mcp
- A2A
- searched not found
- OpenTelemetry
- searched not found
Alternatives to Mastra → live options ranked by shared design, licence, hosting and MCP support
Similar systems
Other agent frameworks (no first-party memory layer) in the catalog, ranked by inbound references.
- Model Context Protocol (MCP spec) T1
Anthropic-introduced open protocol (Nov 2024) for connecting LLMs to data sources and tools. Donated by Anthropic to the Linux Foundation's Agentic AI Foundation (announced 2025-12-09); now governed as Model Context Protocol, a Series of LF Projects, LLC. Supported across Claude, ChatGPT, VS Code, Cursor and many other clients.
- LangChain (framework) T1
Dominant Python/JS framework for LLM apps — tool calling, agents, retrievers, runnables. Memory is one component (LangMem cross-listed); the framework itself is the product.
- Vercel AI SDK T1
Vercel's TypeScript LLM SDK — streaming, tool calls, structured outputs, agents. Dominant framework for Next.js LLM apps.
- LlamaIndex (framework) T1
Data framework for LLM apps — connectors, indices, query engines, agents, workflows. Memory is one of many subsystems (LlamaIndex Memory cross-listed).
- OpenAI Agents SDK T1
OpenAI's official Python framework for agents — handoffs, guardrails, tracing built in. Successor to OpenAI Swarm (experimental); officially supported.
- LangGraph (orchestration) T1
LangChain's stateful graph runtime for agents — explicit state, persistence, time-travel debugging, human-in-the-loop. Memory is one persistence target (LangGraph Persistence cross-listed).
Sources (23 cited facts, 4 third-party)
Each fact links to the page it came from; the badge says who published it (how to read sources).
- What it is TypeScript agent framework vendor
- What it does & what's distinct TypeScript-first agent framework — Workflows, Agents, RAG, eval. Built by the Gatsby tea… vendor
- Claims / benefits YC W25; raising seed. vendor
- Created 2024 vendor
- Latest release v1.79.0 (2026-10-21) registry
- License Apache-2.0 (code under ee/ directories under a separate Mastra enterprise license) repo
- GitHub mastra-ai/mastra — ~29k stars, last commit 2026-10 repo
- Funding Mastra raised undisclosed seed 2025 (Y Combinator W25); TypeScript agent framework. third-party
- Pricing Framework free (Apache-2.0); Mastra Platform Starter $0/mo (100K observability events, 2… vendor
- Deployment Both (self-hosted + managed cloud) — Apache-2.0 framework self-hosted; Mastra Platform h… vendor
- HQ San Francisco, CA, USA. third-party
- Founders / pedigree Sam Bhagwat (CEO), Abhi Aiyer, Shane Thomas (ex-Gatsby); founded 2024. vendor
- MCP support yes — consume MCP servers and author MCP servers exposing agents/tools via @mastra/mcp repo
- Runtimes TypeScript registry
- adoption-accelerator yc-w25 third-party
- architecture-deployment-locus hybrid vendor
- licensing-bucket open-core repo
- positioning-platform-vs-product platform vendor
- taxonomy-three-layer-rollup agent-infra repo
- developer-activity-opendigger {"activity":1513.71,"as_of":"2026-09","openrank_12mo":109.68,"openrank_current":118.19,"… third-party
- compliance-certifications soc2-type2 vendor
- sdk-languages typescript repo
- protocol-support a2a,mcp-client,mcp-server,opentelemetry vendor
What changed
Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)
- 2026-10-27
- License “Elastic 2.0” → “Apache-2.0 (code under ee/ directories under a separate Mastra enterprise license)” source
- Latest release first recorded as “v1.79.0 (2026-10-21)” source
- Pricing first recorded as “Framework free (Apache-2.0); Mastra Platform Starter $0/mo (100K observability events, 24 CPU hours), Teams $250/mo (1M events, 250 CPU hours, SSO), Enterprise custom; persistent server $100/project; enterprise self-hosted license custom” source
- Deployment first recorded as “Both (self-hosted + managed cloud) — Apache-2.0 framework self-hosted; Mastra Platform hosted deployments” source
- MCP support first recorded as “yes — consume MCP servers and author MCP servers exposing agents/tools via @mastra/mcp” source
Related systems
References (29)
- Arize AI integrates with — Mastra repo ships the @mastra/arize exporter (traces to Arize AX or Phoenix via OpenInference). (verified 2026-10-29)
- Arize Phoenix integrates with — The @mastra/arize exporter README says it exports Mastra traces to Arize Phoenix via OpenInference. (verified 2026-10-29)
- Bedrock AgentCore (AWS) integrates with — Mastra repo ships the @mastra/agentcore workspace package (AWS Bedrock AgentCore Runtime sandbox provider). (verified 2026-10-29)
- Braintrust integrates with — Mastra repo ships the @mastra/braintrust observability exporter. (verified 2026-10-29)
- Chroma integrates with — Mastra repo ships the @mastra/chroma vector store package. (verified 2026-10-29)
- Claude Agent SDK integrates with — Mastra repo ships the @mastra/claude package built on @anthropic-ai/claude-agent-sdk. (verified 2026-10-29)
- Confident AI / DeepEval integrates with — Mastra repo ships the @mastra/deepeval observability package. (verified 2026-10-29)
- Cursor (IDE) integrates with — Mastra repo ships the @mastra/cursor package built on the Cursor SDK. (verified 2026-10-29)
- Daytona integrates with — Mastra repo ships the Daytona workspace sandbox package. (verified 2026-10-29)
- e2b integrates with — Mastra repo ships the E2B workspace sandbox package. (verified 2026-10-29)
- Elasticsearch integrates with — Mastra repo ships the @mastra/elasticsearch store package. (verified 2026-10-29)
- Google Gemini 3 family integrates with — Mastra repo ships the Gemini Live API voice package. (verified 2026-10-29)
- LanceDB integrates with — Mastra repo ships the @mastra/lance (LanceDB) store package. (verified 2026-10-29)
- Langfuse integrates with — Mastra repo ships the @mastra/langfuse observability exporter. (verified 2026-10-29)
- LangSmith integrates with — Mastra repo ships the @mastra/langsmith observability exporter. (verified 2026-10-29)
- LiveKit Agents integrates with — Mastra repo ships the @mastra/livekit realtime voice integration. (verified 2026-10-29)
- Modal Sandboxes integrates with — Mastra repo ships the @mastra/modal workspace package (Modal cloud sandbox provider). (verified 2026-10-29)
- MongoDB Atlas Vector Search integrates with — Mastra repo ships the @mastra/mongodb store package. (verified 2026-10-29)
- OpenAI Agents SDK integrates with — Mastra repo ships the @mastra/openai package (OpenAI Agents SDK). (verified 2026-10-29)
- OpenAI Realtime API integrates with — Mastra repo ships the OpenAI Realtime API voice package. (verified 2026-10-29)
- OpenSearch integrates with — Mastra repo ships the @mastra/opensearch vector store package. (verified 2026-10-29)
- pgvector integrates with — Mastra repo ships the @mastra/pg package (PgVector, vector search using pgvector). (verified 2026-10-29)
- Pinecone integrates with — Mastra repo ships the @mastra/pinecone vector store package. (verified 2026-10-29)
- Qdrant integrates with — Mastra repo ships the @mastra/qdrant vector store package. (verified 2026-10-29)
- Stagehand integrates with — Mastra repo ships the Stagehand browser package. (verified 2026-10-29)
- Turbopuffer integrates with — Mastra repo ships the @mastra/turbopuffer vector store package. (verified 2026-10-29)
- Vercel AI SDK integrates with — Mastra repo ships the @mastra/ai-sdk package (routes compatible with AI SDK UI). (verified 2026-10-29)
- Voyage AI (MongoDB) integrates with — Mastra repo ships the Voyage AI embedder package. (verified 2026-10-29)
- Weaviate integrates with — Mastra repo ships the @mastra/weaviate vector store package. (verified 2026-10-29)
Referenced by (24)
- Arcade.dev integrates with — Arcade docs have a Mastra integration page. (verified 2026-10-29)
- Arize Phoenix integrates with — Arize Phoenix docs have a Mastra integration page. (verified 2026-10-29)
- Braintrust integrates with — Braintrust docs have a Mastra integration page. (verified 2026-10-29)
- Browserbase integrates with — Browserbase docs have a Mastra integration page. (verified 2026-10-29)
- Comet ML integrates with — Comet's Opik docs have a Mastra integration page. (verified 2026-10-29)
- Composio integrates with — Composio's SDKs and frameworks page lists a Mastra provider. (verified 2026-10-29)
- Daytona integrates with — Daytona docs have a guide for running Mastra with Daytona sandboxes. (verified 2026-10-29)
- e2b integrates with — E2B docs have a Mastra integration guide. (verified 2026-10-29)
- Galileo integrates with — Galileo's third-party integrations docs list Mastra as a supported integration. (verified 2026-10-29)
- Laminar integrates with — Laminar integrations docs have a Mastra observability page. (verified 2026-10-29)
- Langfuse integrates with — Langfuse's integrations directory has a Mastra integration page. (verified 2026-10-29)
- LangSmith integrates with — LangSmith docs have a tracing integration page for Mastra. (verified 2026-10-29)
- Mem0 integrates with — Mem0 docs have a Mastra integration page (Use Mastra agents with Mem0 as the memory backend for cross-conversation storage and retrieval). (verified 2026-10-29)
- MongoDB Atlas Vector Search integrates with — MongoDB's Atlas AI Integrations page lists Mastra as an integration (some entries are marked community-maintained). (verified 2026-10-29)
- OpenRouter integrates with — OpenRouter docs have a community guide on using OpenRouter with Mastra. (verified 2026-10-29)
- Portkey AI integrates with — Portkey docs have a Mastra Agents agent framework integration page. (verified 2026-10-29)
- Pydantic Logfire integrates with — Pydantic Logfire integrations docs have a Mastra page. (verified 2026-10-29)
- Qdrant integrates with — Qdrant's documentation has a Mastra integration page. (verified 2026-10-29)
- Stagehand integrates with — Stagehand docs have a Mastra integration page. (verified 2026-10-29)
- Temporal integrates with — Temporal integrations catalog lists Mastra agent-framework integration. (verified 2026-10-29)
- Together AI integrates with — Together AI docs third-party/agent integrations: Mastra quickstart. (verified 2026-10-29)
- Trigger.dev integrates with — Trigger.dev docs: Mastra agents with memory sharing + Trigger.dev orchestration (example project). (verified 2026-10-29)
- Vercel AI Gateway integrates with — Vercel AI Gateway docs have a Mastra framework integration page. (verified 2026-10-29)
- Zep & Graphiti integrates with — Zep docs have a Mastra integration page (@getzep/zep-mastra package). (verified 2026-10-29)