Skip to main content

Module hook

Module hook 

Source
Expand description

Hook trait — stateful runtime backend.

Hook is the single abstraction that Runtime delegates all backend concerns to: model access, tool dispatch, prompt enrichment, and event observation. Implementations own the concrete backends (model provider, memory, MCP, tool registry, skill registry).

Traits§

Hook
Stateful runtime backend.