930aaeb
CopilotKitDocs
  • Docs
  • Integrations
  • Reference
Get Started
QuickstartCoding Agents
Concepts
ArchitectureGenerative UI OverviewOSS vs Enterprise
Agentic Protocols
OverviewAG-UIAG-UI MiddlewareMCPA2A
Build Chat UIs
Prebuilt Components
CopilotChatCopilotSidebarCopilotPopup
Custom Look and Feel
CSS CustomizationSlots (Subcomponents)Fully Headless UIReasoning Messages
Multimodal AttachmentsVoice
Build Generative UI
Controlled
Tool-based Generative UITool RenderingState RenderingReasoning
Your Components
Display ComponentsInteractive Components
Declarative
A2UIDynamic Schema A2UIFixed Schema A2UI
Open-Ended
MCP Apps
Adding Agent Powers
Frontend ToolsShared State
Human-in-the-Loop
HITL OverviewPausing the Agent for InputHeadless Interrupts
Sub-AgentsAgent ConfigProgrammatic Control
Agents & Backends
Built-in Agent
Backend
Copilot RuntimeFactory ModeAG-UI
Runtime Server AdapterAuthentication
AG2
Shared state
Reading agent stateWriting agent state
Readables
Observe & Operate
InspectorVS Code Extension
Troubleshooting
Common Copilot IssuesError Debugging & ObservabilityDebug ModeAG-UI Event InspectorHook ExplorerError Observability Connectors
Enterprise
CopilotKit PremiumHow the Enterprise Intelligence Platform WorksHow Threads & Persistence WorkObservabilitySelf-Hosting IntelligenceThreads
Deploy
AWS AgentCore
What's New
Full MCP Apps SupportLangGraph Deep Agents in CopilotKitA2UI Launches with full AG-UI SupportCopilotKit v1.50Generative UI Spec SupportA2A and MCP Handshake
Migrate
Migrate to V2Migrate to 1.8.2
Other
Contributing
Code ContributionsDocumentation Contributions
Anonymous Telemetry
AG2What's NewGenerative UI Spec Support

Generative UI Spec Support

CopilotKit now supports all major Generative UI specifications

Generative UI Specs Generative UI Specs

Generative UI Specifications#

Several recently released specifications enable agents to return generative UI, increasing the power and flexibility of the Agent-to-User conversation.

A2UI, MCP Apps, and Open-JSON-UI are all generative UI specifications that allow agents to respond to users not only with text but also with dynamic UI components. CopilotKit now provides universal support for all major Generative UI specifications.

SpecificationOrigin / MaintainerPurpose
A2UIGoogleA declarative, LLM-friendly Generative UI spec. JSONL-based and streaming, designed for platform-agnostic rendering.
Open-JSON-UIOpenAIAn open standardization of OpenAI's internal declarative Generative UI schema.
MCP AppsMCP EcosystemIframe-based Generative UI extending MCP, enabling servers to return interactive UI components.

AG-UI vs Generative UI Specs#

Despite the naming similarities, AG-UI is not a generative UI specification — it's a User Interaction protocol that provides the bi-directional runtime connection between the agent and the application.

AG-UI natively supports all of the above generative UI specs and allows developers to define their own custom generative UI standards as well.

Learn More#

Explore each specification in detail:

  • A2UI - Google's declarative Generative UI spec
  • Open-JSON-UI - OpenAI's open Generative UI standard
  • MCP Apps - Iframe-based Generative UI extending MCP

Or learn about related protocols:

  • AG-UI Protocol - The user interaction protocol that supports all these specs
  • Generative UI Guide - Build with Generative UI in CopilotKit