AG-UI
ag-ui.com
Open, event-based protocol for connecting AI agents to frontend apps: streaming events, state and tool calls over any transport.
- GitHub stars
- 21,369
- License
- MIT
- Language
- TypeScript
- Pricing
- Open source
- Published
- Nov 15, 2026
Next steps
- FastMCP
Both tools are listed under AI API, AI Developer Tools, and mcp.
- AgentClock
Both tools are listed under AI API, AI Developer Tools, and mcp.
- Pidgeon
Both tools are listed under AI API, AI Agent, and mcp.
- Strix
- Pi
- Daily Stock Analysis (DSA)
What it does
AG-UI (Agent-User Interaction Protocol) standardizes how AI agent backends talk to user-facing applications. During a run, an agent emits events matching about 16 standard event types and accepts a few simple inputs; a flexible middleware layer works over SSE, WebSockets, webhooks or other transports and allows loose format matching. It ships a reference HTTP implementation and default connector, a create-ag-ui-app starter and the AG-UI Dojo examples. The project positions it alongside MCP (tools for agents) and A2A (agent to agent). MIT licensed.

Use cases
- Stream an agent's progress, tool calls and state into a web app's UI in real time
- Connect an existing agent framework to a frontend without writing a custom transport
- Start a new agent app with npx create-ag-ui-app and try patterns in the AG-UI Dojo
Frequently asked questions
- What is AG-UI?
- AG-UI (Agent-User Interaction Protocol) is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications.
- How is it different from MCP and A2A?
- The project describes them as complementary: MCP gives agents tools, A2A lets agents talk to other agents, and AG-UI brings agents into user-facing apps.
- What transports does it support?
- Agents emit events matching about 16 standard event types, and the middleware works over any transport such as SSE, WebSockets or webhooks. A reference HTTP implementation is included.
- Is it free?
- Yes, AG-UI is MIT licensed.