Skip to main content

Framework-agnostic helpers for building A2UI subagent tools — op builders, prompt assembly, history walkers, and validation against Google's a2ui-agent-sdk.

Project description

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
  • Op builders: create_surface, update_components, update_data_model
  • RENDER_A2UI_TOOL_DEF
  • State + history helpers: build_context_prompt, find_prior_surface
  • Prompt composer: build_subagent_prompt
  • Output: assemble_ops, wrap_as_operations_envelope

See also

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ag_ui_a2ui_toolkit-0.0.1a2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ag_ui_a2ui_toolkit-0.0.1a2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ag_ui_a2ui_toolkit-0.0.1a2.tar.gz.

File metadata

  • Download URL: ag_ui_a2ui_toolkit-0.0.1a2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.9 Darwin/24.1.0

File hashes

Hashes for ag_ui_a2ui_toolkit-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 3f12b3da5458447ce48ade4f669375efedca85d20716d57476242ed34c23601f
MD5 7a667063a76a0c88a5b0648a55c83945
BLAKE2b-256 951db9059cb3e94a71cef72cb29b16724049f05db6fe26d5a27c77caded83fb4

See more details on using hashes here.

File details

Details for the file ag_ui_a2ui_toolkit-0.0.1a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ag_ui_a2ui_toolkit-0.0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce27177d38a84ca7a0c0542e5ad9f84dab7f58d1c6b83b17dd25735249b0cc75
MD5 8958971e21d48813445104a170f68b46
BLAKE2b-256 9c23d993cb31601a377a11868fbf0773dbdb42077a0759b20b772a8014c8b94d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page