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).
| Export | Kind | Purpose |
|---|---|---|
| bindAgent | Function | Create one protocol subscription |
| AGENT_ADAPTER_METADATA | Frozen constant | List supported events and limits |
| BindAgentOptions | Interface | Options for the binding |
| AgentBinding | Interface | Cleanup 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.