Read saved files without starting a VM
An image is also a source of files for your application. The Inspect API lets you list directories, read files, and download artifacts directly from the stored filesystem. You can inspect a base image before running code or retrieve results from a saved checkpoint after its VM has stopped. Inspection leaves the image unchanged.Choose persistence before submission
Choose a session type and save boundary before starting work. SDK 0.5.1 defaults to a lazy session, which can share a running VM between commands and saves on snapshot, idle timeout, or normal context exit. Regular sessions and the CLI save after each non-disposable run.Interpret the result image
Reuse a saved result only when the operation returns an image UUID and you can read the files you need from it. This also applies after a command failure, timeout, or cancellation. If no usable image is returned, restart from your last known-good image.
An absent result image means there is no new continuation point from that operation. An unchanged image ID means the existing immutable source remains the continuation point.
Use UUIDs for repeatable work
A tag is a mutable name. Assigning an existing tag to another image moves the tag.Prepare once, branch twice
Save a shared input file once, then read it in two independent operations. Complete the Python quickstart setup. This complete program uses regular sessions so each disposable reader starts fresh compute from the same checkpoint:Environment values
Values passed throughenv are available to the guest process and are represented in operation input metadata. Regular SDK sessions expose preserve_env=True for saving supported environment metadata with disposable=False. Session env defaults are also recorded in local history; per-command overrides do not become session defaults. Files attached to a run are also visible inside the guest. Do not put credentials in preserved environment metadata, uploaded files, or commands executed as untrusted code. Follow Configure networking and secrets for the supported controls.