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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ag_ui_a2ui_toolkit-0.0.5.tar.gz | 19.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ag_ui_a2ui_toolkit-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.4 kB
Release files / ag_ui_a2ui_toolkit-0.0.5.tar.gz
| Download URL | ag_ui_a2ui_toolkit-0.0.5.tar.gz |
|---|---|
| Size | 19.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee5fc12282e439a83f3d77f11ff22b79f820cb60cec7ac2b5cb86130fc6a0e57
|
|
BLAKE2b-256 checksum How to use checksums |
fedc96a776fcac704747bf860fbdd7c4e53ca5d98623baf5fc782e278e3e45f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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.5-py3-none-any.whl
| Download URL | ag_ui_a2ui_toolkit-0.0.5-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26084f9e2bc46fdd9c216caec2482731fe687e1bb8c303754f5027353e981bfd
|
|
BLAKE2b-256 checksum How to use checksums |
92a36da8b2311efadf1a68c476e271bc8f2e81bf83f5ae558ddfe9ac66ec5f81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}
|