Chat, tools & workflows
Build a chat interface with tools and a small workflow using the AI SDK, Mastra, and Next.js, and see how the pieces fit.
- Status
- Planned
- Level
- Intermediate
- Length
- 3 hours
- When
- To be announced
Most AI features in a web app are a chat box, a few tools, and a workflow that ties them together. This lab builds each of the three with common open-source tools.
What you will build
A small Next.js app with a streaming chat, one tool, and one workflow, so you can compare approaches and choose what fits your own project. React and Vite or Dioxus teams can follow along, because the ideas carry over.