middleware_registry
AI Agent Middleware Registry for managing runtime-scoped tool result middleware. Provides a global registry where plugin harnesses can register their middleware implementations and the core tool execution system can look up the appropriate middleware for a given runtime.Import
Classes
MiddlewareRegistry
Registry for runtime-scoped tool result middleware.
Functions
get_default_middleware_registry()
Get the global default middleware registry.
register_middleware()
Register middleware in the global registry.
get_middleware()
Get middleware from the global registry.

