Skip to content

AG-UI agent-user interaction protocol definition

AG-UI (Agent-User Interaction Protocol) is an open, event-based protocol that defines how an AI agent backend streams its activity (text, tool calls, state changes, and requests for human input) to a user-facing application, so any compliant frontend can render any compliant agent.


A diagram explaining AG-UI agent-user interaction protocol in terms of related concepts.

How do you use AG-UI to connect an agent to your app's UI?

Why do agents need AG-UI instead of plain response streaming?

What event types does the AG-UI protocol define?

How is AG-UI different from MCP and A2A?

How does AG-UI handle human-in-the-loop approvals?

Where does content come from in an AG-UI application?

Discover More with Sanity

Now that you've learned about AG-UI agent-user interaction protocol, why not start exploring what Sanity has to offer? Dive into our platform and see how it can support your content needs.

Last updated: