Module middleware

Module middleware 

Source
Expand description

Middleware trait and chain — wraps agent execution at lifecycle points.

Re-exports§

pub use latency::*;
pub use log::*;
pub use retry::*;

Modules§

latency
Latency tracking middleware for tool calls.
log
Logging middleware for agent and tool lifecycle events.
retry
Advisory retry middleware for agent error tracking.

Structs§

MiddlewareChain
Ordered chain of middleware.

Traits§

Middleware
Middleware hooks — all optional, implement only what you need.