import os
from curalabs_agent import cura # Assuming 'cura' is the client object
# It's recommended to load credentials from environment variables or a secure config
api_key = os.environ.get("CURALABS_API_KEY")
api_secret = os.environ.get("CURALABS_API_SECRET")
if not api_key or not api_secret:
raise ValueError("API Key and Secret must be set in environment variables (CURALABS_API_KEY, CURALABS_API_SECRET)")
# Initialize the SDK client
agent = cura(
api_key=api_key,
api_secret=api_secret
# You can optionally specify the base_url if not using the default production URL
# base_url="https://your-staging-api.curalabs.io/v1"
)
print("SDK initialized successfully.")