builder
Mastra
A TypeScript framework for AI agents with memory, tools, MCP and observability.
mastra.ai ↗API · CLI
what it is
Mastra is an open-source TypeScript framework for building AI agents that reason, remember and act. It provides memory, tools, MCP support and observability, with a hosted cloud for production.
who it's for
TypeScript and JavaScript developers building agents.
how to start
- 1Read the docs at mastra.ai/docs.
- 2Create a project with the Mastra CLI.
- 3Add your model API key and build an agent.
- 4Deploy, optionally on Mastra Cloud.
what you need
- Node.js
- An LLM API key
pricing
Open-source framework; cloud Starter $0/month
Teams $250/month; Enterprise via sales
pricing page ↗checked Oct 10, 2026
key features
- Agents with memory and tools
- MCP
- Observability
- TypeScript-first
similar agents
- LangChainsame job
- eve.devsame job
- Strands Agentssame job
- LiveKit Agentsoverlapping features
- Vercel AI SDKoverlapping features
- CrewAIoverlapping features