mastra
Installation
SKILL.md
Mastra AI Framework Guide
Build AI applications with Mastra. This skill teaches you how to find current documentation and build agents and workflows.
⚠️ Critical: Do Not Trust Internal Knowledge
Everything you know about Mastra is likely outdated or wrong.
Your training data contains obsolete APIs, deprecated patterns, and incorrect usage. Mastra evolves rapidly - APIs change between versions, constructor signatures shift, and patterns get refactored.
Never rely on memory. Always verify against current documentation.
Prerequisites
Before writing any Mastra code, check if packages are installed: