#66th of 15 in Agent frameworks and SDKs
mastra
TypeScript framework for building AI agents and workflows
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 28.8k
- License
- custom license
- Last commit
- Oct 2026
- Last release
- Oct 2026
- Language
- TypeScript
21,991 on 24 Mar 202628,817 on 13 Oct 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Mastra is a TypeScript framework for building agents and graph-based workflows, with model routing across 40+ providers. It adds suspend/resume human-in-the-loop, memory, RAG, MCP server authoring, evals and observability. It embeds in React, Next.js or Node apps, or runs as a standalone server, with a local Studio UI at port 4111.
Who it is for: TypeScript developers building agent and workflow features into apps
Strengths
- Workflow engine with .then(), .branch() and .parallel() control flow
- Suspend and resume runs via storage, so approvals can wait indefinitely
- Built-in evals, observability, memory and RAG in one package set
- Authors MCP servers exposing agents and tools; scaffold with npm create mastra@latest
Weaknesses
- TypeScript only; no Python SDK mentioned
- Dual license: code in ee/ directories needs an enterprise license for production
- Storage backends and hardware requirements not listed in the README
- No Docker or compose files detected in the repo
What it needs
- no GPU
- Needs Node.js, LLM provider API key
- Models: OpenAI, Anthropic, Google Gemini, xAI, 40+ providers via model router
- port 4111
Also in Agent frameworks and SDKs
See all 15| Rank | Project | Score |
|---|---|---|
| 1 | langchainPython framework for building LLM agents and apps from interoperable components | 88 out of 100 |
| 2 | browser-usePython library that lets an LLM agent control a web browser | 88 out of 100 |
| 3 | crewaiPython framework for multi-agent workflows with role-based Crews and event-driven Flows | 80 out of 100 |
| #4 | openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing | 77 out of 100 |
| #5 | agnoPython SDK and runtime for building and serving agents behind a REST API | 76 out of 100 |