# Start Create a new Mastra project, or integrate Mastra with your preferred framework to start building. ## 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](https://mastra.ai/docs/getting-started/studio) right away. You can always integrate Mastra with your framework or UI when you’re ready. - [Quickstart](https://mastra.ai/guides/getting-started/quickstart) ## Integrate with your framework Add Mastra to an existing project, or scaffold a new Mastra-powered app if you’re starting from scratch. - [Next.js](https://mastra.ai/guides/getting-started/next-js) - [React](https://mastra.ai/guides/getting-started/vite-react) - [SvelteKit](https://mastra.ai/guides/getting-started/sveltekit) - [Astro](https://mastra.ai/guides/getting-started/astro) - [Nuxt](https://mastra.ai/guides/getting-started/nuxt) - [Express](https://mastra.ai/guides/getting-started/express) - [Hono](https://mastra.ai/guides/getting-started/hono) Mastra works great with agentic UI frameworks like [AI SDK UI](https://mastra.ai/guides/build-your-ui/ai-sdk-ui), [CopilotKit](https://mastra.ai/guides/build-your-ui/copilotkit), and [Assistant UI](https://mastra.ai/guides/build-your-ui/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 Have a use case in mind? Start with a pre-built [template](https://mastra.ai/templates) from Mastra or our community.