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

PathBest fitAngular setup
Your components, display onlyThe agent should show a component and nothing else runsregisterComponent
Your componentsKnown data shapes and application actionsregisterFrontendTool or registerRenderToolCall with a component
A2UIA server emits A2UI operations or snapshotsSet a2ui.catalog in provideCopilotKit to turn on the built-in renderer; without a catalog A2UI stays off
Open Generative UIThe agent produces streamed HTML, CSS, and script expressionsSet openGenerativeUI in provideCopilotKit
MCP AppsAn MCP server returns an interactive app resourceAdd provideMCPApps() from @copilotkit/angular/mcp-apps

Next steps

How is this guide?