A2UI’s Python library 0.7.0 changes data validation and component formats

The A2UI team released version 0.7.0 of its Python library, a2ui-core, on November 17. A2UI lets AI agents describe what a screen should display as data. The update tightens validation of data supplied to interface components and functions and changes the format of supplementary component information for the A2UI 1.0 specification. Both changes affect compatibility with existing data.
The library validates function inputs and return values
According to the release notes, the library checks the types of function inputs and return values against the catalogue of components and functions available to the interface. Numeric fields reject strings and Boolean values, and fields that expect a URI check its format. The development team identified these as changes affecting compatibility.
The format of supplementary component information changes for A2UI 1.0
For interfaces using the A2UI 1.0 specification, the update changes how catalogue identifiers, metadata and accessibility information, among other details, are described. The new version is also available on PyPI, the Python package repository.