Skip to main content

AG-UI (Agent-User Interaction Protocol)

AG-UI (Agent-User Interaction Protocol)

  • AI coding
  • Stage 3 · Going Deeper
  • refs checked 2026-11-21
What problem it solves

Turn one agent run into a structured event stream so the front end can render text deltas, tool calls, shared state and human approvals in real time instead of waiting for a final answer.

What it is
AG-UI is an open protocol between an agent and a user-facing application: the client starts a run and the agent emits ordered events covering text deltas, tool calls, state patches, reasoning, interrupts and resumes. It fills the agent-to-UI segment. MCP connects agents to tools, A2A connects agents to other agents, and AG-UI brings the agent into the interface; an application can use all three.
Why it matters

A chat box can show text, but a real agent calls tools, changes state and pauses for approval. Without a shared event stream every framework reinvents its own front-end adapter, and switching frameworks means rebuilding it.

Chinese aliases

Sources
  • AG-UI official repository and 1.0 specification ↗
  • AG-UI specification draft ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →