Mastra

An open-source TypeScript framework for agents, workflows, memory and evals.

Verified by our editorsAI Agent Builders
Visit mastra.ai ↗︎Last verified: 2026-11-29
TypeScriptLanguage
FreePlatform plan
$25Starter / mo
Gatsby teamBuilt by
The short version

What is Mastra?

Mastra is an agent framework built for TypeScript. It gives you agents, workflows, memory, tools and evals in one package, so JavaScript teams don't need to port Python frameworks.

It comes from the team that built Gatsby. The framework is on GitHub, and the hosted Mastra Platform adds deployment and observability.

What it actually does

Key features

Agents and tools

Typed tools and agents in TypeScript.

Workflows

Multi-step workflows with branching and retries.

Memory

Give agents memory across conversations.

Evals

Test agent output as part of development.

Local studio

Try agents in a local playground before you deploy.

What it costs

Mastra pricing (2026)

The hosted Mastra Platform has a free plan and paid plans.

PlanPriceWhat you get
Free$0Unlimited agents and deployments, 100K observability events.
Starter$25 / mo1 project, 250K observability events.
Team$250 / mo3 projects, 10M events, SOC 2 report.
EnterpriseCustom quoteRBAC, SSO, audit logs.

Platform prices from mastra.ai/pricing, checked 29 Nov 2026.

Honest fit

Who it's for, who it isn't

Pick Mastra if

  • Your stack is TypeScript or Node
  • You want agents, workflows and evals in one framework

Look elsewhere if

  • Your team works in Python
  • You want a no-code builder
What people ask

Mastra FAQ

What is Mastra?

An open-source TypeScript framework for agents, workflows, memory and evals.

Does Mastra work with Python?

No. It is TypeScript-first. Look at LangGraph or CrewAI for Python.

How much does Mastra cost?

The hosted platform starts free; Starter is $25 a month.
Keep comparing

Mastra alternatives