
About Mastra
Mastra is a TypeScript framework for building AI agents and the workflows around them. It bundles agents, tools, memory and a local development server in one toolkit.
What it does
You define an agent with instructions, a model and a set of tools, then wire it into multi-step workflows. Memory lets conversations carry context forward. Tracing, metrics and evaluation tools show what an agent did and how well it did it, and agents can be served over a local server for use in other apps.
Key features
- Agents with instructions and tools
- Workflows with ordered steps
- Memory for conversation context
- Traces, metrics and evals
- MCP tool support
Who it's for
TypeScript developers who want a structured way to build, test and monitor agents in a web product. It suits teams moving a prototype toward production.
Pricing and good to know
The framework can be installed from npm. The site also lists plans for hosted services, so check current pricing before adopting a hosted option. Model calls are billed by the provider you choose.
Highlights
- Agents with instructions and tools
- Workflows with ordered steps
- Memory for conversation context
- Traces, metrics and evals
- MCP tool support












