Skip to main content

Agent Callbacks

LlmAgent supports before/after hooks at the model and tool level.

Model callbacks

Tool callbacks

AgentTool callbacks

Intercept events from child agents when using AgentTool.

Tracing with Langfuse