Mastra Documentation
Mastra documentation. Use for TypeScript AI agents, tools, RAG, workflows, MCP integration, voice, and AI application framework.
Quick Reference
| Task | Entry Point |
|------|-------------|
| Getting started | contents/index.mdx |
| Local development and Studio | contents/develop.mdx |
| Agents and tools | contents/agents/overview.mdx |
| Workflows | contents/workflows/overview.mdx |
| Memory | contents/memory/overview.mdx |
| MCP and A2A connections | contents/connections/overview.mdx |
| Server and auth | contents/server/overview.mdx |
| Deployment | contents/deployment/overview.mdx |
| Evals | contents/evals/overview.mdx |
When to use
Use this skill when the user asks about:
- Building TypeScript AI agents, tools, subagents, and structured output with Mastra
- Workflows, suspend/resume, human-in-the-loop, and scheduled runs
- Memory (message history, working, semantic, observational) and storage
- MCP, A2A, and other connections; server adapters, auth, and the Mastra client
- Deployment, Mastra platform, observability, evals, and Studio
How to find information
- First, read
TOC.mdfor complete file listing organized by directory - Identify relevant section based on user's question
- Read specific files for details
TOC.md contains all files organized by directory - always check it first.