Expand description
Interop with ag_ui (feature ag-ui).
A2UI is transport-agnostic and this crate keeps it that way — nothing below this module knows what AG-UI is. What lives here is the small amount of glue an agent hosted on AG-UI would otherwise write by hand, twice:
HistoryMessagefrom anag_ui::Message, so the surface-recovery scan can read an AG-UI thread directly.find_prior_surface_in, the same scan without the mapping step.ag_ui::Toolfrom aToolDefinition, so the toolkit’s two tool definitions can be offered on a run.
Turn the feature off to use A2UI standalone over A2A or MCP; the dependency
on ag-ui-core goes with it.
Functions§
- find_
prior_ surface_ in find_prior_surfaceover an AG-UI conversation.