Skip to main content

Start

Create a new Mastra project, or integrate Mastra with your preferred framework to start building.

New project
Direct 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 framework
Direct 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.

Mastra works great with agentic UI frameworks like AI SDK UI, CopilotKit, and Assistant UI. Use them with any of the frontend frameworks above to stream agent responses, render tools, and build chat interfaces.

Start from a template
Direct link to Start from a template

Have a use case in mind? Start with a pre-built template from Mastra or our community.

On this page