# Mastra

> A TypeScript framework helps developers build AI agents with tools, memory, and controlled workflows.

- Canonical HTML: https://youragents.me/en/agents/4148-mastra
- Markdown: https://youragents.me/en/agents/4148-mastra.md
- Type: Self-hosted
- Author: Mastra
- Available in Russia: no
- Pricing: Free, Subscription, Usage-based
- Categories: Productivity, Coding
- Official URL: https://mastra.ai/

## Description

Mastra is a TypeScript framework for building AI agents and applications. Developers define agent instructions, models, and tools, then integrate the resulting agents into a server or existing application. Graph-based workflows support branching, parallel execution, and multi-step orchestration. A workflow can pause for user approval and later resume with persisted execution state. The framework provides model-provider integrations, memory, retrieval, MCP tools, evaluation, and observability. It fits teams that need explicit control over agent logic and application deployment. Most of the core code is Apache 2.0 licensed, while some enterprise components use a separate license. The hosted platform offers a free Starter tier and a paid Teams tier; model usage, compute, and additional services may incur separate charges.
