Mastra
The modern TypeScript framework for AI-powered applications and agents.

Mastra is an open-source TypeScript and JavaScript framework for building, testing, and deploying AI agents and applications. It provides observability, evaluation, and deployment tooling so developers can tune agent performance and expose agents as APIs. The framework integrates with popular server frameworks like Next.js, Express, and Hono, and is licensed under Apache 2.0.
Developers scaffold an agent project via npm, define agents and evaluations in TypeScript, and deploy them as APIs or bundled with their existing app using Mastra's built-in deployment and observability platform.
TypeScript and JavaScript developers building AI agents and applications
Background.
- Status
- launched
- Business model
- open-source
Founders
- Shane Thomas
Similar projects.
Editorial take on the space this project sits in — momentum signals, adjacent moves, our call on whether the wedge is real. Get pinged when we publish a new read or when the landscape shifts.
Have a take on this space?
Tell us what you’d build differently, where you think the incumbents miss, or what we’ve gotten wrong about this project. Comments + reactions are coming soon.