A2UI/a2a_agents/python/a2ui_extension
dmandar 54d0be4d1d
update disclaimers (#284)
* update disclaimers

* minor update
2025-12-15 12:34:41 -05:00
..
src/a2ui Orchestrator sends support catalogs to remote a2a agents (#228) 2025-12-08 08:13:37 -08:00
tests add tests to python agent sdk and clean up naming (#219) 2025-12-05 08:36:04 -08:00
README.md update disclaimers (#284) 2025-12-15 12:34:41 -05:00
pyproject.toml add tests to python agent sdk and clean up naming (#219) 2025-12-05 08:36:04 -08:00

README.md

A2UI Extension Implementation

This is the Python implementation of the a2ui extension.

Disclaimer

Important: The sample code provided is for demonstration purposes and illustrates the mechanics of A2UI and the Agent-to-Agent (A2A) protocol. When building production applications, it is critical to treat any agent operating outside of your direct control as a potentially untrusted entity.

All operational data received from an external agent—including its AgentCard, messages, artifacts, and task statuses—should be handled as untrusted input. For example, a malicious agent could provide crafted data in its fields (e.g., name, skills.description) that, if used without sanitization to construct prompts for a Large Language Model (LLM), could expose your application to prompt injection attacks.

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.

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.