Skip to content

Commit c37be1d

Browse files
committed
docs: Replace agent-and-renderer.png by a Mermaid diagram.
1 parent e2053ff commit c37be1d

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

docs/assets/agent-and-renderer.png

-113 KB
Binary file not shown.

docs/glossary.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@ The A2UI protocol enables conversation between **agent** and **renderer**:
1414
- Receives **user input**, communicated by renderer
1515
- Updates **data** to show in UI
1616

17-
![agent and renderer](assets/agent-and-renderer.png)
17+
```mermaid
18+
sequenceDiagram
19+
participant Renderer as A2UI Renderer
20+
participant Agent as A2UI Agent
21+
22+
Renderer->>Agent: Catalog & instructions
23+
24+
loop Agentic flow
25+
Agent->>Renderer: Data + UI Updates. Function calls.
26+
Renderer->>Agent: User input
27+
end
28+
```
1829

1930
While the protocol is designed for **AI-empowered agents**, it can work with deterministic agents as well. For example, an agent may return a pre-canned A2UI UI.
2031

0 commit comments

Comments
 (0)