Skip to content

Commit 4832904

Browse files
committed
structure
1 parent 775740d commit 4832904

File tree

1 file changed

+42
-53
lines changed

1 file changed

+42
-53
lines changed

docs/introduction.mdx

Lines changed: 42 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -9,50 +9,14 @@ description:
99
AG-UI is an <u><strong>open</strong></u>, <u><strong>lightweight</strong></u>, <u><strong>event-based</strong></u> protocol that standardizes how AI agents connect to user-facing applications.
1010

1111

12-
Built for simplicity and flexibility, it standardizes how agent state, UI intents, and user interactions flow between your model/agent runtime and user-facing frontend applications—to allow application developers to ship reliable, debuggable, user‑friendly agentic features fast.
12+
Built for simplicity and flexibility, it standardizes how agent state, UI intents, and user interactions flow between your model/agent runtime and user-facing frontend applications—to allow application developers to ship reliable, debuggable, user‑friendly agentic features fast while focusing on application needs and avoding complex ad-hoc wiring.
1313

1414

1515

1616
<div style={{textAlign: 'center', margin: '2rem 0'}}>
1717
<img src="/images/ag-ui-overview-with-partners.png" alt="AG-UI Overview" style={{maxWidth: '100%', height: 'auto', borderRadius: '8px'}} />
1818
</div>
1919

20-
---
21-
22-
## Why Agentic Apps need AG-UI
23-
24-
Agentic applications break the simple request/response model that dominated frontend-backend development in the pre-agentic era: a client makes a request, the server returns data, the client renders it, and the interaction ends.
25-
26-
#### The requirements of user‑facing agents
27-
28-
While agents are just software, they exhibit characteristics that make them challenging to serve behind traditional REST/GraphQL APIs:
29-
30-
- Agents are **long‑running** and **stream** intermediate work—often across multi‑turn sessions.
31-
- Agents are **nondeterministic** and can **control application UI nondeterministically**.
32-
- Agents simultanously mix **structured + unstructured IO** (e.g. text & voice, alongside tool calls and state updates).
33-
- Agents need user-interactive **composition**: e.g. they may call sub‑agents, often recursively.
34-
- And more...
35-
36-
AG-UI builds on top of the foundational protocols of the web (HTTP, WebSockets) as an abstraction layer designed for the agentic age—bridging the gap between traditional client-server architectures and the dynamic, stateful nature of AI agents.
37-
38-
### The AI protocol landscape
39-
40-
AG-UI has emerged as the 3rd leg of the AI protocol landscape:
41-
- MCP: Connects agents to tool and to context.
42-
- A2A: Connects agents to other agents.
43-
- AG-UI: Connects agents to users (through user-facing applications)
44-
45-
<div style={{textAlign: 'center', margin: '2rem 0'}}>
46-
<img src="/images/ai-protocol-stack.png" alt="AI Protocol Stack" style={{maxWidth: '40%', height: 'auto', borderRadius: '8px'}} />
47-
</div>
48-
49-
These protocols are complimentary and have distinct technical goals; and a single agent can and often does use all 3 simultanously.
50-
Where these protocols intersect, there are opportunities for seamless handoffs and interoperability—work on these integration points is actively ongoing.
51-
AG-UI's mandate is to support the full set of building blocks required by modern agentic applications.
52-
53-
54-
55-
5620
---
5721

5822
## Building blocks (today & upcoming)
@@ -169,6 +133,47 @@ AG-UI's mandate is to support the full set of building blocks required by modern
169133
</div>
170134
</div>
171135

136+
137+
138+
---
139+
140+
## Why Agentic Apps need AG-UI
141+
142+
Agentic applications break the simple request/response model that dominated frontend-backend development in the pre-agentic era: a client makes a request, the server returns data, the client renders it, and the interaction ends.
143+
144+
#### The requirements of user‑facing agents
145+
146+
While agents are just software, they exhibit characteristics that make them challenging to serve behind traditional REST/GraphQL APIs:
147+
148+
- Agents are **long‑running** and **stream** intermediate work—often across multi‑turn sessions.
149+
- Agents are **nondeterministic** and can **control application UI nondeterministically**.
150+
- Agents simultanously mix **structured + unstructured IO** (e.g. text & voice, alongside tool calls and state updates).
151+
- Agents need user-interactive **composition**: e.g. they may call sub‑agents, often recursively.
152+
- And more...
153+
154+
AG-UI is an event-based protocol that enables dynamic communication between agentic frontends and backends. It builds on top of the foundational protocols of the web (HTTP, WebSockets) as an abstraction layer designed for the agentic age—bridging the gap between traditional client-server architectures and the dynamic, stateful nature of AI agents.
155+
156+
## The AI protocol landscape
157+
158+
AG-UI has emerged as the 3rd leg of the AI protocol landscape:
159+
<div style={{textAlign: 'center', margin: '2rem 0'}}>
160+
<img src="/images/ai-protocol-stack.png" alt="AI Protocol Stack" style={{maxWidth: '40%', height: 'auto', borderRadius: '8px'}} />
161+
</div>
162+
163+
- MCP: Connects agents to tool and to context.
164+
- A2A: Connects agents to other agents.
165+
- **AG-UI:** Connects agents to users (through user-facing applications)
166+
167+
168+
These protocols are complimentary and have distinct technical goals; a single agent can and often does use all 3 simultanously.
169+
Where these protocols intersect, there are opportunities for seamless handshakes facilitating interoperability—work on these integration points is actively ongoing.
170+
AG-UI's mandate is to support the full set of building blocks required by modern agentic applications.
171+
172+
173+
174+
175+
---
176+
172177
## AG-UI in action
173178

174179
<div style={{textAlign: 'center', margin: '3rem 0 1rem 0'}}>
@@ -214,22 +219,6 @@ AG-UI was born from an initial partnership between CopilotKit, LangGraph and Cre
214219

215220
---
216221

217-
## Comparison with other protocols
218-
219-
AG-UI focuses explicitly and specifically on the agent-user interactivity layer.
220-
It does not compete with protocols such as A2A (Agent-to-Agent protocol) and MCP
221-
(Model Context Protocol).
222-
223-
For example, the same agent may communicate with another agent via A2A while
224-
communicating with the user via AG-UI, and while calling tools provided by an
225-
MCP server.
226-
227-
These protocols serve complementary purposes in the agent ecosystem:
228-
229-
- **AG-UI**: Handles human-in-the-loop interaction and streaming UI updates
230-
- **A2A**: Facilitates agent-to-agent communication and collaboration
231-
- **MCP**: Standardizes tool calls and context handling across different models
232-
233222
## Quick Start
234223

235224
Choose the path that fits your needs:

0 commit comments

Comments
 (0)