Examples
Basic Usage
How to use Cloud Code SDK for simple AI-assisted coding tasks.
This example demonstrates how to use the Cloud Code SDK for a straightforward AI-assisted coding workflow. It shows how to create a file, read its contents, search for code, and use the AI to improve a Python file.
Example: example_usage.py
Note:
- This example uses the default single-model workflow for simplicity.
- Make sure to set your
CLOUD_CODE_API_KEY
environment variable before running.