Skip to content
Agent Search Engine.

Record · mastraFrameworkOpen sourceVerified Sep 23, 2026

Mastra

A TypeScript framework for AI applications and agents, with model routing, workflows, RAG and evals.

Sources and review

Checked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.

Best for

TypeScript teams building production agents without switching to Python.

Avoid if

You need its enterprise features in production without a commercial licence; code under ee directories requires one.

About Mastra

Mastra is a TypeScript framework for AI applications and agents that runs inside React, Next.js and Node projects or as a standalone server. It routes to more than 40 model providers through one interface and covers autonomous agents, graph-based workflows, memory, RAG, MCP and evals, from prototype to production. Most of the code is Apache-2.0; directories marked ee are source-available under an enterprise licence.

Mastra is an open-source project written primarily in TypeScript, with 28k stars on GitHub. It was last updated in September 2026.

Install

npm create mastra@latest
For agent buildersMake your product part of the discovery.Explore advertising

Mastra vs. the alternatives

All 54 alternatives →
RecordStarsPricing
MastraFrameworkthis listing28kOpen source
langchainFramework147kOpen source
rufloFramework73kOpen source
MetaGPTFramework71kOpen source
autogenFramework61kOpen source
crewAIFramework59kOpen source

See all 54 Mastra alternatives, compared →