Mastra · TypeScript AI Agent Framework
An open-source TypeScript framework for building, deploying, and observing AI agents and workflows, with an optional hosted platform and a visual Agent Builder.
Best for
TypeScript-first AI agents and workflows for Node.js teams
Not ideal for
Python-first teams
Who it's for
TypeScript developers building AI agent applications within the Node.js ecosystem
Open source
Free
Starter
$0/month
Billed monthly
Teams
$250/month
Billed monthly
Enterprise
Custom
Free tier limits: The framework is free and open source. The hosted Starter plan includes 100K observability events, 24 CPU hours, and 15-day retention.
Note: Usage beyond plan allowances is billed as overages. Server deployment for 24/7 uptime is $100 per project.
LangChain
Developers building production multi-agent systems that need fine-grained control over state, execution flow, and human-in-the-loop checkpoints — and who are willing to trade setup time for that control
FreeCrewAI
Orchestrating autonomous agent teams for enterprise tasks
FreemiumMastra is an open-source TypeScript framework for building AI-powered applications and agents. It provides agents, graph-based workflows (with .then, .branch, and .parallel steps), memory with observational memory and semantic recall, RAG, a model router covering 90+ LLM providers, MCP server support, scorers and evals, and observability — all in TypeScript. Mastra Studio gives developers a local UI for building and testing agents, and Agent Builder (launched May 28, 2026) lets non-developer teammates assemble agents visually from primitives registered in code. Mastra integrates with React, Next.js, Node.js, Express, Hono, and Fastify, and agents can be deployed wherever you host your application — including Vercel, Netlify, and Cloudflare — or on the hosted Mastra platform, which adds Studio, observability, deployment, a model gateway, and databases. The core framework is Apache 2.0 licensed; enterprise features in ee/ directories (such as Agent Builder and auth) are under the Mastra Enterprise License. It is designed for TypeScript-first teams who want to build agent systems in the same language as the rest of their stack rather than switching to Python.
Agent Builder lets non-developer teammates assemble agents in a visual UI from primitives registered in code. Available self-hosted and on the Mastra platform under an enterprise edition license.
Are you the founder? Claim this listing →