Cloud sandboxes run as isolated Linux containers on Anthropic-managed infrastructure. They come pre-installed with a comprehensive set of programming languages, databases, and utilities. The agent can use these immediately without any installation steps.
These specifications apply to cloud environments. Self-hosted sandboxes run on your infrastructure with whatever your worker provides.
| Language | Version | Package manager |
|---|---|---|
| Python | 3.10, 3.11, 3.12, and 3.13 | pip, uv, poetry |
| Node.js | 20, 21, and 22 (default) | npm, yarn, pnpm, bun |
| Go | 1.24 (default) and 1.25 | go modules |
| Rust | Stable toolchain (rustup) | cargo |
| Java | OpenJDK 21 | maven, gradle |
| Ruby | 3.1, 3.2, and 3.3 (default) | bundler, gem |
| PHP | 8.3 | composer |
| C/C++ | GCC 13 and Clang | make, cmake, ninja |
Common Python data and document libraries, including NumPy, pandas, Matplotlib, openpyxl, python-docx, python-pptx, and pypdf, are installed for the python3 interpreter.
| Database | Description |
|---|---|
| PostgreSQL 16 | Server and psql client are installed. The server is not running by default. |
| Redis 7 | Server and redis-cli are installed. The server is not running by default. |
| SQLite | Available through language bindings, such as Python's sqlite3 module. |
git - Version controlcurl, wget - HTTP clientsjq, yq - JSON and YAML processingtar, zip, unzip - Archive toolstmux - Terminal multiplexermake, cmake - Build systemsdocker - Container management (limited availability)ripgrep (rg) - Fast file searchsed, awk, grep - Stream editorsvim, nano - Text editorsdiff, patch - File comparisonffmpeg - Audio and video processingconvert, identify) - Image manipulationpandoc - Document conversionpdftotext, pdftoppm) and qpdf - PDF processingtesseract - Optical character recognition (English language data)pdflatex, xelatex, latexmk) - Typesetting/opt/pw-browsers/chromium) - Browser used by Playwright, not on PATHThe sandbox sets PLAYWRIGHT_BROWSERS_PATH to /opt/pw-browsers, so the pre-installed Playwright packages find Chromium there without configuration. The Python package is installed for the python3 interpreter. Use the pre-installed packages rather than installing another Playwright version, which would look for a browser build that is not present. Firefox and WebKit are not installed.
| Property | Value |
|---|---|
| Operating system | Ubuntu 24.04 LTS |
| Architecture | x86_64 (amd64) |
| Memory | Up to 8 GB |
| Disk space | Up to 10 GB |
| Network | API-created environments default to unrestricted networking; sandboxes provisioned through Claude Studio default to limited |
Was this page helpful?