AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.
AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to front-end applications.
➡️ See demos of AG-UI-enabled applications here
AG-UI is an open, lightweight, event-based protocol for agent-human interaction, designed for simplicity & flexibility:
AG-UI includes a flexible middleware layer that ensures compatibility across diverse environments:
It also ships with a reference HTTP implementation and default connector to help teams get started fast.
AG-UI was developed based on real-world requirements and practical experience building in-app agent interactions.
It was shaped through:
This practical approach has helped ensure that AG-UI is both flexible and immediately applicable in real-world use cases.
Play with this hello-world app here:
https://agui-demo.vercel.app/
Video:
https://github.com/user-attachments/assets/18c03330-1ebc-4863-b2b8-cc6c3a4c7bae
AG-UI works with several popular agent frameworks and frontend solutions:
| Framework | Status | AG-UI Resources |
|---|---|---|
| LangGraph | ✅ Supported | ➡️ Live Demo / Getting Started Docs |
| Mastra | ✅ Supported | ➡️ Live Demo / Getting Started Docs |
| CrewAI | ✅ Supported | ➡️ Live Demo / Getting Started Docs |
| AG2 | ✅ Supported | ➡️ Live Demo / Getting Started Docs |
| Agno | 🛠️ In Progress | – |
| LlamaIndex | 🛠️ In Progress | – |
| OpenAI Agent SDK | 💡 Open to Contributions | – |
| Google ADK | 💡 Open to Contributions | – |
| Vercel AI SDK | 💡 Open to Contributions | – |
| AWS Bedrock Agents | 💡 Open to Contributions | – |
| Cloudflare Agents | 💡 Open to Contributions | – |
| Pydantic AI | 💡 Open to Contributions | – |
| Strands Agents SDK | 💡 Open to Contributions | – |
| Language SDK | Status | AG-UI Resources |
|---|---|---|
| .NET | 🛠️ In Progress | ➡️ PR |
| Nim | 🛠️ In Progress | ➡️ PR |
AG-UI-compatible agents securely and efficiently support:
And more. Learn more at ag-ui.com
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.
https://github.com/user-attachments/assets/a67d3d54-36b2-4c7a-ac69-a0ca01365d5b
AG-UI provides ready-to-use client libraries for building connected experiences:
Learn how to contribute to AG-UI: AG-UI Contribution Guide
Book time with Markus Ecker, the creator of AG-UI: https://calendly.com/markus-copilotkit/ag-ui
Join the Discord: https://discord.gg/Jd3FzfdJa8
We 💜 contributions! Whether you’re fixing bugs, improving documentation, or building demos — your contributions make AG-UI better.