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.1.tar.gz (5.1 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cua-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 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.1.tar.gz
Algorithm Hash digest
SHA256 f5fcea1eeac367557951df75cb51cf097bbc8f618c28ac78b4f07cd249a0dbaa
MD5 4f0ab111573ae31351de6430a3c899cb
BLAKE2b-256 77c1f80a2891d941531f97f693fef507eda1a58e581b83ea3cc426484d4d5231

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cua-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 daa3661dc4688ef31b4137312b0da2763df36da65d9105585be4ea55a52b26d6
MD5 45038628044c0862617fc8890229437a
BLAKE2b-256 417387af8f77d7337d9a7f70ad8854307e263c01d58416a547debef6ae753cdd

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