The main open-source projects in the Agentic GUI protocol space (also called Agentic UI or Generative UI protocols) are Google's A2UI and the CopilotKit team's AG-UI. These two projects form the core of the current ecosystem and address the same problem space ("AI2UI" is essentially an alternate name or typo for A2UI).
Both protocols solve a core challenge: allowing AI agents to safely generate or interact with rich UI across platforms — no longer limited to plain text output — while avoiding the security risks (such as XSS) of directly executing HTML/code, and supporting native rendering on web, mobile, and desktop.
1. A2UI (Agent-to-User Interface) — Google's declarative UI protocol
- GitHub: https://github.com/google/A2UI (Apache 2.0 license, actively developed)
- Website: https://a2ui.org/
- Key features:
- Agents describe UI intent using safe, declarative JSON components from a whitelisted component library (~18 base components such as rows, columns, buttons, and forms, in Material style).
- Clients render with native components — official renderers exist for Lit, Angular, Flutter, React, and more — ensuring cross-platform consistency and safety.
- Designed specifically for "agents generating dynamic interactive interfaces," and already integrated into Google Chat, Vertex AI, and other products.
- Use cases: when an agent needs to generate forms, dashboards, rich chat interfaces, and other complex UI in real time.
- Community support: frameworks like CopilotKit and LangGraph already provide integration examples.
- GitHub: https://github.com/ag-ui-protocol/ag-ui (MIT license)
- Website/docs: https://www.copilotkit.ai/ag-ui
- Key features:
- A lightweight, event-driven protocol (SSE streaming plus 16 standard event types such as
TEXT_MESSAGE_CONTENT,TOOL_CALL_START,UI_UPDATE, etc.). - Handles real-time bidirectional synchronization between the agent backend and frontend app, mapping output from agent frameworks (LangGraph, CrewAI, ADK, etc.) directly to UI state.
- Highly complementary to A2UI: AG-UI handles "communication," A2UI handles "UI content format" — the two are often used together.
- Use cases: building full-stack agentic applications that need real-time streaming UI updates, tool call feedback, and user intervention.
- Strongest ecosystem: CopilotKit ( https://github.com/CopilotKit/CopilotKit ) is the official implementation, adopted by LangChain, AWS, Microsoft, and others, offering React/Angular SDKs and many Generative UI examples.
- A2A (Agent2Agent Protocol): Google-led agent-to-agent communication protocol ( https://github.com/a2aproject/A2A ) for multi-agent collaboration; can be combined with AG-UI/A2UI to push results to the frontend.
- MCP (Model Context Protocol): Anthropic-led tool/context protocol ( https://modelcontextprotocol.io/ ); some extensions support MCP Apps (interactive UI), but it is primarily for tool calling rather than pure GUI.
- To try A2UI directly: clone the Google repository and run the demo with Google ADK (Agent Development Kit).
- To quickly build a full-stack app: use CopilotKit + AG-UI + A2UI (official starter repos exist, e.g., with-agent-spec).