Creating Hedera Agent Kit Hooks Hooks are non-blocking extensions that run around the lifecycle. They observe and can enrich execution: log calls, write audit trails, track metrics, persist state on . They do not block tool execution — that's the job of policies (see skill). Hooks fire only for tools that extend . A tool that implements the interface directly without extending bypasses the hook system entirely. When to write a hook vs. a policy | If you want to… | Use | |---|---| | Log/audit/track tool calls | Hook | | Enrich (counters, session state) | Hook | | Stop a call from happening whe…