cua-computer
Computer-Use Interface (CUI) framework powering Cua
What it is and what it does
Cua Computer is a framework for building automation and control systems that interact with local desktop environments on macOS and Linux. It abstracts the complexity of GUI interaction, allowing you to programmatically control applications, capture screen state, and automate user-facing tasks through a unified Python interface.
The package sits in an application framework role, bridging between Python code and the native desktop. It depends on websocket and HTTP libraries (websocket-client, websockets, aiohttp) for communication, image processing (pillow) for screen capture and analysis, and pydantic for data validation. It is actively maintained and has no known security vulnerabilities, though its license status remains unconfirmed in the public metadata.
Use it for:
- Automate repetitive GUI workflows on macOS or Linux without writing platform-specific scripts
- Build testing frameworks that validate application behavior by interacting with the desktop UI
- Create headless agents that control local applications programmatically for integration or data extraction
- Develop sandboxed automation tasks that need to interact with multiple applications in sequence
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Cua Computer provides a framework for programmatic interaction with local macOS and Linux desktop environments, enabling automation and control of GUI applications through a unified interface.
Yes, if you need to automate desktop interaction on macOS or Linux and are comfortable with the unclear license status. The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers a unified interface to a complex problem. Verify the license terms and system requirements before committing to production use.
Install
cua-computer on PyPI
pip
pip install cua-computeruv
uv add cua-computerpoetry
poetry add cua-computerInstalling cua-computer
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance status as of 57 days since latest release. Seven runtime dependencies including pillow, websocket-client, websockets, aiohttp, cua-core, pydantic, and mslex introduce moderate dependency weight.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in proprietary or restricted-license contexts.
Quickstart
pip install cua-computer
from cua_computer import Computer
computer = Computer()
# Use computer object to interact with desktop environment
Requires Python >=3.12,<3.14. Designed for local macOS or Linux environments; Windows support status unclear.
Verify before relying
- Whether the package requires specific system permissions or sandboxing setup on macOS or Linux beyond standard Python installation
- Performance characteristics and latency when controlling GUI elements across network or local connections
- Whether cua-core is a first-party dependency and what its maintenance and licensing status are
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<3.14,>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — pillow, websocket-client, websockets, aiohttp, cua-core, pydantic, mslex |
| Maintenance | actively maintained — 57 days since the last release |
| First released | |
| Downloads | 112,018/month — #12,384 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cua_computer-0.5.19-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
cua-agentCua Agent provides a framework for building…
unclear · top 15,000 on PyPI
cua-coreCua Core provides shared utilities, helper…
unclear · top 15,000 on PyPI
e2b-desktopProvides a Python SDK to create and control…
permissive · top 15,000 on PyPI
PyAutoGUIPyAutoGUI programmatically controls the mouse…
permissive · top 5,000 on PyPI
uiautomationAutomates Windows UI controls and windows by…
permissive · top 15,000 on PyPI
pulp-cliA command-line interface for interacting with…
copyleft · top 15,000 on PyPI
rest.connectorProvides REST API connectivity for network…
permissive · top 15,000 on PyPI
imgui-bundleDear ImGui Bundle provides Python bindings to a…
permissive · top 15,000 on PyPI
openhandsOpenHands is a CLI tool that runs an AI agent…
permissive · top 5,000 on PyPI
nvitopInteractive terminal-based viewer for NVIDIA…
copyleft · top 15,000 on PyPI