Agents
Generative UI vs Agentic UI: What's the Difference?
Generative UI lets a model render interface; agentic UI shows and steers agents that act. Definitions, examples, protocols and a third kind: UI agents operate.
· Raycanvas
Generative UI is interface a model produces at runtime, such as a chart or form rendered from a tool call. Agentic UI is interface for working with agents that act: chat, steps, tool calls, approvals and shared state. A third kind, operable UI, is your existing interface built so an agent can read and use its controls.
Skip the build: Agent kit is a free, MIT-licensed shadcn/ui registry item (code, not a visual component) that covers the operable kind: a UI SDK bridge, a chat hook that runs a model's
snapshot,actandquerycalls on your existing UI SDK components and logs each step, and an/api/agentroute. It does not generate UI. Add it withnpx shadcn@latest add @panelo/agent-kit(registry setup), then change anything: the source is yours.
What is generative UI?
Generative UI means the model decides, at least partly, what interface the person sees. Instead of replying "it is 18°C in Lisbon," the app shows a weather card.
The AI SDK docs define it practically: "Generative UI is the process of connecting the results of a tool call to a React component." The model calls a tool, the tool returns data, and your app renders a component you wrote with that data.
There are three common ways to do it, ranging from tight control to full freedom:
| Style | Who designs the UI | Example |
|---|---|---|
| Component picking | You. The model chooses from components you registered and fills in props. | AI SDK tool parts mapped to React components; CopilotKit's registered components |
| Declarative spec | You define the catalogue; the agent sends a description of a view | Google's A2UI: "the agent describes what to show, and every app draws the UI with its own native components" |
| Full mini-app | The tool ships its own HTML and JavaScript | MCP Apps: a tool points to a ui:// resource that "the host renders in a sandboxed iframe" |
CopilotKit's README lists all three as options its agents can use.
What is agentic UI?
"Agentic UI" has no formal definition. In practice people use it for the interface around an agent that does work: it shows what the agent is doing, lets the person steer it, and lets the person approve or stop it.
Typical parts:
- A chat or command surface to give instructions
- A trace of steps, tool calls and reasoning
- Approval prompts before risky actions
- State the agent and app share, like a draft or a plan
- A way to interrupt, edit or take over
You can see this in the component lists. shadcn/ui's AI Elements patterns include Tool, Plan, Subagent, Reasoning and Confirmation. CopilotKit's README lists shared state, frontend tools and human-in-the-loop where "agents pause for input, confirmation, or edits before they act."
Agentic UI often contains generative UI. A tool call that renders a chart inside an agent's trace is both.
What is operable UI, the third kind?
Generative and agentic UI are both about the agent's own surface: what it renders and how you watch it. There is a third relationship: the agent uses the interface you already have.
Think of an analytics dashboard. A person can filter by region, switch to weekly, and pause a workflow. An operable version of that dashboard lets an agent do the same things, through the same controls, while the person watches.
Vercel's UI SDK (in beta) is built for this. Its agent bridge lists the page's components as named controls with their state and actions, and the agent changes them through each component's API. "Change callbacks receive source: "agent" and can cancel a change too." Controls that need a person carry data-agent-confirm.
We call this operable UI or agent-ready UI. The term is newer than the other two and not settled. See what agent-ready UI is for a longer definition.
How do the three compare?
| Generative UI | Agentic UI | Operable UI | |
|---|---|---|---|
| Question it answers | What should the person see right now? | What is the agent doing, and should it continue? | How can the agent use this app? |
| Who renders | The model picks or describes the UI | Your app, around the agent | Your app, as it already is |
| Where it lives | In the chat stream or a canvas | Chat, sidebars, traces, prompts | The whole product |
| Typical tools | AI SDK UI, A2UI, MCP Apps, CopilotKit | CopilotKit, assistant-ui, AI Elements | Vercel's UI SDK agent bridge, frontend tools |
| Main risk | Layout the person did not expect | Approval fatigue, hidden steps | Agent changes the wrong control |
How do AG-UI, A2UI and MCP Apps fit in?
These are protocols, and they map onto the categories above:
- AG-UI is the Agent–User Interaction protocol from CopilotKit. It connects an agent backend to a frontend: messages, state, tool calls. It is plumbing for agentic UI.
- A2UI is Google's open protocol for generative UI. Google released A2UI 1.0 in November 2026. The agent describes a view; the app renders it with registered native components, and Google says "sensitive values never reach the model."
- MCP Apps is the first official Model Context Protocol extension, announced January 26, 2026. A tool can return an interactive interface rendered in a sandboxed iframe inside clients such as Claude, ChatGPT, Goose and VS Code Insiders.
They are not rivals in every case. Google says A2UI's web and Flutter renderers "also work inside MCP Apps," and that "A2UI and MCP Apps work together."
Which one do you need?
Start from the job:
- The answer is better as an interface than as text (a chart, a form, a booking card). Use generative UI. Prefer component picking or a declarative spec if you need the result to match your design system.
- The agent runs multi-step work the person should supervise. Build agentic UI: a step trace, approvals and a stop button. A library like CopilotKit or assistant-ui saves time.
- People already use your app, and you want the agent to do things in it. Make the UI operable, so the agent works through the controls people already trust instead of a parallel set of tools.
Most products end up with two or all three. A dashboard assistant might chat (agentic), answer with a small chart (generative), and apply a filter to the real dashboard (operable).
For the operable part, Panelo UI's free agent kit wires a model to the UI SDK bridge, with a chat hook that logs each step and holds marked steps until the person approves.
What are the risks of each?
- Generative UI can produce layouts the person did not expect, and the full mini-app style runs third-party code, which is why MCP Apps sandboxes it in an iframe.
- Agentic UI fails when people stop reading the trace or approve by habit. Keep approvals for actions that matter. See human-in-the-loop approval UI.
- Operable UI gives the agent real power. Label controls clearly, mark consequential ones for confirmation, and use
source: "agent"to apply stricter rules to agent changes.
Where does Panelo UI fit?
Panelo UI focuses on the third kind. Its shadcn/ui dashboard components and pages are built on Vercel's UI SDK, so an agent can read and operate them, and its free agent-kit adds a chat hook and approval prompts. It does not do generative UI. Try the agent demo or browse the components. For how this compares with screenshot agents, read computer use vs browser agents vs in-app agents.
Get this working in your app
Add the Panelo registry to components.json:
"registries": {
"@panelo": "https://www.paneloui.com/r/{name}.json"
}
Then install the kit:
npx shadcn@latest add @panelo/agent-kit
You get components/panelo-ui/lib/agent.ts (the bridge), components/panelo-ui/hooks/use-agent-chat.ts (the useAgentChat hook) and app/api/agent/route.ts, plus the panelo-theme tokens. Set GROQ_API_KEY on your server, a free key from console.groq.com; nothing else in the kit needs a key. The bridge sees UI SDK components only, so pair it with UI SDK controls or Panelo blocks. In a client component, call useAgentChat(), render its entries (messages and a plain-words log of each step) and its confirm question, and pass the person's text to send().
The kit also covers part of the agentic side: the step log in entries is a trace, and confirm is an approval prompt waiting to be drawn. Generative UI stays with the AI SDK or the protocols above.
See it live: the agent demo is a dashboard an AI agent operates through Vercel's UI SDK, and it asks before anything destructive.
The Pro step: AI Workflow Builder is an AI workflow builder with a chat-driven automation thread, workflow preview tabs, a node-graph editor and a sample output table. Panelo Pro is a one-time payment with no subscription: see plans.
FAQ
What is the difference between generative UI and agentic UI?
Generative UI is interface the model produces or picks at runtime. Agentic UI is the interface for supervising and steering an agent that takes actions. An agentic interface often includes generative pieces.
Is generative UI the same as v0 or AI code generation?
No. Code generators write source code you then ship. Generative UI renders interface at runtime, inside the running app, based on the model's output.
Is A2UI a competitor to MCP Apps?
Not exactly. A2UI describes views for the app to render natively, while MCP Apps ships HTML in a sandboxed iframe. Google says A2UI renderers can work inside MCP Apps.
What is AG-UI?
AG-UI is an open Agent–User Interaction protocol created by CopilotKit. It connects agent backends to frontends, and libraries such as assistant-ui also support it.
Do I need generative UI to build an AI agent?
No. Many useful agents work with text plus an agentic surface (steps and approvals), or by operating an existing interface.
Sources
- AI SDK, generative user interfaces: https://ai-sdk.dev/docs/ai-sdk-ui/generative-user-interfaces
- Google Developers Blog, A2UI 1.0: https://developers.googleblog.com/en/a2ui-1-0-generative-ui
- MCP blog, MCP Apps (January 26, 2026): https://blog.modelcontextprotocol.io/posts/2026-01-26-mcp-apps/
- CopilotKit README: https://github.com/CopilotKit/CopilotKit
- assistant-ui README: https://github.com/assistant-ui/assistant-ui
- shadcn/ui AI Elements: https://ui.shadcn.com/docs/ai-elements
- Vercel's UI SDK, agents docs: https://ui-sdk.dev/docs/agents