The Agent-User Interaction Protocol
AG-UI is an open protocol for connecting AI agents to frontend applications. It defines a standard event-based interface for streaming agent state, tool calls, and generative UI to any client.
Concepts
Architecture, events, agents, state, tools, middleware
Quick Start
Build your first AG-UI integration step by step
JavaScript SDK
@ag-ui/core, @ag-ui/client, @ag-ui/encoder
Python SDK
ag_ui.core, ag_ui.encoder
Tutorials
Hands-on guides and debugging walkthroughs
GitHub
Open source · Apache 2.0 · ag-ui-protocol/ag-ui
2 SDKs · 15+ framework adapters · Open protocol