Get Started
Advanced Usage
Take your cloudcode SDK implementation to the next level
Prerequisite: Ensure you’ve installed the cloudcode SDK and have configured your API keys as described in the Quickstart.
Overview
This guide demonstrates advanced Cloud Code SDK features through real examples from the cloud-coding/examples
folder. We’ll walk through key capabilities: Architect Mode, cost tracking, asynchronous tasks, and sandbox management.
Architect Mode
Leverage a two-model workflow for cost-efficient, high-quality code changes. See architect.py
:
Tracking Costs and Credits
Easily monitor your API usage (excerpt from Architect Example):
Asynchronous Tasks (Headless)
Run long-running tasks without blocking your application (see Headless Mode):
Sandbox Management
Work on entire projects securely in a sandbox (inspired by quick-start.py
):