
The Companion
thecompanion.sh- Good for
- Builders
- Category
- Development Tools
- Lets you
- Run several Claude Code and Codex sessions in one browser workspace

docs.ag-ui.com
AG-UI is an open, event-driven protocol that standardizes how front-end applications communicate with AI agents. It supports real-time streaming of state updates, human-in-the-loop interaction and transports such as SSE, webhooks and WebSockets.
Visit website (opens in a new tab)The Agent User Interaction Protocol (AG-UI) standardizes the way front-end applications communicate with AI agents through an open protocol. This framework functions as a universal translator for AI-driven systems, enabling seamless communication regardless of the agent's underlying technology or language.
AG-UI is geared towards enhancing the development of next-generation AI workflows that require:
AG-UI has formed partnerships with various popular agent frameworks, easing the integration process:
These integrations facilitate a smoother connection between front-end applications and preferred agent frameworks via the AG-UI protocol.
AG-UI functions on a lightweight, event-driven protocol. Its main components include:
This architecture underpins a flexible and efficient connection mechanism between AI agents and user interfaces.
The design of AG-UI is minimal and adaptable, allowing easy integration into various agent implementations. Key features include:
Event-Driven Communication: Agents are required to generate one or more of the 16 standardized event types, creating a flow of updates that clients can respond to.
Bidirectional Interaction: Agents can accept user inputs, promoting collaborative workflows where human users and AI agents can work alongside each other efficiently.
AG-UI includes a middleware layer that maximizes compatibility:
AG-UI focuses on the interaction layer between agents and users. Unlike other protocols, such as A2A (Agent-to-Agent) and MCP (Model Context Protocol), AG-UI specifically caters to the human-in-the-loop interactions and user interface updates.
These protocols serve different but complementary functions within the agent ecosystem.
For developers wishing to implement AG-UI, several paths are available:
The platform offers extensive resources, including:
The Agent User Interaction Protocol (AG-UI) stands out as a crucial framework for facilitating effective communication between AI agents and users. By providing a standardized approach to integration, supporting real-time interactivity, and ensuring compatibility with other frameworks, AG-UI meets the demands of modern AI applications.
AG-UI is particularly useful for:
With its flexible architecture and expansive integration opportunities, AG-UI provides the foundation necessary for the next generation of intelligent applications.
Ready to try it? Visit docs.ag-ui.com (opens in a new tab)



