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.

Mastra Framework is one of 12 APIs that Mastra publishes on the APIs.io network.

Tagged areas include Agents, Artificial Intelligence, Workflows, TypeScript, and Framework. The published artifact set on APIs.io includes API documentation and a getting-started guide.

API entry from apis.yml

apis.yml Raw ↑
aid: mastra-ai:mastra-framework
name: Mastra Framework
description: 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.
humanURL: https://mastra.ai/docs
tags:
- Agents
- Artificial Intelligence
- Workflows
- TypeScript
- Framework
properties:
- type: Documentation
  url: https://mastra.ai/docs
- type: SourceCode
  url: https://github.com/mastra-ai/mastra
- type: PackageManager
  url: https://www.npmjs.com/package/@mastra/core
- type: License
  url: https://github.com/mastra-ai/mastra/blob/main/LICENSE.md
- type: GettingStarted
  url: https://mastra.ai/docs/getting-started/installation
- type: Examples
  url: https://github.com/mastra-ai/mastra/tree/main/examples
- type: Templates
  url: https://mastra.ai/templates