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 OpenAI, Anthropic, Gemini, and 90+ providers·Open source
Key strengths
TypeScript-native agent frameworkBuilt-in observability (traces, metrics, evals, datasets)90+ model provider support via single APIDurable workflows with typed control flowObservational memory and semantic recallOpen-source (Apache 2.0)Self-hostable with VPC data isolation
Free tier + paid plans
Self-hostable
Facts verified against mastra.ai on
Recent changes
- Models updated: OpenAI, Anthropic, Gemini, and 90+ providers
Get alerts when Mastra changes
Free. We'll email you when pricing, the free tier, API access or open-source status changes.
No ratings yet
Documentation & Developer Resources
Mastra is built for TypeScript developers and exposes a strongly-typed API for agent construction, workflow orchestration, memory management, and observability.
What to expect from the docs:
- Agent framework — define agents with typed tools, instructions, and model bindings across 90+ providers via a single unified API
- Durable workflows — compose multi-step, typed control-flow graphs that survive failures and retries
- Memory & recall — configure observational memory and semantic recall backends (LibSQL, Postgres) for stateful agents
- Observability — instrument traces, metrics, evals, and datasets natively; no external APM required
- Integrations — first-class connectors for React, Next.js, Node, Slack, Microsoft Teams, WorkOS, Okta, Auth0, and Clerk
- Self-hosting — Apache 2.0 license; deploy with VPC data isolation for full data sovereignty
Mastra's open-source codebase means you can read the source, contribute, or fork for custom enterprise needs.
Alternatives
See all alternatives 