builder

Mastra

A TypeScript framework for AI agents with memory, tools, MCP and observability.

agent infrafor developersdeveloper setupopen sourcefree tierautonomous

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

  1. 1Read the docs at mastra.ai/docs.
  2. 2Create a project with the Mastra CLI.
  3. 3Add your model API key and build an agent.
  4. 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

alternatives

links

sources