Skip to main content
All Python modules · Import and compatibility guidance

Exports

emit

Send a named JSON value to the caller without adding it to model history. AG-UI exposes this as CUSTOM; native transports expose ui_event. Use public display data only. Values are limited to 64 KiB, with 128 events and 512 KiB per invocation. Streamed emissions apply backpressure and are not durable.