Archive

337 posts · Page 5 of 29. ← Blog

Pratik Dhanave · ·5 min read

Callbacks in Google ADK: Six Hooks and One Rule

before/after the agent, model, and tool steps — and the single short-circuit rule that turns them into guardrails

Callbacks are lifecycle hooks around the agent, model, and tool steps — before/after each — used for guardrails (short-circuit by returning a response), logging, and mutating requests and responses.