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.3.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.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cua-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 62c30ff3c906d0ed9d059e516cd1034110d67501fdb22fba4907447f103e33d0
MD5 5bb6ee3dd9faf85c872c52efe5d5f28a
BLAKE2b-256 1bc07978be00a14fb5aec9eadb1c0f7d49c65275633913014b2c8a8fd48a4d20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cua-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dde2e20218ebde61a911caa085d60c0e3356222c87a806aaf697115d6bb3c12a
MD5 6a5ac38a18af0d188f1fa9ea8bc03ed9
BLAKE2b-256 75e7a912e3c447b42cb25d7e67090e581a0647f1d3fd8a5aafae537620d4df20

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