Mastra Guides
Mastra offers a variety of guides to help you build and work with Mastra, from building agents and workflows to using the Mastra SDK and API, and implementing different UI frameworks. Explore the guides below to find the resources you need to get started and build with Mastra.
New projectDirect link to New project
The create mastra command is the fastest way to build your first agent. It walks you through setup and generates an example agent you can run 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.
Build an AI-powered Next.js app
Add agents to your React + Vite app
Integrate Mastra with SvelteKit
Add AI agents to your Astro site
Integrate Mastra with Nuxt
Integrate Mastra with the Express server adapter
Integrate Mastra with the Hono server adapter
Build a desktop chat app with Electron