# 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 Logo 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. ---
[![Version](https://img.shields.io/npm/v/@ag-ui/core?label=Version&color=6963ff&logo=npm&logoColor=white)](https://www.npmjs.com/package/@ag-ui/core) ![MIT](https://img.shields.io/github/license/copilotkit/copilotkit?color=%236963ff&label=License) ![Discord](https://img.shields.io/discord/1379082175625953370?logo=discord&logoColor=%23FFFFFF&label=Discord&color=%236963ff) Join our Discord โ†’     Read the Docs โ†’     Go to the AG-UI Dojo โ†’     Follow us โ†’ Your application-AG-UI protocol ## ๐Ÿš€ 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
The Agent Protocol Stack
## ๐Ÿš€ 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).