Mastra Framework
The Mastra framework is a TypeScript-first agentic stack distributed as the @mastra/* family of npm packages. The core package wires agents, workflows, memory, RAG, tools, MCP, evals, voice, and observability into a single Mastra instance that can be embedded in Next.js, Express, Hono, SvelteKit, Astro, Nest, Fastify, Koa, or stood up as a standalone server. Models are reached through the Vercel AI SDK so any of 40+ providers (OpenAI, Anthropic, Google, Bedrock, Groq, etc.) plug in through one interface. Apache 2.0 licensed.
Documentation
Documentation
https://mastra.ai/docs
GettingStarted
https://mastra.ai/docs/getting-started/installation
Other Resources
SourceCode
https://github.com/mastra-ai/mastra
PackageManager
https://www.npmjs.com/package/@mastra/core
License
https://github.com/mastra-ai/mastra/blob/main/LICENSE.md
Examples
https://github.com/mastra-ai/mastra/tree/main/examples
Templates
https://mastra.ai/templates
APIsJSON
https://raw.githubusercontent.com/api-evangelist/mastra-ai/refs/heads/main/apis.yml