Dev teams / BYOK · API / SDK · Free / OSS
Mastra
TypeScript agent framework with typed tools, workflows, RAG, memory, and evals
What you stop vibecoding
Replaces custom scripts and internal glue code for agent frameworks & sdks workflows.
Dossier overview
Mastra is a batteries-included TypeScript framework for building AI agents, deterministic workflows, memory pipelines, and automated evals—designed to plug cleanly into modern JS/TS stacks.
Quickstart
npm create mastra@latestWhat people say on X
Live feed on X ↗We pull unfiltered builder mentions (praise and complaints) from X on our daily sync. Inspect the live unfiltered stream directly on X right now:
Read latest "Mastra" mentions on X ↗Best use cases
- Building full-stack TypeScript AI apps without switching to Python
- Combining deterministic step graphs with autonomous tool-calling agents
- Running local dev playgrounds and evals for agent prompts
Field notes
Strengths
- Typed agent tools and workflow state machines
- Built-in memory, RAG, and MCP support
- Designed specifically for dev teams / byok
Tradeoffs
- Free/starter tiers have rate or seat limits
- Self-hosting requires managing your own model keys and runtime
Compare with Frameworks alternatives
| Tool | Best for | Runs in | Pricing | Setup |
|---|---|---|---|---|
| Mastra | Dev teams / BYOK | API / SDK | Free / OSS | CLI / SDK install |
| LangGraph | Agent builders | API / SDK | Freemium | CLI / SDK install |
| PydanticAI | Agent builders | API / SDK | Free / OSS | CLI / SDK install |
| CrewAI | Agent builders | API / SDK | Freemium | CLI / SDK install |
| OpenAI Agents SDK | Dev teams / BYOK | API / SDK | Free / OSS | CLI / SDK install |