AG-UI is a lightweight, event-based protocol that standardizes how AI agents connect to front-end applications. Built for simplicity and flexibility, it enables seamless integration between your AI agents and user interfaces.
AG-UI is an open, lightweight, event-based protocol for agent-human interaction, designed for simplicity & flexibility:
- During agent executions, agent backends emit events compatible with one of AG-UI's ~16 standard event types
- Agent backends can accept one of a few simple AG-UI compatible inputs as arguments
AG-UI includes a flexible middleware layer that ensures compatibility across diverse environments:
- Works with any event transport (SSE, WebSockets, webhooks, etc.)
- Allows for loose event format matching, enabling broad agent and app interoperability
It also ships with a reference HTTP implementation and default connector to help teams get started fast.
AG-UI is complementary to the other 2 top agentic protocols
- MCP gives agents tools
- A2A allows agents to communicate with other agents
- AG-UI brings agents into user-facing applications
AG-UI was developed based on real-world requirements and practical experience building in-app agent interactions.
AG-UI is complementary to the other 2 top agentic protocols
- MCP gives agents tools
- A2A allows agents to communicate with other agents
- AG-UI brings agents into user-facing applications
- π¬ Real-time agentic chat with streaming
- π Bi-directional state synchronization
- π§© Generative UI and structured messages
- π§ Real-time context enrichment
- π οΈ Frontend tool integration
- π§βπ» Human-in-the-loop collaboration
AG-UI integrates with many popular agent frameworks
Framework | Status | AG-UI Resources |
---|---|---|
No-framework | β Supported | β‘οΈ Docs coming soon |
LangGraph | β Supported | β‘οΈ Demo |
Mastra | β Supported | β‘οΈ Demo |
CrewAI | β Supported | β‘οΈ Demo |
AG2 | β Supported | β‘οΈ Demo |
Agno | π οΈ In Progress | β |
LlamaIndex | π οΈ In Progress | β |
Pydantic AI | π οΈ In Progress | β |
Vercel AI SDK | π οΈ In Progress | β |
OpenAI Agent SDK | π‘ Open to Contributions | β |
Google ADK | π‘ Open to Contributions | β |
AWS Bedrock Agents | π‘ Open to Contributions | β |
Cloudflare Agents | π‘ Open to Contributions | β |
Strands Agents SDK | π‘ Open to Contributions | β |
Language SDK | Status | AG-UI Resources |
---|---|---|
.NET | π οΈ In Progress | β‘οΈ PR |
Nim | π οΈ In Progress | β‘οΈ PR |
Rust | π οΈ In Progress |
View all supported frameworks β
Play with this hello-world app here: https://agui-demo.vercel.app/
agui-hello-world-2.mp4
The AG-UI Dojo showcases many of the building blocks that AG-UI supports.
The building blocks are designed to be simple and focused -- between 50-200 lines of code.
Choose your path:
Create a new AG-UI application in seconds:
npx create-ag-ui-app my-agent-app
View Documentation Β· Join Discord
- Build new integrations (Quickstart)
- Book a call to discuss an AG-UI integration with a new framework
- Join the Discord Community
Check out the Contributing guide
- AG-UI: Build an agent canvas with AG-UI
π Friday, June 20, 9:00 AM PT
AG-UI is open source and available under the MIT License.