Checkpointing and replay
Save a run's progress as it goes. Watch a three task crew stop during its last task and resume from a checkpoint without repeating finished work, then replay a finished run from one chosen task.
11 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 11 minutes.
Written from the official documentation
In this module: Streaming, events and hooks
- StreamingStreamFrame, channels and reading a run as it happens.Pro
- Event listenersSubscribing to the event bus for logging and monitoring.Pro
- Execution hooksThe @on decorator around runs, steps, LLM calls and tools.Pro
- Checkpointing and replaySaving run state, resuming after a failure, replaying a task.Pro