# ag-ui
**Repository Path**: mirrors_trending/ag-ui
## Basic Information
- **Project Name**: ag-ui
- **Description**: AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-05-15
- **Last Updated**: 2025-11-01
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#
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.
---
[](https://www.npmjs.com/package/@ag-ui/core)


Join our Discord โ Read the Docs โ Go to the AG-UI Dojo โ Follow us โ
## ๐ Getting Started
Create a new AG-UI application in seconds:
```bash
npx create-ag-ui-app my-agent-app
```
Useful Links:
- [The AG-UI Dojo](https://dojo.ag-ui.com/)
- [Build AG-UI-powered applications(Quickstart)](https://docs.ag-ui.com/quickstart/applications)
- [Build new AG-UI framework integrations (Quickstart)](https://go.copilotkit.ai/agui-contribute)
- [Book a call to discuss an AG-UI integration with a new framework](https://calendly.com/markus-copilotkit/ag-ui)
- [Join the Discord Community](https://discord.gg/Jd3FzfdJa8)
## 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
**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 โ](https://go.copilotkit.ai/ag-ui-introduction)
## 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.
## Frameworks
| Framework | Status | AG-UI Resources |
| ------------------------------------------------------------------ | ------------------------ | -------------------------------------------------------------------------------- |
| Direct to LLM | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/direct-to-llm) |
#### ๐ค Partnerships
| Framework | Status | AG-UI Resources |
| ---------- | ------- | ---------------- |
| [LangGraph](https://www.langchain.com/langgraph) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/langgraph/) ๐ฎ [Demos](https://dojo.ag-ui.com/langgraph-fastapi/feature/shared_state) |
| [Google ADK](https://google.github.io/adk-docs/get-started/) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/adk) ๐ฎ [Demos](https://dojo.ag-ui.com/adk-middleware/feature/shared_state?openCopilot=true) |
| [CrewAI](https://crewai.com/) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/crewai-flows) ๐ฎ [Demos](https://dojo.ag-ui.com/crewai/feature/shared_state) |
#### ๐งฉ 1st Party
| Framework | Status | AG-UI Resources |
| ---------- | ------- | ---------------- |
| [Mastra](https://mastra.ai/) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/mastra/) ๐ฎ [Demos](https://dojo.ag-ui.com/mastra/feature/tool_based_generative_ui) |
| [Pydantic AI](https://github.com/pydantic/pydantic-ai) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/pydantic-ai/) ๐ฎ [Demos](https://dojo.ag-ui.com/pydantic-ai/feature/shared_state) |
| [Agno](https://github.com/agno-agi/agno) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/agno/) ๐ฎ [Demos](https://dojo.ag-ui.com/agno/feature/tool_based_generative_ui) |
| [LlamaIndex](https://github.com/run-llama/llama_index) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/llamaindex/) ๐ฎ [Demos](https://dojo.ag-ui.com/llamaindex/feature/shared_state) |
| [AG2](https://ag2.ai/) | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/ag2/) |
| [AWS Bedrock Agents](https://aws.amazon.com/bedrock/agents/) | ๐ ๏ธ In Progress | โ |
| [AWS Strands Agents](https://github.com/strands-agents/sdk-python) | ๐ ๏ธ In Progress | โ |
| [Microsoft Agent Framework](https://azure.microsoft.com/en-us/blog/introducing-microsoft-agent-framework/) | ๐ ๏ธ In Progress | โ |
#### ๐ Community
| Framework | Status | AG-UI Resources |
| ---------- | ------- | ---------------- |
| [Vercel AI SDK](https://github.com/vercel/ai) | โ
Supported | โก๏ธ [Docs](https://github.com/ag-ui-protocol/ag-ui/tree/main/integrations/vercel-ai-sdk/typescript) |
| [OpenAI Agent SDK](https://openai.github.io/openai-agents-python/) | ๐ ๏ธ In Progress | โ |
| [Cloudflare Agents](https://developers.cloudflare.com/agents/) | ๐ ๏ธ In Progress | โ |
## Agent Interaction Protocols
| Protocols | Status | AG-UI Resources | Integrations |
| ---------- | ------- | ---------------- | ------------- |
| [A2A]() | โ
Supported | โก๏ธ [Docs](https://docs.copilotkit.ai/a2a-protocol) | Partnership |
---
## SDKs
| SDK | Status | AG-UI Resources | Integrations |
| --- | ------- | ---------------- | ------------- |
| [Kotlin]() | โ
Supported | โก๏ธ [Getting Started](https://github.com/ag-ui-protocol/ag-ui/blob/main/docs/sdk/kotlin/overview.mdx) | Community |
| [Golang]() | โ
Supported | โก๏ธ [Getting Started](https://github.com/ag-ui-protocol/ag-ui/blob/main/docs/sdk/go/overview.mdx) | Community |
| [Java]() | โ
Supported | โก๏ธ [Getting Started](https://github.com/ag-ui-protocol/ag-ui/blob/main/docs/sdk/java/overview.mdx) | Community |
| [Rust]() | โ
Supported | โก๏ธ [Getting Started](https://github.com/ag-ui-protocol/ag-ui/tree/main/sdks/community/rust/crates/ag-ui-client) | Community |
| [.NET]() | ๐ ๏ธ In Progress | โก๏ธ [PR](https://github.com/ag-ui-protocol/ag-ui/pull/38) | Community |
| [Nim]() | ๐ ๏ธ In Progress | โก๏ธ [PR](https://github.com/ag-ui-protocol/ag-ui/pull/29) | Community |
| [Dart]() | ๐ ๏ธ In Progress | โก๏ธ [PR](https://github.com/ag-ui-protocol/ag-ui/pull/432) | Community |
| [Flowise]() | ๐ ๏ธ In Progress | โก๏ธ [GitHub Source](https://github.com/ag-ui-protocol/ag-ui/issues/367) | Community |
| [Langflow]() | ๐ ๏ธ In Progress | โก๏ธ [GitHub Source](https://github.com/ag-ui-protocol/ag-ui/issues/366) | Community |
## Clients
| Client | Status | AG-UI Resources | Integrations |
| --- | ------- | ---------------- | ------------- |
| [CopilotKit](https://github.com/CopilotKit/CopilotKit) | โ
Supported | โก๏ธ [Getting Started](https://docs.copilotkit.ai/direct-to-llm/guides/quickstart) | 1st Party |
| [Terminal + Agent]() | โ
Supported | โก๏ธ [Getting Started](https://docs.ag-ui.com/quickstart/clients) | Community |
| [React Native]() | ๐ ๏ธ Help Wanted | โก๏ธ [GitHub Source](https://github.com/ag-ui-protocol/ag-ui/issues/510) | Community |
[View all supported frameworks โ](https://docs.ag-ui.com/introduction#supported-frameworks)
## 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/ag-ui-protocol/ag-ui/tree/main/apps/dojo).
https://github.com/user-attachments/assets/c298eea8-3f39-4a94-b968-7712429b0c49
## ๐๐ฝโโ๏ธ Contributing to AG-UI
Check out the [Contributing guide](https://github.com/ag-ui-protocol/ag-ui/blob/main/CONTRIBUTING.md)
- **[Bi-Weekely AG-UI Working Group](https://lu.ma/CopilotKit?k=c)**
๐
Follow the CopilotKit Luma Events Calendar
## Roadmap
Check out the [AG-UI Roadmap](https://github.com/orgs/ag-ui-protocol/projects/1) to see what's being built and where you can jump in.
## ๐ License
AG-UI is open source software [licensed as MIT](https://opensource.org/licenses/MIT).