You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***`send_a2ui_to_client_toolset.py`**: An example implementation of using ADK toolcalls to implement A2UI.
12
12
13
-
## Running Tests
13
+
## Running tests
14
14
15
15
1. Navigate to the a2ui_agent dir:
16
16
@@ -40,4 +40,4 @@ All operational data received from an external agent—including its AgentCard,
40
40
41
41
Similarly, any UI definition or data stream received must be treated as untrusted. Malicious agents could attempt to spoof legitimate interfaces to deceive users (phishing), inject malicious scripts via property values (XSS), or generate excessive layout complexity to degrade client performance (DoS). If your application supports optional embedded content (such as iframes or web views), additional care must be taken to prevent exposure to malicious external sites.
42
42
43
-
Developer Responsibility: Failure to properly validate data and strictly sandbox rendered content can introduce severe vulnerabilities. Developers are responsible for implementing appropriate security measures—such as input sanitization, Content Security Policies (CSP), strict isolation for optional embedded content, and secure credential handling—to protect their systems and users.
43
+
Developer Responsibility: Failure to properly validate data and strictly sandbox rendered content can introduce severe vulnerabilities. Developers are responsible for implementing appropriate security measures—such as input sanitization, Content Security Policies (CSP), strict isolation for optional embedded content, and secure credential handling—to protect their systems and users.
Copy file name to clipboardExpand all lines: docs/community.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,9 @@ A2UI is an open-source project licensed under Apache 2.0. We welcome contributio
8
8
9
9
## Community Showcase
10
10
11
-
!!! info "Coming soon..."
12
-
We are considering how best to showcase community projects, examples, themes, renderers, custom components, and more. A 4 minute (or less) demo video and code sample linked in Github discussions is a great way to show off your work.
11
+
> ℹ️ **Coming soon...**
12
+
>
13
+
> We are considering how best to showcase community projects, examples, themes, renderers, custom components, and more. A 4 minute (or less) demo video and code sample linked in Github discussions is a great way to show off your work.
Copy file name to clipboardExpand all lines: docs/guides/agent-development.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,8 +94,9 @@ Select `my_agent` from the list, and ask questions about restaurants in New York
94
94
95
95
Getting the LLM to generate A2UI messages requires some prompt engineering.
96
96
97
-
!!! warning "Attention"
98
-
This is an area we are still designing. The developer ergonomics of this are not yet finalized.
97
+
> ⚠️ **Attention**
98
+
>
99
+
> This is an area we are still designing. The developer ergonomics of this are not yet finalized.
99
100
100
101
For now, let's copy the `a2ui_schema.py` from the contact lookup example. This is the easiest way to get the A2UI schema and examples for your agent (subject to change).
Copy file name to clipboardExpand all lines: docs/introduction/agent-ui-ecosystem.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,9 @@ The space for agentic UI is evolving rapidly, with excellent tools emerging to s
6
6
7
7
The A2UI approach is to send JSON as a message to the client, which then uses a renderer to convert it into native UI components. LLMs can generate the component layout on the fly or you can use a template.
8
8
9
-
!!! tip ""
10
-
**This makes it secure like data, and expressive like code.**
9
+
> 💡
10
+
>
11
+
> **This makes it secure like data, and expressive like code.**
11
12
12
13
This rest of this page will help you understand A2UI in relationship to other options.
0 commit comments