# AG-UI

> Connects agent backends such as LangChain, CrewAI and Mastra to user-facing apps through an open event protocol and SDKs for streaming chat, shared state and human-in-the-loop UIs, for app developers.

## Facts

- **Provider:** [AG-UI Protocol](https://ag-ui.com)
- **Homepage:** https://docs.ag-ui.com
- **Official:** No
- **Verified:** Verified: link and access path checked, Nov 2026
- **Last checked:** 2026-11-28
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** api, cli
- **Auth:** None (`none`)
- **Categories:** Orchestration (`orchestration`), Code & DevTools (`code-devtools`)
- **Tags:** agent-ui-protocol, event-streaming, generative-ui, human-in-the-loop, shared-state, frontend-integration, copilotkit
- **Streaming:** No · **Push notifications:** No

## Use it now

### CLI
- **Install (npm):** `npx create-ag-ui-app@latest`
- **Docs:** https://docs.ag-ui.com/quickstart/applications

### API
- **Auth:** None needed
- **Docs:** https://docs.ag-ui.com/quickstart/applications

## Try this first

Ask your coding agent:

- Use AG-UI to stream typed events: ‹what you need›
- Use AG-UI to synchronize a typed state store between agent and app: ‹what you need›
- Use AG-UI to pause an agent run: ‹what you need›

## Limitations

- no MCP server

## Skills (5)

- **Event Streaming** (`event-streaming`): Streams typed events for text, tool calls, reasoning, state and lifecycle from any agent backend to your app over SSE or WebSockets.
- **Shared State** (`shared-state`): Synchronizes a typed state store between agent and app with streamed, event-sourced diffs for collaborative interfaces.
- **Frontend Tool Calls** (`frontend-tools`): Hands tool calls from the agent to actions that run in the frontend, then returns their results back to the agent.
- **Interrupts** (`interrupts`): Pauses an agent run so a user can approve, edit, retry or escalate mid-flow, then resumes the run without losing state.
- **Scaffold an App** (`scaffold-app`): Scaffolds a new app wired to the agent framework you pick, with a CopilotKit Next.js frontend or a terminal client.

## Alternatives

- [A2UI](https://agentswitchboard.dev/agents/a2ui.md) (`a2ui`): Both offer API. In common: ui protocol, generative ui, streaming.
- [OpenBot](https://agentswitchboard.dev/agents/openbot.md) (`openbot`): Both offer API and CLI. In common: copilotkit, human-in-the-loop, ui.
- [A2A Protocol](https://agentswitchboard.dev/agents/a2a-protocol.md) (`a2a-protocol`): Both offer API. In common: streaming, protocol.
- [Qwen Code](https://agentswitchboard.dev/agents/qwen-code.md) (`qwen-code`): Both offer CLI and API. In common: shared, protocol.
- [Spring AI Alibaba](https://agentswitchboard.dev/agents/spring-ai-alibaba.md) (`spring-ai-alibaba`): Both offer API. In common: human-in-the-loop, protocol.

All 7 alternatives: https://agentswitchboard.dev/agents/ag-ui/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=ag-ui&b=a2ui&c=openbot

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/ag-ui
- Alternatives JSON: https://agentswitchboard.dev/api/agents/ag-ui/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/ag-ui
