Generative UI
Choose how your Angular app renders agent-driven UI, from your own components to A2UI, Open Generative UI, and MCP Apps.
Generative UI lets an agent show UI in chat, not only text. Angular supports several paths. Pick the one that fits your agent, then follow its page.
Choose a generative UI path
| Path | Best fit | Angular setup |
|---|---|---|
| Your components, display only | The agent should show a component and nothing else runs | registerComponent |
| Your components | Known data shapes and application actions | registerFrontendTool or registerRenderToolCall with a component |
| A2UI | A server emits A2UI operations or snapshots | Set a2ui.catalog in provideCopilotKit to turn on the built-in renderer; without a catalog A2UI stays off |
| Open Generative UI | The agent produces streamed HTML, CSS, and script expressions | Set openGenerativeUI in provideCopilotKit |
| MCP Apps | An MCP server returns an interactive app resource | Add provideMCPApps() from @copilotkit/angular/mcp-apps |
Next steps
How is this guide?