Creates a new RunloopSDK instance.
Optionaloptions: ClientOptionsOptional client configuration options.
ReadonlyapiLow-level API client providing direct access to all Runloop API endpoints. Use this when you need fine-grained control or access to features not yet exposed through the high-level interfaces. Most users should prefer the specialized interfaces (devbox, blueprint, etc.) for a more convenient API.
ReadonlydevboxDevbox Operations - DevboxOps for creating and accessing Devbox class instances.
Devboxes are isolated development environments running in Runloop's cloud - the core resource that provides you with a fully configured development environment. Use these operations to create new devboxes or get existing ones by ID.
ReadonlyblueprintBlueprint Operations - BlueprintOps for creating and accessing Blueprint class instances.
Blueprints are reusable templates that define the base configuration for devboxes, built from Dockerfiles. They can be used to create multiple devboxes with consistent environments. Use these operations to create new blueprints or get existing ones by ID.
ReadonlysnapshotSnapshot Operations - SnapshotOps for creating and accessing Snapshot class instances.
Snapshots are point-in-time copies of a devbox's disk state, allowing you to save the complete state of a devbox and restore it later or create new devboxes from saved states. Use these operations to list snapshots or get existing ones by ID.
ReadonlystorageStorage Object Operations - StorageObjectOps for creating and accessing StorageObject class instances.
Storage objects are files stored in Runloop's object storage system. They can be uploaded, downloaded, and managed with metadata, useful for storing configuration files, data files, or any other content you need to persist or share between devboxes. Use these operations to create new storage objects or get existing ones by ID.
ReadonlyagentAgent Operations - AgentOps for creating and accessing Agent class instances.
Agents are registered AI agent entities that can be mounted into devboxes. Agents can be sourced from npm, pip, git repositories, or object storage, and provide reusable agent code that can be shared across multiple devboxes. Use these operations to create new agents or get existing ones by ID.
Runloop SDK - The recommended way to interact with Runloop. Provides both low-level API access and high-level object-oriented interfaces.
Example
Operations
devbox- DevboxOpsblueprint- BlueprintOpssnapshot- SnapshotOpsstorageObject- StorageObjectOpsagent- AgentOpsSee the documentation for each Operations class for more details.
Use the HTTP API directly
This is useful when you need to access features not yet exposed through the high-level interfaces.
See the RunloopAPI for the Runloop class for more details.