AG-UI is an open, 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 โ ย ย ย Go to the AG-UI Dojo โ ย ย ย Follow us โ
Create a new AG-UI application in seconds:
npx create-ag-ui-app my-agent-app- The AG-UI Dojo
- Build AG-UI-powered applications(Quickstart)
- Build new AG-UI framework 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 was born from CopilotKit's initial partnership with LangGraph and CrewAI - and brings the incredibly popular agent-user-interactivity infrastructure to the wider agentic ecosystem.
| Framework | Status | AG-UI Resources |
|---|---|---|
| Direct to LLM | โ Supported | โก๏ธ Docs |
| Framework | Status | AG-UI Resources |
|---|---|---|
| LangGraph | โ Supported | โก๏ธ Docs ๐ฎ Demos |
| Google ADK | โ Supported | โก๏ธ Docs ๐ฎ Demos |
| CrewAI | โ Supported | โก๏ธ Docs ๐ฎ Demos |
| Framework | Status | AG-UI Resources |
|---|---|---|
| Mastra | โ Supported | โก๏ธ Docs ๐ฎ Demos |
| Pydantic AI | โ Supported | โก๏ธ Docs ๐ฎ Demos |
| Agno | โ Supported | โก๏ธ Docs ๐ฎ Demos |
| LlamaIndex | โ Supported | โก๏ธ Docs ๐ฎ Demos |
| AG2 | โ Supported | โก๏ธ Docs |
| AWS Bedrock Agents | ๐ ๏ธ In Progress | โ |
| AWS Strands Agents | ๐ ๏ธ In Progress | โ |
| Microsoft Agent Framework | ๐ ๏ธ In Progress | โ |
| Framework | Status | AG-UI Resources |
|---|---|---|
| Vercel AI SDK | โ Supported | โก๏ธ Docs |
| OpenAI Agent SDK | ๐ ๏ธ In Progress | โ |
| Cloudflare Agents | ๐ ๏ธ In Progress | โ |
| Protocols | Status | AG-UI Resources | Integrations |
|---|---|---|---|
| A2A | โ Supported | โก๏ธ Docs | Partnership |
| SDK | Status | AG-UI Resources | Integrations |
|---|---|---|---|
| Kotlin | โ Supported | โก๏ธ Getting Started | Community |
| Golang | โ Supported | โก๏ธ Getting Started | Community |
| Java | โ Supported | โก๏ธ Getting Started | Community |
| .NET | ๐ ๏ธ In Progress | โก๏ธ PR | Community |
| Nim | ๐ ๏ธ In Progress | โก๏ธ PR | Community |
| Rust | ๐ ๏ธ In Progress | โก๏ธ PR | Community |
| Dart | ๐ ๏ธ In Progress | โก๏ธ PR | Community |
| Flowise | ๐ ๏ธ In Progress | โก๏ธ GitHub Source | Community |
| Langflow | ๐ ๏ธ In Progress | โก๏ธ GitHub Source | Community |
| Client | Status | AG-UI Resources | Integrations |
|---|---|---|---|
| CopilotKit | โ Supported | โก๏ธ Getting Started | 1st Party |
| Terminal + Agent | โ Supported | โก๏ธ Getting Started | Community |
| React Native | ๐ ๏ธ Help Wanted | โก๏ธ GitHub Source | Community |
View all supported frameworks โ
Video:
agui-hello-world-2.mp4
The AG-UI Dojo demonstrates AG-UI's core building blocks through simple, focused examplesโeach just 50-200 lines of code.
View the source code for the Dojo and all framework integrations here.
dojo.mp4
Check out the Contributing guide
- Bi-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.
