NotebookSession
Therun() method returns a NotebookSession object containing all executed code cells and their results:
CodeCell Properties
Each cell insession.cells represents one executed code block:
Accessing Results
Basic Usage
Checking Task Completion
When the agent callsdone(), the result is stored in the namespace: