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.4.tar.gz (6.6 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.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cua-0.1.4.tar.gz
  • Upload date:
  • Size: 6.6 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.4.tar.gz
Algorithm Hash digest
SHA256 a036fddadb40a529406204afba5a990ce032f7f9f3bf6039c25d8515c7a7228a
MD5 7a054f4e0b3088a4d57ba596d6e34824
BLAKE2b-256 44208f65b8952df3a9271fbdfa26059fad53314c7933ffeb3530237f18925303

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cua-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9017aeee83c67c3d3057063b9711e79cac545dc6c46f1c4bf8c5de9008ddd8
MD5 290fd54ede6ec5ad16d6d0cfaba93099
BLAKE2b-256 dea475c614950c52e5d65728b94c73861ea0867f3e777d93c31f72b4fa4504cb

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