Skip to main content
This example is available on GitHub: examples/01_standalone_sdk/09_pause_example.py
Pause agent execution mid-task by calling conversation.pause():
examples/01_standalone_sdk/09_pause_example.py
Running the Example

Pausing Execution

Pause the agent from another thread or after a delay:

Resuming Execution

Resume the paused conversation after performing operations by calling conversation.run() again:

Next Steps