Operating system
Preinstalled tools
System tools
Language runtimes
Package managers
Working directory
/app. Note that $HOME points to /data (a different directory), so ~/ expands to /data, not the cwd. For uploaded file mount paths, see Files and Mounts.
Installing extra software
Use the Environment’spackages field to install additional dependencies:
apt/pip/npm keys install system packages, Python packages, and Node.js packages respectively.
You can also instruct the Agent in its system prompt to install additional dependencies on demand.
Networking
Network access is governed by the Environment’sconfig.networking field (object form required):
Example:
Resource limits
When memory or disk limits are exceeded, the process is OOM-killed or writes fail. Consider reminding the Agent in the system prompt to be mindful of resource usage.
File persistence
- Within the same Session, files persist across turns.
- Container temporary storage is retained for 24 hours only. For Sessions inactive beyond 24 hours, the container disk may be reclaimed and files on disk are not guaranteed to be preserved.
- After disk reclamation, the Session itself remains usable — the platform re-initializes the container environment on demand, but files previously produced on disk (e.g., cloned repositories, generated intermediate artifacts) will be lost.
- When the Session lifecycle ends, the container and its files are destroyed immediately.
- For long-term persistence, upload files to platform storage via the Files API.
Execution user
All commands run as root inside the container.whoami returns root, but the USER environment variable is not set (empty string). Agents can install system packages and write to any system directory without sudo. If restrictions are needed, specify them in the Agent’s system prompt.
Environment variables
Variables preset in the container:
Vault credentials are injected as environment variables when you link a Vault to the Session.
Next steps
Cloud environment setup
Environment configuration reference.
Attach and download files
File management.
Authenticate with vaults
Credential injection.
Start a session
Run an agent against an environment.