Skip to main content
Back to trending

ag-ui

AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.

  • ag-ui-protocol
  • agent-frontend
  • agent-ui
  • agentic-workflow
  • ai-agents
View on GitHub
Stars
16,830
Forks
1,534
+ today
+3
Created
1y

Ranking data as of November 24, 2026 (UTC).

Star History

Today, hour by hour

16,830 stars
16,82716,830

Overview

AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications. It ranks #765 on GitTiger, gaining +3 stars on November 24, 2026 (UTC).

The project is written in TypeScript and has 1,534 forks. It was created 1y ago.

AI-generated summary of the repository README — may contain errors.

What it is

AG-UI is a protocol, with a TypeScript codebase alongside it, for wiring autonomous agents into the interfaces people actually use. Rather than every agent framework inventing its own bridge to a chat panel, the project defines a shared vocabulary of events so a frontend can render whatever the backend is doing. Metadata records an MIT license.

Capabilities described

The README preview characterises the protocol as open, lightweight and event-based, and says it gives agents and user-facing software a standard way to talk. During a run, a backend emits events drawn from roughly sixteen standard types and accepts a small set of compatible inputs as arguments. Transport is left open — server-sent events, WebSockets and webhooks are all named — and matching is deliberately loose so agents and apps from different teams can interoperate. The preview also separates tool access, credited to MCP, from the interaction layer AG-UI covers.

Getting started

The excerpt includes a getting-started heading but no package names, commands or configuration values, so setup details must come from the repository README. Nothing in the evidence describes framework adapters or client libraries, so their availability cannot be confirmed.

Gaps

No versioning policy, conformance suite or performance claims were supplied. The figure of roughly sixteen event types is the project's own description of its standard set and was not checked against the specification here.

Installation
git clone https://github.com/ag-ui-protocol/ag-ui.git
cd ag-ui
# see README for setup

Frequently Asked Questions

What problem does AG-UI solve?

It gives agent backends and frontend applications a common event format, so a user interface can be connected to an agent without a bespoke integration for every framework.

Which transports can carry the protocol?

The README preview says any event transport works and names server-sent events, WebSockets and webhooks as examples.

How many standard event types does AG-UI define?

The preview puts the standard set at roughly sixteen types, which agent backends emit while an execution is running.

Is AG-UI the same thing as MCP?

No. The preview treats MCP as the layer that supplies agents with tools, while AG-UI concerns how an agent interacts with the user-facing application.