List your AI tool on AI Orion for free. Submit a tool

Mastra

TypeScript AI Framework for Agents and Apps | Mastra

Monthly visits
335.7K
Pricing
Freemium
Starter, Teams, Enterprise
Added
Aug 24 2026

About Mastra

Mastra is a TypeScript framework for building AI-powered applications and agents. It provides agents, workflows, memory, workspaces and observability to support the full lifecycle from idea to implementation. It can integrate with frontend and backend frameworks like React, Next.js and Node, or run as a standalone server.

Mastra agents use LLMs and tools to solve open-ended tasks, reasoning about goals, deciding which tools to use and iterating internally until a final answer or an optional stopping condition is met. The platform also includes workflows, memory, workspaces and observability to support building and deploying AI-powered solutions.

Mastra offers built-in observability and tooling to observe, measure and refine agent performance, including scoring, traces and logs. It supports multi-step processes, human-in-the-loop, and storage-backed pausing and resuming of workflows.

Mastra is designed for TypeScript developers aiming to embed AI agents into applications or ship standalone endpoints, with deployment options to run on Node.js-compatible environments and optional deployers for platforms like Vercel, Netlify and Cloudflare.

Use cases

  • Customer-facing assistants that handle inquiries, scheduling, and questions in chat or voice
  • Internal copilots for coding, legal, finance, research or creative work

Key features

  • Memory and context for agents, including conversation history and data retrieval
  • Graph-based workflows with explicit control flow
  • Agent observability out of the box
  • Model routing across 90+ providers via a single interface
  • MCP server support to expose agents and tools via MCP

Pros and cons

Pros

Open source core framework under Apache 2.0 license
Supports multiple AI providers through a single API

Pricing

Starter
$0/ month
  • Observability events 100K+
  • CPU time 24 CPU hours+
  • Data retention 15 days
  • Unlimited users, deployments, and projects
Teams
$250/ month
  • Observability events 1M+
  • CPU time 250 CPU hours+
  • Data retention 6 months
  • Multiple teams, SSO, and SOC 2 docs
Enterprise
Custom pricing
  • Custom volume and retention
  • RBAC, audit logs, uptime SLAs
  • Dedicated support engineer

Reviews

Loading reviews…

Frequently asked questions

What is Mastra?
Mastra is an open-source TypeScript framework for building AI-powered applications and agents. Mastra provides agents, workflows, memory, workspaces and observability, letting developers go from idea to implementation.
Is Mastra an agent builder?
Mastra is a TypeScript framework for building AI agents and AI-powered applications.
What AI models and providers does Mastra support?
Mastra's model routing connects to 90+ providers through one standard interface.

Alternatives to Mastra

More in AI Agent