Prerequisites
- Python 3.10 or higher
- Pip package manager
- Access to cloudcode API key (or provider API keys)
Installation Steps
1. Install via pip
The simplest way to install the cloudcode SDK is via pip:2. Verify Installation
You can verify the installation by importing the SDK in a Python script:Setting Up API Keys
Option 1: Using cloudcode API Key (Recommended)
Option 2: Using Provider API Keys Directly
Next Steps
Once you’ve installed the SDK and set up your API keys, you can:- Learn about configuration options
- Start modifying code with AI
- Explore file management capabilities
Quick Start Example
After installing and setting up your API key, try the included Quick Start script:- Create
src/calculator.py
- Add
multiply
anddivide
functions with zero-division handling - Print the diff and updated file content