Skip to main content
A cloud environment is an isolated execution context that Oz provisions for each agent run. It defines which GitHub repositories to clone, which Docker base image to use, and which setup commands to run after cloning. By creating a reusable environment, you ensure that every agent run — whether triggered manually or on a schedule — starts from the same predictable baseline.

Managing environments

All environment commands are available under oz environment (alias: oz e).

List environments

Create an environment

Run oz environment image list to see the available Warp dev base images from Docker Hub. If you omit --docker-image, Oz will prompt you to choose from the list interactively.
oz environment create flags:

Get environment details

Update an environment

You can add repos, swap the Docker image, change the description, or append new setup commands without recreating the environment.
oz environment update flags:

Delete an environment

Connecting an environment to a GitHub repository

The --repo flag accepts the owner/repo format and can be repeated to include multiple repositories. Oz clones each repo into the environment before running setup commands.

Base images

Warp publishes a set of curated dev base images. List them with:
You can also use any publicly accessible Docker image with the --docker-image flag.

Using an environment for an agent run

Pass --environment <id> (short: -e) when running a cloud agent to specify which environment to use.
When using oz schedule create for recurring agents, pass the same --environment flag to pin every scheduled run to the same environment.
If you want to run an agent without any environment (not recommended for most use cases), pass --no-environment instead:

Scoping environments

By default, environments are created in your personal scope. To create an environment that is shared across a team or organization, pass the appropriate scope flag when creating or updating: