Skip to main content
This example demonstrates how to use the Cloud Code SDK to perform AI-assisted coding tasks in a sandbox environment. It covers file creation, uploading directories, running AI code edits, reading files, downloading files, and managing the sandbox lifecycle.

Example: sandbox_example.py

Note:
  • This example demonstrates file management, code editing, and sandbox lifecycle management using the Cloud Code SDK in a sandbox environment.
  • Make sure to set your CLOUD_CODE_API_KEY environment variable before running.