Mastra UI Dojo: Choose your frontend

·

Nov 14, 2025

We keep hearing the same question: "How do I build a frontend for my Mastra project?”

Luckily there are a handful of AI UI frontend frameworks out there. But it’s hard to choose one without actually seeing all of them in action.

Our new UI dojo let’s you do exactly that. It’s a collection of working examples showing Mastra agents integrated with the most popular AI UI frameworks.

Mastra UI Dojo

You can interact with each of them and, once you pick your fave, fork our repo to rip out the relevant code.

Mastra UI dojo includes live examples of Mastra agents running with:

  • Vercel AI SDK - with support for chat, generative UIs, workflows, and agent networks
  • Assistant UI - for chat interfaces with streaming responses
  • CopilotKit - for agentic copilots
  • Mastra client tools - for testing live, in-browser feedback
  • HITL - for trialing exactly how Mastra workflows suspend and resume with human input

We're committed to continued first-class support for AI SDK, assistant-ui, and CopilotKit.

Try it out

Check out the live demo at ui-dojo.mastra.ai to see all the implementations side by side.

The full source is on GitHub: github.com/mastra-ai/ui-dojo

Stay up to date