on_event to update product timelines, audit records, or an existing telemetry system:
Observe
Lifecycle hooks
React to Python run, model, step, tool, and checkpoint events.
Pass
Events cover run state, model calls, steps, checkpoints, tool execution and progress, human waits, cancellation, and failures. Keep the callback fast and queue slow work externally.
Last modified on July 26, 2026