Mastra
ActiveDescription
Mastra is a TypeScript-first agent platform that combines workflows, memory, RAG, evaluation, and deployment for scalable full-stack AI agent applications.
Key Features
- Model routing — Unified interface to 40+ providers (OpenAI, Anthropic, Gemini etc.), supports model switching and comparison
- Agent framework — Build autonomous agents with tool use, reasoning chains, and auto-iteration with stop conditions
- Graph workflow engine — DAG-based multi-step orchestration with `.then()`, `.branch()`, `.parallel()` control flow
- Human-in-the-loop — Suspend workflows for user input/approval, persistent execution state via storage for resume
- MCP Server support — Expose agents and tools as Model Context Protocol servers for external system integration
- Evaluation & observability — Built-in evals framework and observability module for continuous agent performance monitoring
Use Cases
Tags
Categories
Quick Start
```bash
npm create mastra@latest
```