LaunchedEditorial Listing

Mastra

Mastra · TypeScript AI Agent Framework

Open Mastra

An open-source TypeScript framework for building, deploying, and observing AI agents and workflows, with an optional hosted platform and a visual Agent Builder.

PricingFreemium
Setupmedium
Runs onSelf-hosted · Web
APIYes
Open sourceYes
DocsYes
Agent FrameworkTypeScriptOpen SourceNode.jsWorkflowsObservability

Best for

TypeScript-first AI agents and workflows for Node.js teams

Not ideal for

Python-first teams

Who it's for

TypeScript developers building AI agent applications within the Node.js ecosystem

Capabilities

  • TypeScript-native agent and graph-based workflow framework
  • Memory with observational memory and semantic recall
  • Model router for 90+ LLM providers
  • Scorers, evals, and built-in observability
  • MCP server support
  • Mastra Studio for local building and testing
  • Agent Builder: visual UI for assembling agents from code-registered primitives
  • Deploy as part of your app, as a standalone service, or on the hosted Mastra platform

Limitations

  • TypeScript/JavaScript only — no Python support
  • Smaller community than the largest Python frameworks such as LangChain/LangGraph
  • Visual Agent Builder and some auth features require the enterprise edition license; core development is code-first
  • Hosted platform usage beyond plan allowances is billed as overages

Use cases

  • Building AI agents in TypeScript alongside existing Node.js apps
  • Adding agent capabilities to Next.js or Express applications
  • Teams that want agent development in the same language as their product
  • Agent workflows requiring built-in observability, evals, and testing
  • Letting non-developers assemble agents with Agent Builder

Mastra pricing

Open source

Free

  • Apache 2.0 core framework
  • Self-host anywhere

Starter

$0/month

Billed monthly

  • 100K observability events
  • 24 CPU hours
  • 15-day retention

Teams

$250/month

Billed monthly

  • 1M observability events
  • 250 CPU hours
  • 6-month retention
  • SSO

Enterprise

Custom

  • Enterprise license features
  • Custom limits and support

Free tier limits: The framework is free and open source. The hosted Starter plan includes 100K observability events, 24 CPU hours, and 15-day retention.

Note: Usage beyond plan allowances is billed as overages. Server deployment for 24/7 uptime is $100 per project.

Integrations & fit

Next.jsReactExpressHonoFastifyVercelCloudflareOpenAIAnthropicGoogleMCP
Good fit forStartup / small team, Enterprise
Pricing modelFreemium· Free tier available
See pricing on Mastra →

Alternatives to consider

See the best AI agent frameworks →

About Mastra

Mastra is an open-source TypeScript framework for building AI-powered applications and agents. It provides agents, graph-based workflows (with .then, .branch, and .parallel steps), memory with observational memory and semantic recall, RAG, a model router covering 90+ LLM providers, MCP server support, scorers and evals, and observability — all in TypeScript. Mastra Studio gives developers a local UI for building and testing agents, and Agent Builder (launched May 28, 2026) lets non-developer teammates assemble agents visually from primitives registered in code. Mastra integrates with React, Next.js, Node.js, Express, Hono, and Fastify, and agents can be deployed wherever you host your application — including Vercel, Netlify, and Cloudflare — or on the hosted Mastra platform, which adds Studio, observability, deployment, a model gateway, and databases. The core framework is Apache 2.0 licensed; enterprise features in ee/ directories (such as Agent Builder and auth) are under the Mastra Enterprise License. It is designed for TypeScript-first teams who want to build agent systems in the same language as the rest of their stack rather than switching to Python.

Updates from Mastra

New FeatureAgent Builder announced

Agent Builder lets non-developer teammates assemble agents in a visual UI from primitives registered in code. Available self-hosted and on the Mastra platform under an enterprise edition license.

Are you the founder? Claim this listing →