Mastra Guides
Mastra offers guides for building agents and workflows, using the Mastra SDK and API, and implementing different UI frameworks. Explore these guides to find the resources you need to get started and build with Mastra.
New projectDirect link to New project
The npm create mastra@latest command is the fastest way to build your first agent. It creates a ready-to-run agent harness that you can explore and adapt in Studio right away. You can always integrate Mastra with your framework or UI when you’re ready.
Integrate with your frameworkDirect link to Integrate with your framework
Add Mastra to an existing project, or scaffold a new Mastra-powered app if you’re starting from scratch.