Build Interactive Agents with Generative UI
Instructor: Atai Barkai
- Intermediate
- 1 Hour 25 Minutes
- 8 Video Lessons
- 5 Code Examples
- Instructor: Atai Barkai
What you'll learn
Understand the three approaches to building agent interfaces on the Generative UI Spectrum: Controlled, Declarative, and Open-Ended Gen UI, and when to use each.
Build a fullstack agent app by connecting a LangChain agent to a React frontend using CopilotKit and the AG-UI protocol, with agents that render charts, cards, and forms on demand.
Use MCP Apps to connect your agent to third-party applications, then go beyond the chat window and build products where the agent and user work on the same data, side by side.
About this course
Introducing Build Interactive Agents with Generative UI, taught by Atai Barkai, co-founder of CopilotKit, the team behind the AG-UI protocol.
Most agents today still talk to users in plain text. But users don’t just want to read a response, they want something to see and act on. This course teaches you to build that interactivity: a fullstack agent interface where the agent renders charts, forms, whiteboards, and interactive components on demand.
You’ll work across the full Generative UI Spectrum, from hand-crafted components you control precisely, to declarative layouts the agent assembles from building blocks, all the way to open-ended experiences powered by MCP Apps. You’ll finish by building a canvas application where the agent works alongside the user on shared data. By the end, you’ll have a production-ready fullstack agent built on CopilotKit and AG-UI, an open protocol with first-party integrations across LangGraph, Google, AWS, Microsoft, and more.
In detail, you’ll:
- Learn the three pillars of the Generative UI Spectrum and when to use each.
- Connect a LangChain Deep Agent and a Google ADK Agent to a React frontend using CopilotKit and AG-UI.
- Build Controlled Generative UI: define custom components like pie charts and flight cards that the agent renders on demand.
- Use A2UI, an open spec co-developed with Google, to let your agent assemble layouts from a catalog of reusable building blocks.
- Connect your agent to MCP Apps and explore fully open-ended interfaces the agent creates from scratch.
- Build a canvas app where the agent and frontend share live state, beyond the chat window.
Throughout the course, you’ll build on the open-source AG-UI protocol — so these skills travel with you across the agentic ecosystem.
Who should join?
Developers building AI agents who want to create richer, more interactive user experiences. Comfort with React and Python is recommended, along with basic familiarity with AI agents or LLM application development. Useful for fullstack developers, AI engineers, and frontend-leaning builders shipping agent features into production apps.
Course Outline
8 Lessons・5 Code ExamplesIntroduction
Video・3 mins
Lesson 1: Intro to Generative UI
Video・11 mins
Lesson 2: Agent Chat
Video with code examples・11 mins
Lesson 3: Controlled Generative UI
Video with code examples・10 mins
Lesson 4: Declarative Generative UI
Video with code examples・15 mins
Lesson 5: Open Generative UI
Video with code examples・9 mins
Lesson 6: Canvas Applications
Video with code examples・12 mins
Conclusion
Video・1 mins
Quiz
Reading・10 mins
Instructor
Build Interactive Agents with Generative UI
- Intermediate
- 1 Hour 25 Minutes
- 8 Video Lessons
- 5 Code Examples
- Instructor: Atai Barkai
Course access is free for a limited time during the DeepLearning.AI learning platform beta!
Want to learn more about Generative AI?
Keep learning with updates on curated AI news, courses, and events, as well as Andrew Ng’s thoughts from DeepLearning.AI!





