Mastra
Free tierBuild AI agents. Build, observe, and improve agents that run for days with Mastra, the leading TypeScript agent framework.
Key strengths
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.
Mastra — Technical Overview
Mastra is an open-source, TypeScript-native agent framework (Apache 2.0) for building, deploying, and observing AI agents and agentic workflows. It provides a unified API surface across 90+ model providers — including OpenAI, Anthropic, and Gemini — so you can swap or combine LLMs without rewriting orchestration logic.
Key architectural capabilities:
- Durable workflows with typed control flow, enabling reliable multi-step agent execution
- Observational memory and semantic recall for stateful, context-aware agents
- Built-in observability — traces, metrics, evals, and datasets — surfaced out of the box without third-party instrumentation
- Self-hostable with VPC data isolation, or deployable via Mastra's managed cloud (freemium)
- Integrations with React, Next.js, Node, Slack, Microsoft Teams, LibSQL, Postgres, WorkOS, Okta, Auth0, and Clerk
Mastra targets TypeScript developers who want a strongly-typed, batteries-included stack for production AI agents — from local development through to enterprise-grade deployment.
