AG-UI is a lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications. Built for simplicity and flexibility, it enables seamless integration between AI agents, real time user context, and user interfaces.
Join our Discord β Read the Docs β Follow us β

Create a new AG-UI application in seconds:
npx create-ag-ui-app my-agent-app
- Build new integrations (Quickstart)
- Book a call to discuss an AG-UI integration with a new framework
- Join the Discord Community
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.
Learn more about the specs β
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 | β 1st Party Integration |
---|---|---|---|
No-framework | β Supported | β‘οΈ Docs coming soon | β |
LangGraph | β Supported | β‘οΈ Demo | β |
Mastra | β Supported | β‘οΈ Demo | β |
CrewAI | β Supported | β‘οΈ Demo | β |
AG2 | β Supported | β‘οΈ Demo | β |
Agno | β Supported | β‘οΈ Docs | β |
LlamaIndex | β Supported | β‘οΈ Docs | β |
Pydantic AI | β Supported | β‘οΈ Docs | β |
Vercel AI SDK | π οΈ In Progress | β | β¬ |
Google ADK | π οΈ In Progress | β | β¬ |
OpenAI Agent SDK | π‘ Open to Contributions | β | β¬ |
AWS Bedrock Agents | π‘ Open to Contributions | β | β¬ |
Cloudflare Agents | π‘ Open to Contributions | β | β¬ |
Strands Agents SDK | π‘ Open to Contributions | β | β¬ |
View all supported frameworks β
Language SDK | Status | AG-UI Resources |
---|---|---|
Kotlin | π οΈ In Progress | β‘οΈ GitHub Source |
.NET | π οΈ In Progress | β‘οΈ PR |
Nim | π οΈ In Progress | β‘οΈ PR |
Golang | π οΈ In Progress | β‘οΈ Issue |
View all supported frameworks β
Video:
agui-hello-world-2.mp4
The AG-UI Dojo showcases many of the building blocks that AG-UI supports (AG-UI Dojo Source Code).
The building blocks are designed to be simple and focused -- between 50-200 lines of code.
dojo-hello.mp4
Check out the Contributing guide
- Weekely AG-UI Working Group
π Follow the CopilotKit Luma Events Calendar
Check out the AG-UI Roadmap to see what's being built and where you can jump in.
AG-UI is open source software licensed as MIT.
Maintained by AG Protocol.