Skip to main content

ag-ui-a2ui-toolkit

Framework-agnostic helpers for building A2UI subagent tools.

Each per-framework adapter (LangGraph, ADK, Mastra, …) composes these helpers with its own framework-specific glue: tool decorator, runtime accessor, model binding + invoke. Nothing in this package depends on any agent framework.

Surface

  • Constants: A2UI_OPERATIONS_KEY, BASIC_CATALOG_ID, DEFAULT_SURFACE_ID, GENERATE_A2UI_TOOL_NAME, GENERATE_A2UI_TOOL_DESCRIPTION, GENERATE_A2UI_ARG_DESCRIPTIONS
  • Op builders: create_surface, update_components, update_data_model
  • RENDER_A2UI_TOOL_DEF — JSON schema for the inner structured-output tool
  • State + history helpers: build_context_prompt, find_prior_surface
  • Prompt composer: build_subagent_prompt
  • High-level orchestration: prepare_a2ui_request, build_a2ui_envelope
  • Output wrappers: assemble_ops, wrap_as_operations_envelope, wrap_error_envelope

See also

The TypeScript counterpart lives in @ag-ui/a2ui-toolkit and exposes the same surface in camelCase.

Metadata

Release files for ag-ui-a2ui-toolkit 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ag-ui-a2ui-toolkit 0.0.4
File Size Uploaded
ag_ui_a2ui_toolkit-0.0.4.tar.gz 19.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ag-ui-a2ui-toolkit 0.0.4
File Interpreter ABI Platform
ag_ui_a2ui_toolkit-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 40.3 kB

Release files / ag_ui_a2ui_toolkit-0.0.4.tar.gz

Download URL ag_ui_a2ui_toolkit-0.0.4.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
172e2724e53df8173685a3fb896a6e5175eea06e1dc166c715db110ba4beba76
BLAKE2b-256 checksum
How to use checksums
f0ce85f3960a83d962e5690bc0f27a3baf3bf1602edc2b0603085928c964ea14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ag_ui_a2ui_toolkit-0.0.4-py3-none-any.whl

Download URL ag_ui_a2ui_toolkit-0.0.4-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
236fc511e1ec2399bcda0c14a109b3fb0a0c3e3988c18ef1918745b1c1535e30
BLAKE2b-256 checksum
How to use checksums
477aacf85b01cd996bd011b71e181fd9f3daff5396fc3b7d78ba9445bfc08ecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page