AG-UI

AG-UI

โ˜… 4.2 ๐Ÿ”– 4000 saves ๐Ÿ’ฐ Free GitHub

AG-UI is an open, lightweight protocol that standardizes how AI agents connect to user-facing applications. Instead of every agent framework inventing its own streaming format, AG-UI defines an event-based interface for agent runs, tool calls, state updates, and human-in-the-loop interactions. Created by the CopilotKit team, it has over 16,000 stars on GitHub and was actively developed in October 2026.

Overview

Building a great frontend for an agent is surprisingly hard: responses stream in, tools fire, state changes, and sometimes the agent needs a human decision mid-run. AG-UI gives all of that one shared language. Agents emit a standard stream of events, and any AG-UI-compatible frontend can render progress, show tool activity, sync shared state in both directions, and pause for approvals. It is framework-agnostic, works over standard web transports, and ships with SDKs and integrations for popular agent frameworks, so teams can swap backends without rebuilding their UI.

Key Features

  • Open protocol for agent-to-frontend communication
  • Event-based streaming of runs, messages, and tool calls
  • Bidirectional shared state between agent and UI
  • Human-in-the-loop approvals and interruptions
  • Framework-agnostic: works across agent backends
  • SDKs and integrations maintained by the CopilotKit ecosystem
  • Lightweight design over standard web transports

๐Ÿ’ณ Pricing

AG-UI is a free, open protocol under the MIT license. Anyone can implement it in their agent or frontend without fees or royalties.

Who Is It For

AG-UI is for developers building products on top of AI agents who need responsive, interactive frontends rather than plain chat boxes. If you are wiring an agent into a real application with live state and user approvals, AG-UI saves you from inventing the plumbing yourself.

๐Ÿš€ Visit AG-UI Official Site

๐Ÿšฉ Report an issue