A2UI A2A extension
a2ui-a2a connects the A2UI agent SDK to the
Agent-to-Agent (A2A) protocol. It provides the
a2ui.a2a package.
Installation
pip install a2ui-a2a
This installs a2ui-agent-sdk and a2a-sdk as dependencies.
Contents
a2ui.a2a contains:
- Extension helpers:
get_a2ui_agent_extensionbuilds theAgentExtensionthat an agent advertises in itsAgentCard, andtry_activate_a2ui_extensionactivates the A2UI extension for a request when the client asks for it.get_a2ui_extension_uriandA2UI_EXTENSION_BASE_URIgive the extension URI for a protocol version. - Part helpers:
create_a2ui_part,is_a2ui_partandget_a2ui_datapartwrap and unwrap A2UI messages in A2ADataParts.parse_response_to_parts,parse_stream_chunk_to_parts,stream_response_to_partsandparse_content_to_partsturn model output into A2A parts.
from a2ui.a2a import create_a2ui_part, get_a2ui_agent_extension
extension = get_a2ui_agent_extension(version="0.9")
part = create_a2ui_part({"version": "v0.9", "deleteSurface": {"surfaceId": "main"}})
The specification of the extension is in
a2ui_extension_specification.md.
Running tests
From the repository root:
uv run pytest python/a2ui_a2a/tests
The conformance cases are in
conformance/extensions/a2a.
Building
From the python/a2ui_a2a directory:
uv build
Metadata
Release files for a2ui-a2a 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| a2ui_a2a-0.1.0.tar.gz | 8.8 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| a2ui_a2a-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.6 kB
Release files / a2ui_a2a-0.1.0.tar.gz
| Download URL | a2ui_a2a-0.1.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
080b0b2701af117b7cce0232e3b116d0a90370711219417d9d8557070c13c7d3
|
|
BLAKE2b-256 checksum How to use checksums |
01c5c6df5663b0ac175a30cc6a7f2972bbf2b942ab33af949c7b99be91e9c2e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by Google Cloud, verified by PyPI on Oct 19, 2026.
Transparency logRelease files / a2ui_a2a-0.1.0-py3-none-any.whl
| Download URL | a2ui_a2a-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b38733f89002f61c23cf943e7ee6aeb9452137fde8ed2ee4a936875464ca43c
|
|
BLAKE2b-256 checksum How to use checksums |
46b66172fab7ddb95039f26df4b88d4a9ac9a13eac9cd4eaec4abd823a0d8057
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by Google Cloud, verified by PyPI on Oct 19, 2026.
Transparency logSecurity for a2ui-a2a 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for a2ui_a2a-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by Google Cloud, verified by PyPI on Oct 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.