agui
AG-UI-specific streaming/composition helpers.
AG-UI adapter surface for composing user-facing streaming around [crate::Agent].
Platform
Section titled “Platform”- Native only (
not(target_arch = "wasm32")): HTTP routes and SSE streaming require Tokio and Axum. Enable theevent-streamfeature (and typicallyllm-engineon the agent). - WASM: this module is not built for
wasm32; use A2A hosting from [crate::host] ora2a_serve!instead.
- Configure [
crate::agui::AgUiConfig] (route path) and build [crate::agui::AgUiApp] from an [crate::Agent] that has a stream-capable LLM runtime ([crate::Agent::configure_llm_runtime] on native). - Combine with [
crate::AgentHostBuilder::with_agui] to serve AG-UI alongside A2A on one router.