Use Sandboxes in OCI Generative AI

Sandboxes are now available in OCI Generative AI. A sandbox provides a managed, temporary Linux workspace where developers and AI agents can run code and shell commands. Each sandbox has its own file system, network namespace, and process space.

Use the OCI CLI or SDK to:

  • Create sandboxes within a Generative AI project.
  • Select Compute resources, set the sandbox lifetime, and configure command timeouts.
  • Run commands, stream output, and cancel running commands.
  • Upload input files, download results, and save file system snapshots to create new sandboxes from saved files.
  • Extend, stop, and delete sandboxes.

Use the Console to enable sandboxes for a project, set up networking, view sandbox details, and monitor resource use and command performance.

For an overview, see Sandboxes in OCI Generative AI. To get started, see Creating and Using a Sandbox.