Blog Logo
TAGS

Mastra - An Opinionated TypeScript Framework for Building AI Applications Quickly

Mastra is an opinionated TypeScript framework that helps you build AI applications and features quickly. It provides the set of primitives you need, including workflows, agents, RAG, integrations, and evals. Mastra allows you to run on your local machine or deploy to a serverless cloud. The main features of Mastra include LLM Models, Agents, Tools, Workflows, and RAG. LLM Models use the Vercel AI SDK for model routing, Agents provide LLM models with tools, workflows, and synced data, Tools are typed functions that can be executed by agents or workflows, Workflows are durable graph-based state machines with loops, branching, and more, and RAG allows you to construct a knowledge base for AI applications. Mastra is a comprehensive framework for AI development.