AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.
AG-UI: The Agent-User Interaction Protocol
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 โ
๐ Getting Started
Create a new AG-UI application in seconds:npx create-ag-ui-app my-agent-app
Useful Links:
- 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
What is AG-UI?
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
- Works with any event transport (SSE, WebSockets, webhooks, etc.)
- Allows for loose event format matching, enabling broad agent and app interoperability
Learn more about the specs โ
Why AG-UI?
AG-UI was developed based on real-world requirements and practical experience building in-app agent interactions.
Where does AGUI fit in the agentic protocol stack?
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
๐ Features
- ๐ฌ 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
๐ Supported Integrations
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.
1st party = the platforms that have AGโUI built in and provide documentation for guidance.
Frameworks
| Framework | Status | AG-UI Resources | | ------------------------------------------------------------------ | ------------------------ | -------------------------------------------------------------------------------- | | Built-in Agent | โ Supported | โก๏ธ Docs |
๐ค Partnerships
| Framework | Status | AG-UI Resources | | ---------- | ------- | ---------------- | | LangGraph | โ Supported | โก๏ธ Docs ๐ฎ Demos | | CrewAI | โ Supported | โก๏ธ Docs ๐ฎ Demos |๐งฉ 1st Party
| Framework | Status | AG-UI Resources | | ---------- | ------- | ---------------- | | Microsoft Agent Framework | โ Supported | โก๏ธ Docs ๐ฎ Demos | | Google ADK | โ Supported | โก๏ธ Docs ๐ฎ Demos | | AWS Strands Agents | โ Supported | โก๏ธ Docs ๐ฎ Demos | | Mastra | โ Supported | โก๏ธ Docs ๐ฎ Demos | | Pydantic AI | โ Supported | โก๏ธ Docs ๐ฎ Demos | | Agno | โ Supported | โก๏ธ Docs ๐ฎ Demos | | LlamaIndex | โ Supported | โก๏ธ Docs ๐ฎ Demos | | AG2 | โ Supported | โก๏ธ Docs ๐ฎ Demos | | AWS Bedrock Agents | ๐ ๏ธ In Progress | โ |๐ Community
| Framework | Status | AG-UI Resources | | ---------- | ------- | ---------------- | | Claude Agent SDK | โ Supported | ๐ฎ Demos | | Langroid | โ Supported | ๐ฎ Demos | | OpenAI Agent SDK | ๐ ๏ธ In Progress | โ | | Cloudflare Agents | ๐ ๏ธ In Progress | โ |Agent Interaction Protocols
| Protocols | Status | AG-UI Resources | Integrations | | ---------- | ------- | ---------------- | ------------- | | [A2A]() | โ Supported | โก๏ธ Docs | Partnership |
Infrastructure / Deployment
| Platform | Status | AG-UI Resources | Integrations | | ---------- | ------- | ---------------- | ------------- | | Amazon Bedrock AgentCore | โ Supported | โก๏ธ Docs | 1st Party |Specification (standard)
| Framework | Status | AG-UI Resources | | ---------- | ------- | ---------------- | | Oracle Agent Spec | โ Supported | โก๏ธ Docs ๐ฎ Demos |Generative UI
| Framework | Status | AG-UI Resources | | ---------- | ------- | ---------------- | | MCP Apps | โ Supported | โก๏ธ Docs ๐ฎ [Demos]() |SDKs
| SDK | Status | AG-UI Resources | Integrations | | --- | ------- | ---------------- | ------------- | | [Kotlin]() | โ Supported | โก๏ธ Getting Started | Community | | [Golang]() | โ Supported | โก๏ธ Getting Started | Community | | [Dart]() | โ Supported | โก๏ธ Getting Started | Community | | [Java]() | โ Supported | โก๏ธ Getting Started | Community | | [Rust]() | โ Supported | โก๏ธ Getting Started | Community | | [Ruby]() | โ Supported | โก๏ธ Getting Started | Community | | [C++]() | โ Supported | โก๏ธ GitHub Source | Community | | [.NET]() | ๐ ๏ธ In Progress | โก๏ธ PR | Community | | [Nim]() | ๐ ๏ธ In Progress | โก๏ธ PR | Community | | [Flowise]() | ๐ ๏ธ In Progress | โก๏ธ GitHub Source | Community | | [Langflow]() | ๐ ๏ธ In Progress | โก๏ธ GitHub Source | Community |
Clients
| 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 integrations โ
Examples
Hello World App
Video:
https://github.com/user-attachments/assets/18c03330-1ebc-4863-b2b8-cc6c3a4c7bae
https://agui-demo.vercel.app/
The AG-UI Dojo (Building-Blocks Viewer)
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.
https://github.com/user-attachments/assets/c298eea8-3f39-4a94-b968-7712429b0c49
๐๐ฝโโ๏ธ Contributing to AG-UI
Check out the Contributing guide
๐ Follow the CopilotKit Luma Events CalendarRoadmap
Check out the AG-UI Roadmap to see what's being built and where you can jump in.
๐ License
AG-UI is open source software licensed as MIT.