Give your Mastra agents interactive UI components and dynamic workflows powered by Thesys C1
Create a new NextJS project
Create a new Mastra agent
Change the render function to use C1Chat
Implement the chat endpoint
Run the app
.env.local
file to include the Thesys API key and then add
the Mastra server to the next.config.ts
file and start the app.