Working data stays in live Python
Each chat has a live Python runtime. Variables, imports, and helper functions remain available across calls and follow-up messages while that runtime stays alive.
A reset, restart, resource eviction, or process failure can end it. A new runtime does not automatically contain the old runtime’s objects.
Five kinds of working or saved state
| Kind | What it holds | Boundary to remember |
|---|---|---|
| Chat records | Durable conversation and associated records. | Chat history does not keep Python objects alive. |
| Live Python | Variables, imports, helpers, and live objects. | Available while that runtime is alive. |
| Output files | Artifacts written to a destination. | Check that the file was actually saved and remains present. |
| Portable checkpoint | Supported values selected for persistence. | Optional; excludes unsupported live objects and resources. |
| Approved memory | Explicit user memories and approved inferred facts. | Stored separately, with controls to review it. |
Optional checkpoints
Checkpointing saves supported Python values so they can be restored later. Both checkpointing and automatic restoration are off by default.
A checkpoint is not a complete copy of a running environment. Open files, browser connections, threads, and other live objects may need to be created again. A saved helper can also depend on data that is no longer available.
Approved memory is separate
Approved memory stores explicit user memories and approved inferred facts. It is not an automatic recording of everything a model encounters or learns.
A useful runtime variable and a durable user preference serve different purposes. Keep working data in the appropriate task context; use the memory workflow for facts you intend to retain as memory.
Before relying on earlier work
- Check whether the runtime restarted.
- Inspect the values or resources needed for the next step.
- Check any persisted output or restored value independently of the transcript's description.
- If something is absent, identify the gap before deciding how to reconstruct it.
Check what is present before repeating earlier steps.