M

Mastra

Open-source TypeScript framework for AI agents and applications

Pricing

Pricing not verified

  • Mastra lets developers define typed agents with instructions, models, tools, and runtime behavior in one place. This gives a TypeScript application a structured foundation for configuring agents and their capabilities.
  • Mastra workflows compose typed steps, retries, and branches into production processes. The framework positions these workflows as inspectable building blocks that a team can develop and ship.
  • Works with: OpenAI, Anthropic
Visit Mastra

What is Mastra?

Mastra is an open-source TypeScript framework for building AI-powered applications and agents. It combines agents, workflows, memory, workspaces, and observability in one development toolkit.

The framework targets developers who want to build agentic features on a modern TypeScript stack. It provides typed agent definitions for instructions, models, tools, and runtime behavior.

Mastra also includes workflow primitives for composing typed steps, retries, and branches. Its workflow features are designed for production processes that engineering teams can inspect and ship.

For evaluation and operations, the platform can score agent runs and track production signals such as latency, cost, model calls, and tool usage. It fits teams looking for an integrated framework instead of assembling those pieces independently.

Typed agent development

Mastra lets developers define typed agents with instructions, models, tools, and runtime behavior in one place. This gives a TypeScript application a structured foundation for configuring agents and their capabilities.

  • Mastra is an open-source TypeScript framework for AI-powered applications and agents.

Composable production workflows

Mastra workflows compose typed steps, retries, and branches into production processes. The framework positions these workflows as inspectable building blocks that a team can develop and ship.

  • Mastra workflows can use control-flow methods including then, branch, and parallel.

Built-in evaluation and observability

Mastra can score agent runs against repeatable checks before changes reach production. Its metrics track latency, cost, model calls, and tool usage across production agent runs.

  • Production metrics cover latency, cost, model calls, and tool usage.

Integrations

OpenAIAnthropic
AI Models, APIs & InfrastructureAI agentsTypeScriptagent workflowsLLM observability

User reviews

No reviews yet. Be the first to review this tool.

Log in to write a review.

Details on this page are for reference only and may be out of date or inaccurate. Check Mastra's official website for current features and pricing.

← Back to AI Tools

Join the Aivolut newsletter

Occasional practical AI tips, app updates, and offers. Unsubscribe anytime.