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.
Observe
Lifecycle hooks
React to .NET run, model, step, tool, and checkpoint events.
Pass
Last modified on July 26, 2026