ag-ui (ag-ui-protocol/ag-ui)

Searching Database…

22.1K ·GitHub
What is this?AG-UI is an open, lightweight, event-based protocol that standardizes how AI agents connect to user-facing applications — a shared event contract between an agent backend and the UI that shows its work.
Is it a specification I read, or code I install?It's a protocol spec: agent backends emit events matching about 16 standard event types, and a middleware layer lets them flow over any transport — SSE, WebSockets, webhooks — with SDKs and a reference HTTP implementation shipped in this repo.
Which agent frameworks can I plug in?First-party and partner support covers LangChain, CrewAI, Microsoft Agent Framework, Google ADK, AWS Strands Agents, Mastra, Pydantic AI, Agno, LlamaIndex and AG2; community integrations include the Claude Agent SDK and Langroid.
Which integrations are still in progress?AWS Bedrock Agents, the OpenAI Agent SDK and Cloudflare Agents on the framework side, plus the Nim SDK and the Flowise and Langflow integrations, are not finished yet.
Where can the agent's UI actually run?Anywhere you can build a client: CopilotKit web apps, a terminal-plus-agent setup, chat platforms like Slack and Microsoft Teams, and React Native mobile apps are all documented clients.
What can an app built on AG-UI actually do?Real-time agentic chat with streaming, bi-directional state synchronization, generative UI with structured messages, real-time context enrichment, frontend tool integration and human-in-the-loop collaboration.
How does AG-UI fit next to MCP and A2A?They are complementary layers of the agentic stack: MCP gives agents tools, A2A lets agents communicate with other agents, and AG-UI brings agents into user-facing applications.
Do the SDKs exist for languages other than TypeScript?Yes — community SDKs cover Kotlin, Golang, Dart, Java, Rust, Ruby, C++ and .NET, with Nim in progress, so your agent backend can stay in its own stack.
What is the AG-UI Dojo?The project's building-blocks viewer: simple, focused examples of core AG-UI features, each just 50-200 lines of code, with all source in the repo — a quick way to see each capability in isolation.
What are similar projects?CopilotKit, tambo, agent-native, openui, LibreChat, boardui, ai, a2ui
Size
88.4 MB
Stars
22.1K
Age
1y
Commits · 90 Days