Skip to main content

CUA — Computer-Use Agents: unified SDK meta-package

Project description

cua

The unified Python SDK for Computer-Use Agents.

Installation

pip install cua

Quick Start

from cua import Sandbox, Image, ComputerAgent

# Ephemeral local sandbox with an agent
async with Sandbox.ephemeral(Image.linux(), local=True) as sb:
    await sb.shell.run("uname -a")

    agent = ComputerAgent(model="anthropic/claude-sonnet-4-5", tools=[sb])
    async for response in agent.run("Open the browser and go to example.com"):
        print(response)

What's included

Package Import Purpose
cua-sandbox from cua import Sandbox, Image VM/container sandboxes
cua-agent from cua import ComputerAgent LLM-driven computer-use agent
cua-cli cua command CLI for managing sandboxes and images

cua-agent[cloud] extras are included by default (OpenAI, Anthropic, Gemini API backends).

Extras

pip install cua[omni]       # SOM-based visual grounding
pip install cua[uitars-mlx] # UiTars via MLX (Apple Silicon)
pip install cua[uitars-hf]  # UiTars via HuggingFace
pip install cua[all]        # Everything

Python Version

Requires Python 3.12 or 3.13. For Python 3.11, install cua-sandbox directly.

Telemetry

Cua collects anonymous usage statistics by default. Opt out with:

export CUA_TELEMETRY_ENABLED=false

Or per-instance:

async with Sandbox.ephemeral(Image.linux(), telemetry_enabled=False) as sb:
    ...

agent = ComputerAgent(..., telemetry_enabled=False)

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cua-0.1.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cua-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file cua-0.1.2.tar.gz.

File metadata

  • Download URL: cua-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for cua-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f431a37316dcc1e5f6ee4ffa358c07e9770bca4c71c8a399006c28ef9f9423d2
MD5 131c77ee0d7660ad73a5112e7a9d39df
BLAKE2b-256 e718f3c33550c28e56a45ac9becff84969bd979182365a91df71de0bb3c95cbe

See more details on using hashes here.

File details

Details for the file cua-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: cua-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for cua-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d37b31ade2a05d34bfeab7b8519c01b9734bca45c33a83b3501da971b91e72d8
MD5 b84ef5c072a83693db0ba1ccd17508de
BLAKE2b-256 426f419aa2692f921f27620abcce7fe044f68f0b717eeabfca82b43e3557ef75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page