Generative UI and shared state
A chat answer does not have to be text. Watch a recipe flow's tool call turn into a card, a form that the user and the agent both edit, and a tool that runs inside the browser to switch the page to dark mode.
13 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 13 minutes.