Skip to main content
Install the native Python client and its compatibility adapters from PyPI:
Client() automatically uses the credential saved by runcloud login. For automation, set RUN_CLOUD_API_KEY and optionally RUN_CLOUD_API_URL, or pass api_key and api_url directly. The client also accepts RUN_CLOUD_API_TOKEN as an alias for RUN_CLOUD_API_KEY.

Compatibility adapters

The adapters cover core creation, lookup, commands, lifecycle, and destruction. Blaxel’s current SandboxInstance API is async; use SyncSandboxInstance when migrating its synchronous API. Provider-specific functionality without a public run.cloud equivalent raises UnsupportedCompatibilityFeatureError with a migration hint. The adapters do not report a fabricated success for unsupported features.