Mastra
TypeScript framework for AI agent deployment.
Build, test, and deploy AI agents with TypeScript, integrating with frameworks like React and Node.js.1 save · mastra.ai

Mastra operates as a TypeScript framework for building AI agents and applications, integrating with frontend and backend frameworks like React and Node.js. It functions as a standalone server or within existing infrastructure.
- TypeScript-first architecture: designed specifically for TypeScript environments.
- Agentic framework: supports building autonomous agents using LLMs and tools.
- Model routing: connects to over 40 AI providers through a unified interface.
- Workflow engine: orchestrates complex processes with graph-based control flow.
- Integration flexibility: deployable as standalone or within existing apps.
Free and open source; Teams plan at $250/month for growing teams. 24.5k GitHub stars.
Mastra is ideal for developers and teams looking to build and deploy AI agents within a TypeScript environment. It suits projects requiring integration with existing React or Node.js applications.