Skip to main content
All interfaces start from an image and create operations. Choose based on how the caller needs to submit, observe, and control work.

Capability map

The examples and method names on this page use Python SDK 0.5.1 and CLI 0.9.4. For MCP, check the tools exposed by the server connected to your client.

Interface boundaries

  • A synchronous SDK session.run() returns a final InstanceResult; async code awaits session.run(). Use spawn() for live control. Save its result with commit_result() when using a regular session.
  • A CLI session tracks a selected image and local workflow history. It does not keep a VM alive.
  • Regular SDK sessions expose operation handles, live events, subprocesses, and detached work. Default lazy sessions run commands as subprocesses of their shared operation; their spawn() returns a subprocess handle. REST exposes the underlying request and status schemas.
  • MCP capabilities depend on the tools exposed by the deployed server. Check the connected server before building a workflow around a specific tool.
Choose a save boundary before starting work. See Images, checkpoints, and branches for defaults and result-image outcomes.

Continue