AG-UI: an open protocol that connects AI agents to frontend applications
AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications. It is designed for simplicity and flexibility and aims to link agents, real-time user context and user interfaces. During agent runs, backends emit events compatible with one of AG-UI's ~16 standard event types, and they can accept one of a few simple AG-UI compatible inputs as arguments.
The protocol includes a middleware layer and works with any event transport, such as SSE[1], WebSockets or webhooks. It ships with a reference HTTP implementation and a default connector. The project describes itself as complementary to MCP[2], which gives agents tools, and to A2A[3], which lets agents communicate with other agents.
The listed features include real-time chat with streaming, bi-directional state synchronization, generative UI, frontend tool integration and human-in-the-loop collaboration[4]. LangChain and CrewAI are named as initial partners, and the README lists first-party integrations such as Microsoft Agent Framework and Google ADK. The repository had 790 stars on 14 November 2026.
Links from the post and discussion
- The AG-UI Dojo, demos of integrations dojo.ag-ui.com
- Quickstart for building AG-UI applications docs.ag-ui.com
- AG-UI specs introduction go.copilotkit.ai
- AG-UI Discord community discord.gg
Sources
-
GitHub Trending
ag-ui-protocol/ag-ui





