Skip to main content
Pass RunOptions.OnEvent to update a product timeline, audit log, or telemetry pipeline. Event families cover run start/resume/terminal states, model requests, step checkpoints, tool execution and progress, human waits, cancellation, and failures. Keep the callback fast. Queue slow storage or network work outside the agent loop.
Last modified on July 26, 2026