Skip to main content
Manage control-plane resources with Volcengine account credentials. Session and event requests use the endpoint and Environment Key. Use —workspace-id to select a workspace and —config to select project configuration.
Image builds and Devboxes consume cloud resources. Save any data you need before deleting an instance.
A Cloud-ECS environment requires an available regional Linux Cloud-Init amd64 base image and network configuration. Ordinary creation installs packages at first boot. An image build requires a nonempty package list and bakes the dependencies into the image. Wait with environments build-status. Existing Devboxes retain their environment snapshot when you update an environment.

harness-infra environments create

Create an environment from shared configuration or a specification file.

harness-infra environments create-with-image-build

Build a Cloud-ECS image and create an environment asynchronously.

harness-infra environments build-status

Read build status or wait for completion. agentkit harness-infra environments build-status <environment-id>

harness-infra environments show

Read the specified resource and its state. agentkit harness-infra environments show <environment-id>

harness-infra environments list

List matching resources, one page at a time.

harness-infra environments update

Apply the supplied changes to the resource. agentkit harness-infra environments update <environment-id>

harness-infra environments delete

Delete the specified resource. agentkit harness-infra environments delete <environment-id>

harness-infra devbox create

Create a development instance with the environment’s resources and network settings.

harness-infra devbox show

Read the specified resource and its state. agentkit harness-infra devbox show <devbox-instance-id>

harness-infra devbox list

List matching resources, one page at a time.

harness-infra devbox start

Start the specified instance. agentkit harness-infra devbox start <devbox-instance-id>

harness-infra devbox stop

Stop the specified instance. agentkit harness-infra devbox stop <devbox-instance-id>

harness-infra devbox reboot

Restart the specified instance. agentkit harness-infra devbox reboot <devbox-instance-id> Alias restart.

harness-infra devbox delete

Delete the specified resource. agentkit harness-infra devbox delete <devbox-instance-id>

harness-infra devbox exec

Submit a command and use its execution ID to retrieve the result. agentkit harness-infra devbox exec <devbox-instance-id>

harness-infra devbox command-result

Retrieve output and status for a submitted command. agentkit harness-infra devbox command-result <command-execution-id>
Last modified on November 30, 2026