Skip to main content
Attach hooks at the agent, model, and tool level:

AgentTool callbacks

AgentTool supports before_agent_callback and after_agent_callback to intercept child agent events: