Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

a2ui-a2a

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

a2aa2uiagentui
Published19 Oct 2026
Direct dependencies3
Transitive dependenciesNot calculated

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.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
a2a-sdk
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
a2a-sdk<0.4.0,>=0.3.0runtime
a2ui-agent-sdk
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
a2ui-agent-sdk>0.8.0runtime
packaging
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
packaging>=23.0runtime

Distribution files

2 collected
a2ui_a2a-0.1.0-py3-none-any.whl

bdist_wheel · 6.62 KB · Python py3

Source file
a2ui_a2a-0.1.0.tar.gz

sdist · 8.64 KB · Python source

Source file

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_version:8535ff45eff5b6416e26cfba4b2e9cd0042ecd95cf8221d77049db62eee49302

Other collected versions

View all collected versions →