Skip to content

mastra-effect ​

Effect 4 wrappers around Mastra — tools, agents, memory, streams, and Assistant UI integration.

Early / experimental. API may change. Mastra surface coverage is incomplete.

Install ​

bash
pnpm add mastra-effect effect@rc @mastra/core

Packages ​

ImportRole
mastra-effectCore — MastraTool, Toolkit, Agent, ToolUI, memory, streams. No React.
mastra-effect/assistant-uiReact helpers — ClientToolkit.of for human/client tool views.

Subpath imports (mastra-effect/Agent, /Tool, /Toolkit, etc.) are available for tree-shaking. See API overview.

Guides ​