mastra-ai/mastra

TypeScript framework for agents, workflows, RAG

What

A TypeScript framework for agents, tools, workflows, memory, RAG and evals, with a local dev playground.

How to use

bash
npm create mastra@latest

Define agents and tools in src/mastra, then run the dev server to test them in the playground.

Reach for it when

building an agent product in TypeScript.