# Mastra

> Mastra is a TypeScript agent framework whose core is Apache-2.0, but whose ee/ directory ships under the separate Mastra Enterprise License, so it is not a purely Apache-2.0 project.

TypeScript agent framework with workflows, RAG and eval primitives.

- **Category:** Runtime & Orchestration
- **License:** Apache-2.0 (core); ee/ under Mastra Enterprise License
- **Language:** TypeScript
- **Self-hosted:** Yes
- **Repository:** https://github.com/mastra-ai/mastra
- **Last verified:** 2026-10-04

> Caveat: Mixed licensing: production commercial use of the ee/ enterprise directory requires a Mastra license. GitHub reports the repository license as NOASSERTION for this reason.

Source: https://agent.c8.fit/tools/mastra/
