Mastra
TypeScript framework for building AI agents and workflows
What it is
A TypeScript framework for agents, workflows and model routing across more than forty providers through one interface. It can be embedded in React, Next.js or Node apps or deployed as a standalone server. For JavaScript teams that want an agent stack in their own language.
Good for
- Scaffold a TypeScript agent project
- Add agents to a Next.js app
- Route calls across multiple model providers
Install or run
npm create mastra@latestCommand as given in the project README. Read the repository before you run anything on your machine.
What you need
Node.js; an LLM provider API key
Sources
- https://github.com/mastra-ai/mastra (project README, read 10 Nov 2026)
- https://api.github.com/repos/mastra-ai/mastra (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.