Skip to main content
Mastra is an opinionated TypeScript framework for AI agents and workflows. Mirage ships a tool factory that gives a Mastra Agent a session’s seven tools.
Node only. The Mirage adapter is runtime-agnostic, but most Mastra setups (memory, evals, workflows) depend on Node APIs.

Install

Usage

Exports

Examples