Expand description
Axum-oriented server helpers for implementing AG-UI agents.
This crate provides:
RunHandlerfor convertingagui_rs_core::RunAgentInputinto a stream of AG-UI events.EventEmitterchannel helpers for producing typed event streams.sse_bodyfor turning AG-UI event streams into SSE bodies.proto_bodyfor turning AG-UI event streams into length-prefixed protobuf bodies.agui_route/agui_routerfor axum integration.
Re-exports§
pub use crate::axum::agui_route;pub use crate::axum::agui_router;pub use crate::axum::serve;pub use crate::emit::channel;pub use crate::emit::EventEmitter;pub use crate::emit::EventSink;pub use crate::handler::RunContext;pub use crate::handler::RunHandler;pub use crate::sse::proto_body;pub use crate::sse::sse_body;
Modules§
Enums§
- AgUi
Error - The unified error type for the AG-UI SDK.