Mastra

The TypeScript-first agent framework.

Visit site GitHub
Open source Self-hostable MCP support free
Agent frameworkLibraryOrchestrationSolo builderPlatform engineer
In these stacks
Build my own agent
LicenseElastic-2.0
PriceFree
UsageBYOK
Model supportclaude, gpt, gemini, byok
Languagestypescript
GitHub stars25.8k
Last activity2026-07-04
VerifiedThu Jun 25 2026 00:00:00 GMT+0000 (Coordinated Universal Time)
Verified byseed

A TypeScript framework for building agents and workflows with built-in memory, evals, and a dev playground.

Strengths

  • Best-in-class DX for TS/JS teams
  • Includes evals and memory out of the box

Tradeoffs

  • Elastic license limits some commercial hosting
  • Smaller community than Python options