AG-UI (Agent-User Interaction Protocol)
AG-UI (Agent-User Interaction Protocol)
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
Terms in the same area
What you can do now
Agent atlas: which clients, runtimes and tools you can install ↗
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.