Expand description
Hook trait โ lifecycle callbacks and tool dispatch for subsystems.
Each tool/subsystem implements Hook to participate in the runtime
lifecycle: provide schemas, inject context before runs, observe
events, preprocess messages, and dispatch tool calls.
Traitsยง
- Hook
- A pluggable subsystem that participates in the agent lifecycle.