A TypeScript AI framework for building AI-powered agents.
Mastra is an all-in-one, TypeScript-first framework for building AI-powered applications and agents. It delivers developer tools, templates, and built-in capabilities for creating agents, workflows, memory, retrieval-augmented generation (RAG), and evaluations, with observability and deployment features to monitor and scale your solutions. Build, test, and deploy Mastra agents anywhere—inside your app, as APIs, or as a standalone service—while iterating from idea to implementation with a modern development studio.
All-in-one TypeScript AI agent framework
Agents, Workflows, RAG, Memory, MCP, and Evals
Built-in observability and evaluation tools
Local development studio with templates
TypeScript-first development
Rich templates and docs support
Flexible deployment options