AG-UI

@generative-a11y/ag-ui

Turn documented AG-UI AgentSubscriber callbacks into response, tool, and interaction events.

Public exports

AG-UI integration subscribes through agent.subscribe(AgentSubscriber).

ExportKindPurpose
bindAgentFunctionCreate one protocol subscription
AGENT_ADAPTER_METADATAFrozen constantList supported events and limits
BindAgentOptionsInterfaceOptions for the binding
AgentBindingInterfaceCleanup method for the binding

Events the adapter can report

Protocol events report interruptions. AG-UI does not provide general retry or connection events. Interrupt callbacks report requests for user input.