Audience
AI product developers building interactive agent-powered applications that need structured streaming, tool calls, shared state, and human-in-the-loop control
About AG-UI
AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications. Built for simplicity and flexibility, it enables seamless integration between AI agents, real-time user context, and user interfaces. AG-UI is designed for agent-human interaction: during agent executions, backends emit events compatible with standard AG-UI event types, and agent backends can accept simple AG-UI-compatible inputs as arguments. It works with any event transport, including SSE, WebSockets, webhooks, and other streaming systems, while providing a flexible middleware layer that ensures compatibility across diverse environments. AG-UI brings agents into user-facing applications and complements the wider agentic protocol stack: MCP gives agents tools, A2A allows agents to communicate with other agents, and AG-UI connects agents directly to the user interface.