AG-UI Protocol
The Open Protocol for Agent<->User Interaction
AG-UI is an open, lightweight, event-based protocol that defines how AI agents, users, and applications stay in sync. It is the connective layer that transforms agents from background processes into true collaborators — transparent, reliable, and always aligned with the user.

AG-UI isn't a siloed solution — it's being developed by the CopilotKit team in collaboration with leading frameworks and platforms developers already trust:
What AG-UI Enables
Shared State: Bi-directional synchronization of agent and application state — either read/write or read-only.
Why AG-UI Matters
For Developers
Build agentic apps faster with a standard interface for agent ↔ UI communication.
For Enterprises
Deploy with confidence, with governance and analytics built in at the boundary.
For the Ecosystem
Prevent fragmentation with a shared protocol designed for broad adoption.
Bringing AG-UI Features into your app with CopilotKit
CopilotKit builds on AG-UI with tools for production-ready agentic apps
CopilotKit AG-UI Clients
First-party React and Angular AG-UI clients, with community clients emerging across Golang, Rust, Java, and more.
// React AG-UI Client import { useAGUI } from '@copilotkit/react' const MyComponent = () => { const { agent, ui } = useAGUI() // Your component logic }
Copilot Cloud - Hosted AG-UI Platform
Protection
Guardrails at the boundary: prevent prompt injection, block sensitive data leaks, enforce brand and compliance guidelines.
Cockpit
Coming SoonAI product analytics for visibility into every agent ↔ user interaction.
Learning
Coming SoonSupport for self-improving agents through implicit human feedback (RLiHF).
Frequently Asked Questions
What is AG-UI?
AG-UI is an event-based protocol that synchronizes agents, users, and applications, enabling reliable collaboration.
How does AG-UI compare to MCP or A2A?
While MCP (Model Context Protocol) and A2A (Agent-to-Agent) handle context and agent coordination, AG-UI defines the layer of interaction between the user, the application, and the agent.
Why is AG-UI important for enterprise adoption?
It provides transparency, safety, and control at the most critical boundary — where users interact with agents.
Protocol Comparison
Handles context and model communication
Focus: Model ↔ Context
Agent coordination and communication
Focus: Agent ↔ Agent
User, application, and agent synchronization
Focus: User ↔ Agent ↔ Application
Ready to Get Started?
Explore the protocol specification and start building agentic applications with CopilotKit and AG-UI.