Quickstart
Choose how you want to get started with Mastra:
Standalone Server (Recommended)
The fastest way to get started - spin up a standalone Mastra server and interact with your agents in Studio
Next.js
Integrate Mastra into a Next.js app and use the AI SDK UI to build an in-app chat interface for your agents
For more control over setup, or to add Mastra to an existing project, see the manual installation guide. You can also use mastra init for existing projects.