showcase/shell-docs/src/content/ag-ui/introduction.mdx
AG-UI is an <u><strong>open</strong></u>, <u><strong>lightweight</strong></u>, <u><strong>event-based</strong></u> protocol that standardizes how AI agents connect to user-facing applications.
AG-UI is designed to be the general-purpose, bi-directional connection between a user-facing application and any agentic backend.
Built for simplicity and flexibility, it standardizes how agent state, UI intents, and user interactions flow between your model/agent runtime and user-facing frontend applications—to allow application developers to ship reliable, debuggable, user‑friendly agentic features fast while focusing on application needs and avoiding complex ad-hoc wiring.
<div style={{ textAlign: "center", margin: "2rem 0" }}> </div>AG-UI is one of three prominent open agentic protocols.
| Layer | Protocol / Example | Purpose |
|---|---|---|
| Agent ↔ User Interaction | **AG-UI | |
| (Agent–User Interaction Protocol)** | The open, event-based standard that connects agents to user-facing applications — enabling real-time, multimodal, interactive experiences. | |
| Agent ↔ Tools & Data | **MCP | |
| (Model Context Protocol)** | Open standard (originated by Anthropic) that lets agents securely connect to external systems — tools, workflows, and data sources. | |
| Agent ↔ Agent | **A2A | |
| (Agent to Agent)** | Open standard (originated by Google) which defines how agents coordinate and share work across distributed agentic systems. |
Agentic applications break the simple request/response model that dominated frontend-backend development in the pre-agentic era: a client makes a request, the server returns data, the client renders it, and the interaction ends.
While agents are just software, they exhibit characteristics that make them challenging to serve behind traditional REST/GraphQL APIs:
AG-UI is an event-based protocol that enables dynamic communication between agentic frontends and backends. It builds on top of the foundational protocols of the web (HTTP, WebSockets) as an abstraction layer designed for the agentic age—bridging the gap between traditional client-server architectures and the dynamic, stateful nature of AI agents.
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.
| Framework | Status | AG-UI Resources |
|---|---|---|
| Direct to LLM | Supported | Docs |
| Framework | Status | AG-UI Resources |
|---|---|---|
| LangGraph | Supported | Docs, Demos |
| CrewAI | Supported | Docs, Demos |
| Framework | Status | AG-UI Resources |
|---|---|---|
| Microsoft Agent Framework | Supported | Docs, Demos |
| Google ADK | Supported | Docs, Demos |
| AWS Strands Agents | Supported | Docs, Demos |
| AWS Bedrock AgentCore | Supported | Docs |
| 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 | – |
| Framework | Status | AG-UI Resources |
|---|---|---|
| OpenAI Agent SDK | In Progress | – |
| Cloudflare Agents | In Progress | – |
| Protocol | Status | AG-UI Resources | Integrations |
|---|---|---|---|
| A2A Middleware | Supported | Docs | Partnership |
| Platform | Status | AG-UI Resources | Integrations |
|---|---|---|---|
| Amazon Bedrock AgentCore | Supported | Docs | 1st Party |
| Framework | Status | AG-UI Resources |
|---|---|---|
| Oracle Agent Spec | Supported | Docs, Demos |
| 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 |
| .NET | In Progress | PR | Community |
| Nim | 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 |
Choose the path that fits your needs:
<CardGroup cols={3}> <Card title="Build agentic applications" icon="rocket" href="/quickstart/applications" color="#3B82F6" iconType="solid" > Build agentic applications powered by AG-UI compatible agents. </Card><Card title="Build new AG-UI integrations" icon="plug" href="/quickstart/introduction" color="#3B82F6" iconType="solid"
Build integrations for new agent frameworks, custom in-house solutions, or use AG-UI without any agent framework. </Card>
<Card title="Build AG-UI compatible clients" icon="desktop" href="/quickstart/clients" color="#3B82F6" iconType="solid"
Build new clients for AG-UI-compatible agents (web, mobile, slack, messaging, etc.) </Card>
</CardGroup>Dive deeper into AG-UI's core concepts and capabilities:
<CardGroup cols={2}> <Card title="Core architecture" icon="sitemap" iconType="light" color="#3B82F6" href="/concepts/architecture" > Understand how AG-UI connects agents, protocols, and front-ends </Card><Card title="Events" icon="bolt" iconType="light" color="#3B82F6" href="/concepts/events"
Learn about AG-UI's event-driven protocol
Explore guides, tools, and integrations to help you build, optimize, and extend your AG-UI implementation. These resources cover everything from practical development workflows to debugging techniques.
<CardGroup cols={2}> <Card title="Developing with Cursor" icon="rocket" iconType="light" color="#3B82F6" href="/tutorials/cursor" > Use Cursor to build AG-UI implementations faster </Card> <Card title="Troubleshooting AG-UI" icon="bug" iconType="light" color="#3B82F6" href="/tutorials/debugging" > Fix common issues when working with AG-UI servers and clients </Card> </CardGroup>Want to contribute? Check out our Contributing Guide to learn how you can help improve AG-UI.
Here's how to get help or provide feedback: