# AI SDK, Mastra, and Next.js: a hands-on lab | Kaba Digital Inc.

> Build a chat interface with tools and a small workflow using the AI SDK, Mastra, and Next.js, and see how the pieces fit.

Source: https://kabadigitalinc.com/labs/ai-sdk-mastra-nextjs/

[← All labs](https://kabadigitalinc.com/labs/)

# 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

[Get notified of dates ↗](https://kabadigitalinc.com/newsletter/)

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.

What you build

* A streaming chat interface
* A tool the model can call
* A small multi-step workflow

Before you come

* Some React or Next.js
* A laptop with Node installed
* An API key for one model provider

[Get notified of dates](https://kabadigitalinc.com/newsletter/)[Book it for your team](https://kabadigitalinc.com/workshops/)

## An idea worth building?

Bring the problem, the insight, and the ambition. Let’s figure out what we could build together.

[Start a conversation ↗ ](https://kabadigitalinc.com/contact/)
