Mastra is an open-source TypeScript framework for building AI-powered applications and agents. Created by the team behind Gatsby, it provides model routing across 40+ providers, graph-based workflows, human-in-the-loop suspension, and MCP server authoring in a single cohesive package.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Mastra TypeScript AI Agent Framework"
slug: "mastra-typescript-ai-agent-framework"
description: "Mastra is an open-source TypeScript framework for building AI-powered applications and agents. Created by the team behind Gatsby, it provides model routing across 40+ providers, graph-based workflows, human-in-the-loop suspension, and MCP server authoring in a single cohesive package."
github_stars: 22557
verification: "security_reviewed"
source: "https://github.com/mastra-ai/mastra"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
github_repo: "mastra-ai/mastra"
github_stars: 22557
npm_package: "mastra"
npm_weekly_downloads: 267227
---
# Mastra TypeScript AI Agent Framework
Mastra is an open-source TypeScript framework for building AI-powered applications and agents. Created by the team behind Gatsby, it provides model routing across 40+ providers, graph-based workflows, human-in-the-loop suspension, and MCP server authoring in a single cohesive package.
## Installation
Use the upstream install or setup path that matches your environment:
- npm create mastra@latest
Requirements and caveats from upstream:
- It includes everything you need to go from early prototypes to production-ready applications. Mastra integrates with frontend and backend frameworks like React, Next.js, and Node, or you can deploy it anywhere as a st...
- **Integrations** - Bundle agents and workflows into existing React, Next.js, or Node.js apps, or ship them as standalone endpoints. When building UIs, integrate with agentic libraries like Vercel's AI SDK UI and Copil...
- **Mastra Enterprise License** — Code in any directory named ee/ (e.g., packages/core/src/auth/ee/) is source-available under the Mastra Enterprise License. These features require a valid enterprise license for product...
- Source: https://github.com/mastra-ai/mastra
- Extracted from upstream docs: https://raw.githubusercontent.com/mastra-ai/mastra/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/mastra-typescript-ai-agent-framework/)
No comments yet. Be the first to comment!