Launched June 9, 2026
Mastra

Mastra

Build AI agents with a modern TypeScript stack

SubscriptionAIOpen SourceFramework2,348 impressions#7 of its week

From the team behind Gatsby, Mastra is a framework for building AI-powered applications and agents with workflows, memory, streaming, an interactive playground, evals, and tracing. Start building: npm create mastra@latest

Mastra is an open-source TypeScript framework for building AI-powered agents, workflows, and observability tools.

for
TypeScript developers building AI agents and applications
pricing
freemium
license
open source
mastra-ai/mastra 28k 2.9kTypeScriptupdated 18 days ago
works withReactNext.jsLibSQLOpenAIAnthropicGooglexAI

Key features

6 features of Mastra
  • Typed Agents — Define agents with instructions, models, tools, and runtime behavior in TypeScript.
  • Composable Workflows — Create multi-step, retryable, branchable workflows with typed control flow.
  • Shared Harness — Coordinate multi-mode agents with shared state, threads, and storage.
  • Durable Memory — Provide observational memory, semantic recall, and thread-aware context.
  • Built-in Observability — Inspect traces, logs, metrics, and signals for every agent run.
  • Mastra Studio — Web UI for building, testing, and managing agents, tools, and workflows.

Use cases

  • Customer-support chat agents that retain conversation context
  • Internal copilots for coding, finance, or research tasks
  • Automated multi-step business processes such as order fulfillment

Mastra pricing

  • Starter$0/monthUnlimited users, deployments, projects · Observability 100K events · 24 CPU hours · 15-day data retention
  • Teams$250/month1M observability events · 250 CPU hours · 6-month data retention · Multiple teams, SSO, SOC 2 docs

Mastra vs alternatives

MastraFineBuildShipSuperAGI CloudQueryPal
Best forTyped AI agent frameworkAI-agent software buildingVisual backend buildingManaged autonomous agentsSupport automation
PricingFreemiumFreeFreeFreeFree
DevHunt upvotes4751184382
LaunchedJun 2026Jan 2023Jan 2023Jan 2023Mar 2024
  • Mastra vs Fine: Fine focuses on building software with AI agents, while Mastra provides a full TypeScript framework with observability and self-hosted deployment.
  • Mastra vs BuildShip: BuildShip is a visual drag-and-drop backend builder, whereas Mastra is code-first, TypeScript-based and includes workflow orchestration.
  • Mastra vs SuperAGI Cloud: SuperAGI Cloud offers managed cloud hosting for autonomous agents; Mastra is an open-source framework you run yourself or on Mastra Cloud.
  • Mastra vs QueryPal: QueryPal automates support-team workflows, while Mastra is a general-purpose framework for any AI-agent application.

Mastra FAQ

What is Mastra?+

Mastra is an open-source TypeScript framework for building AI-powered applications and agents, providing agents, workflows, memory, workspaces and observability.

Is Mastra an agent builder?+

Yes, it lets you define agents that use LLMs and tools, and also offers workflows, memory, and observability for the full development lifecycle.

What can you build with Mastra?+

You can create conversational support agents, domain-specific copilots, workflow automations, and decision-support tools that combine language understanding, reasoning, and action.

How do I get started?+

Run `npm create mastra@latest <project-name> -- --llm <provider>` then start the dev server with `npx bgproc start … && npm run dev` and open Mastra Studio at http://localhost:4111.

What licensing options are available?+

Mastra is Apache 2.0 licensed for self-hosted use; enterprise licenses with additional controls and support are offered under a custom pricing model.

Summarized by DevHunt from mastra.ai · Sep 28, 2026. Details may change; check the official site.