← Back to browse
skill

Agent lifecycle hooks for observation and interception

From lobehub/lobe-chat

Summary

Allows developers to observe and intercept agent execution at critical lifecycle points, including tool calls, context compression, and sub-agent interactions. Hooks can be registered to implement custom logic for tracing, mocking, or logging agent steps.