Container types, network policies, and preinstalled packages.
This page describes the container available to Agents in managed
The standard image for managed Environments is currently based on Ubuntu 22.04 LTS. CPU architecture, kernel, and container engine can vary by runtime environment.
Inspect the actual environment inside a Session:
The current standard image includes common system tools such as
Preinstalled tools and patch versions can change as the image is upgraded. If a task needs an exact version, pin it in the Environment and inspect it in the Session:
The default working directory for Agent tools is:
In managed Environments,
Managed
For initialization that cannot be expressed with
Available CPU, memory, disk, and execution timeouts depend on the runtime environment and service configuration. Do not make a task depend on fixed resource values. If a task has minimum resource requirements, validate them in the target environment first.
Processes can be terminated or writes can fail when memory or disk is exhausted. Long-running tasks must also account for per-tool and per-turn timeouts.
The execution user and the values of
Session
cloud Environments. For self_hosted Environments, the operating system, tools, and resources are determined by the self-hosted runtime.
In a managed Environment, you can rely on the following behavior:
- Agent tools start in
/databy default. config.packagessupports apt, pip, and npm dependencies.config.setup_scriptruns after package installation.- The container filesystem is an ephemeral workspace; durable outputs must be stored externally.
Runtime and operating system
The standard image for managed Environments is currently based on Ubuntu 22.04 LTS. CPU architecture, kernel, and container engine can vary by runtime environment.
Inspect the actual environment inside a Session:
If you use native binaries, detect the architecture inside the Session or provide builds for every required architecture.
Tools in the current standard image
The current standard image includes common system tools such as git, curl, wget, jq, vim, ssh, make, cmake, gcc, ripgrep, tar, and unzip.
It also includes these major language runtimes:
| Runtime | Current major version |
|---|---|
| Python | 3.12 |
| Node.js | 20 |
| Go | 1.22 |
| Java | 21 |
| Ruby | 3.3 |
| PHP | 8.3 |
| Rust | stable |
Working directory
The default working directory for Agent tools is:
WORK_DIR is /data, and tools such as Bash start in /data when no directory is provided. Put repositories and working files under a directory such as /data/workspace/.
For uploaded files and repository resources, use each resource's mount_path to select the mount location; see Files and Mounts.
Installing extra software
Managed cloud Environments support these config.packages fields:
| Field | Installation behavior |
|---|---|
apt | System packages through apt-get install |
pip | Python packages through pip install |
npm | Node.js packages through npm install -g |
packages, use config.setup_script. It runs after package installation through /bin/bash -lc, with /data as its working directory, a maximum size of 64 KiB, and a 10-minute timeout.
Resources and timeouts
Available CPU, memory, disk, and execution timeouts depend on the runtime environment and service configuration. Do not make a task depend on fixed resource values. If a task has minimum resource requirements, validate them in the target environment first.
Processes can be terminated or writes can fail when memory or disk is exhausted. Long-running tasks must also account for per-tool and per-turn timeouts.
File persistence
- Files normally remain between turns while the same runtime instance is retained.
- The container's ephemeral storage may be reclaimed after 24 consecutive hours of inactivity.
- When a Session is resumed after reclamation, the platform reinitializes the container and prepares the Environment and mounted resources again as needed. Files that were not saved to external storage may be lost.
- After a Session is archived or ends, do not rely on its container files remaining available.
Execution user and environment variables
The execution user and the values of HOME, USER, SHELL, and LANG can vary by runtime environment or custom image. Do not make scripts depend on a specific UID or assume that system directories are always writable.
Inspect the current Session when needed:
environment_variables and environment-variable credentials from linked Vaults are injected for tool calls. Never print secrets in logs or task output.
Related documents
- Cloud Environments — Environment configuration
- Files and Mounts — file management
- Vaults — credentials and injection

