Field reference for the YAML environment specification, covering the adapter, sandbox, credentials, egress, tools, skills, and permission fields.
DigitalOcean Harness Runtime Referencepublic
Last verified 19 Nov 2026
DigitalOcean Harness Runtime provides managed, hardware-isolated microVM sandboxes with built-in tools such as Chromium to run harnesses and execute arbitrary code. Rich lifecycle APIs preserve conversational history and working state across sessions, letting you pause, resume, and fork work to control costs and adapt to the nonlinear nature of agentic workflows. Scale complete agents such as Claude Code or use sandboxes independently for code execution, all through the same service. See What You Can Build for example use cases.
The DigitalOcean API
The DigitalOcean API lets you manage resources programmatically with standard HTTP requests.
-
Harness Runtime API: Create Environment Configs and start sessions from them, send input to agents, and manage checkpoints, workspace transfers, templates, and triggers.
-
Harness Runtime Workspaces API: Create persistent workspaces that outlive a session and attach them to new sessions.
-
Signals API: Manage consent for conversation observability, list an environment’s sessions and dialogues, and export or delete conversation data.
The DigitalOcean Command Line Client, doctl
doctl is the command-line interface for the DigitalOcean API. It supports most of the same actions available in the API and DigitalOcean Control Panel.
doctl lets you manage Harness Runtime from the command line. Use the doctl harness-runtime command or run doctl harness-runtime --help to view available options.
The DigitalOcean Client Libraries
Use the official DigitalOcean client libraries to manage Harness Runtime sessions, agent configs, and triggers from code:
For the Harness Runtime modules in each library, see the Harness Runtime SDK Reference.