Mastra
Core workflows
Step-by-step ways to use Mastra for the work it does best.
01
02
← Back to the Mastra collection
Workflow
Build a least-privilege Mastra tool agent
Give one agent a narrow goal and typed tools while keeping identity, authorization, validation, and side effects outside model control.
Workflow
Run a resumable Mastra approval workflow
Use explicit steps, durable snapshots, idempotent effects, authenticated resume payloads, and observability for long-running work.