Skip to main content
Every session in a cloud environment runs inside an isolated cloud sandbox, where the agent executes code and reads or writes files. This page summarizes the specifications and boundaries of the cloud sandbox to help you design your agents. To configure preinstalled packages, network access policies, and setup scripts, see Execution Environments; to run sandbox tools on your own infrastructure, see Self-Hosted Environments.
Each session uses its own isolated sandbox and does not share files or process state with other sessions.

Programming languages

You can install dependencies for your tasks with the corresponding package managers via the packages field in Execution Environments.

Preinstalled tools

System and development tools

Document and media processing

Sandbox specifications

To check the actual installed versions, have the agent run python3 --version, node --version, or pip list.

Filesystem layout

Mount points under /mnt in the sandbox are organized by source and have different access permissions:

Read-only and read-write boundaries

Working directory: /mnt/agents/ is the agent’s default directory during a session for storing code, intermediate files, and output files. Files written to this directory sync to the current session’s persistent workspace; if the sandbox instance is recreated, the platform remounts the synced files. Working directories are never shared across sessions. Writes that have not finished syncing before an instance exits may be lost. To preserve important outputs after a session ends, retrieve them via the session files endpoints or call save_artifact to explicitly deliver them as immutable versions. GitHub repositories: Repositories are cloned under /workspace, independently of the /mnt/agents/ working directory. The agent can modify repository files and run tests, and any SKILL.md files inside can be discovered as repo skills. Repository bindings cannot be modified after the session is created; see GitHub Repositories. On a normal resume with a valid checkpoint, repositories are not re-cloned, and uncommitted changes and unpushed local commits are preserved. When no usable checkpoint exists and the mount directory is completely absent, the platform rebuilds the repository from the first successfully checked-out commit rather than moving HEAD to a newer commit on the remote branch. Workspace changes that were not saved to a persistent checkpoint cannot be recovered; event history is not a filesystem backup. Read-only mounts: Uploaded files, skills, and plugins are all mounted read-only. Skills and plugins are fixed when the session is created, whereas additional uploaded files can be mounted later via POST /v1/sessions/{id}/resources (see Files). The agent cannot modify read-only mounts and should not write outputs into those directories. Memory stores: When a memory store is bound in read_write mode, the agent can create, update, and delete memory files in its directory, and subsequent sessions bound to the same memory store can access those changes. When bound in read_only mode, the agent cannot modify the memory store.
/mnt/agents/upload/ is read-only. Have the agent write processed outputs to the /mnt/agents/ working directory rather than attempting to modify uploaded files in place.

Sandbox network boundaries

Outbound network access from sandbox processes is governed by the networking configuration of the session’s execution environment. See Execution Environments for network modes, allowed hosts, and proxy settings. This configuration applies only to processes running inside the sandbox; it does not affect platform-managed tools such as Web Search and Fetch.

Execution Environments

Configure preinstalled packages, network access policies, and setup scripts.

Files

Upload files, attach them to sessions, and retrieve agent outputs.

Memory

Mount memory stores in read-write mode to persist knowledge across sessions.

Vaults

Store credentials securely and inject or substitute them based on matching rules.

Skills

Manage skill versions and mount skills in read-only mode.