Suga automatically generates type-safe SDKs from your suga.yaml configuration. Define your infrastructure resources and access permissions once, then get pre-configured clients with only the methods your application needs.

Available Languages

How It Works

  1. Define resources and permissions using the Suga editor:
    suga edit
    
    Or manually in your suga.yaml:
    buckets:
      images:
        access:
          app:
            - read
            - write
    
  2. Generate your SDK with access already configured:
    suga generate --python --python-out ./client
    
  3. Use pre-configured resources:
    client = SugaClient()
    client.images.read("file.txt")
    client.images.write("file.txt")
    
Your SDK automatically handles authentication, permissions, and environment differences. The same code works locally with suga dev and when deployed to the cloud.