Catalog PyPI
PACKAGE EXPLORERView in registry

a2ui-a2a

PyPI

A2UI extension for the Agent-to-Agent (A2A) protocol

a2aa2uiagentui
Versions collected1
Direct dependencies3From release 0.1.0
Last observed20 Oct, 16:35 UTC

README

Version 0.1.0 documentation

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_extension builds the AgentExtension that an agent advertises in its AgentCard, and try_activate_a2ui_extension activates the A2UI extension for a request when the client asks for it. get_a2ui_extension_uri and A2UI_EXTENSION_BASE_URI give the extension URI for a protocol version.
  • Part helpers: create_a2ui_part, is_a2ui_part and get_a2ui_datapart wrap and unwrap A2UI messages in A2A DataParts. parse_response_to_parts, parse_stream_chunk_to_parts, stream_response_to_parts and parse_content_to_parts turn 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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.019 Oct 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:35 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d3f9b551f4cd09f3a8b1fb74c9d4f379e4f1e8f440b2d34d20d1a6c826c746e4