Stack Gems
Menu
← Catalog

Mastra

TypeScript agent runtime with typed agents and workflows

AI Agents / Orchestration · OSS/MIT

Reviewed 2026-08-19

What's Good

Type-safe agent development in TypeScript. Define agents with proper types, compose them into workflows, run evals to measure quality. The framework approach means structure and reusability. Good fit for teams building agent systems rather than one-off scripts.

The Catch

Framework, not a coding CLI. Mastra helps you build agents; it is not an agent itself. Learning curve for the runtime concepts. You are committing to their abstractions.

Verdict

TypeScript agent framework for teams building agent systems.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/mastra.svg)](https://stackgems.com/gems/mastra)

HTML

<a href="https://stackgems.com/gems/mastra"><img src="https://stackgems.com/badge/mastra.svg" alt="Mastra reviewed on Stack Gems" height="20"></a>