Mastra
Free tierBuild AI agents. Build, observe, and improve agents that run for days with Mastra, the leading TypeScript agent framework.
Free tier available·All audiences·Powered by Multi-provider (OpenAI, Anthropic, Google, xAI, and others via Mastra model router)·Open source
Key strengths
TypeScript-native agent frameworkBuilt-in observability (traces, metrics, evals, datasets)Durable workflows with typed control flowObservational memory and semantic recallMulti-model support via model routerSelf-hostable with Apache 2.0 licenseMastra Studio for building, testing, and managing agents
Free tier + paid plans
Self-hostable
No ratings yet
Mastra — TypeScript Agent Framework
Mastra is an open-source, TypeScript-native framework for building, observing, and improving AI agents and agent-powered applications. It is designed for developers who need production-grade primitives without leaving the TypeScript ecosystem.
Core capabilities:
- Durable workflows with typed control flow, enabling agents that run reliably over extended periods (days or longer)
- Observational memory & semantic recall for stateful, context-aware agents
- Built-in observability — traces, metrics, evals, and datasets out of the box
- Multi-model support via the Mastra model router, with first-class integrations for OpenAI, Anthropic, Google, and xAI
- Mastra Studio — a local UI for building, testing, and managing agents during development
Deployment & licensing:
- Self-hostable under the Apache 2.0 open-source license
- Managed cloud option with a freemium tier (starts at $0/mo)
- Integrates with React, Next.js, Node.js, LibSQL, Postgres, Jira, GitLab, and incident.io
