Loading...
AG-UI Protocol (Agent-User Interaction)(AGUI)
Open, event-based protocol (originated by CopilotKit, 2025) that standardizes the last mile between an agent backend and any frontend. The backend streams roughly 16 structured event types (text and token deltas, tool-call start/args/result, state snapshots and deltas, run lifecycle, and cancellation) over SSE, WebSocket, or plain HTTP, so a frontend can render live agent activity and feed user actions back into the same execution loop, framework-agnostically. Native emitters exist for LangGraph, CrewAI, Mastra, and the Microsoft Agent Framework, among others. It is the agent-to-UI edge of the protocol triangle, sitting beside MCP (agent-to-tool) and A2A (agent-to-agent). Distinct from `chat-interface-patterns`: those are frontend rendering conventions, whereas AG-UI is the wire protocol that carries the underlying event stream.
Loading technique guideβ¦
AG-UI Protocol (Agent-User Interaction)(AGUI)
Open, event-based protocol (originated by CopilotKit, 2025) that standardizes the last mile between an agent backend and any frontend. The backend streams roughly 16 structured event types (text and token deltas, tool-call start/args/result, state snapshots and deltas, run lifecycle, and cancellation) over SSE, WebSocket, or plain HTTP, so a frontend can render live agent activity and feed user actions back into the same execution loop, framework-agnostically. Native emitters exist for LangGraph, CrewAI, Mastra, and the Microsoft Agent Framework, among others. It is the agent-to-UI edge of the protocol triangle, sitting beside MCP (agent-to-tool) and A2A (agent-to-agent). Distinct from `chat-interface-patterns`: those are frontend rendering conventions, whereas AG-UI is the wire protocol that carries the underlying event stream.
Loading technique guideβ¦