Skip to content

Lesson 8 of 12 · 5 min read

Generative UI with A2UI and MCP Apps

Generative UI lets an agent compose interface elements at run time without executing model output in your page. A2UI (Google, Apache-2.0, 1.0 in November 2026) is declarative data: the agent sends createSurface, updateComponents and updateDataModel messages, components form a flat list bound to a data model by JSON Pointer, and the client renders only components from a catalog it registered. MCP Apps, an official MCP extension, instead points a tool at a ui:// HTML template that the host renders in a sandboxed iframe and talks to over postMessage.

Premium lessonReviewed By the AIAgentInterviews editorial teamProduct details checked · What changed
Get full Premium access · $25

All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.

6 months · One payment · No auto-renewal

Practise it as an interviewer asks it

From the blog

Related lessons