Skip to main content

cua-operator

Computer-Using Agent (CUA) Operator

CUA is a new and evolving technology, but it currently lacks good documentation, mature libraries, and easy-to-use tools. While some automation or remote control libraries can work with CUA, they are often hard to set up. This project aims to make it simple for anyone to try out CUA without needing to understand it's internal details or complex configurations. It supports both Windows and macOS, and lets you connect your personal computer to a CUA compatible endpoint and explore the potential of CUA more easily.

Quick Start

Use CUA on your personal computer

Get Python Ready

pip install cua-operator openai

Run the following Python script and start your journey.

from cua_operator.bridges import OpenAICuaBridge
from cua_operator.operators import LocalCuaOperator
from openai import OpenAI

client = OpenAI(
    api_key="{OPENAI_API_KEY}"
)

operator = LocalCuaOperator(bridge=OpenAICuaBridge(client))
operator.run()

Customization

CUA-Operator is built around two core concepts: operators and bridges. An operator defines how you intend to interact with the CUA, whether through a local machine, a remote device, or potentially a Docker instance. A bridge specifies the service endpoint you connect to, such as OpenAI, with potential support for alternatives like Claude.

All available operators are in the cua_operator.operators namespace.

  • Local CUA Operator: LocalCuaOperator
  • Remote CUA Operator: RemoteCuaOperatorClient and RemoteCuaOperatorServer

All available bridges are in the cua_operator.bridges namespace.

  • OpenAI CUA Bridge: OpenAICuaBridge

Samples: samples

Metadata

Release files for cua-operator 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cua-operator 0.0.1
File Size Uploaded
cua_operator-0.0.1.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cua-operator 0.0.1
File Interpreter ABI Platform
cua_operator-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.8 kB

Release files / cua_operator-0.0.1.tar.gz

Download URL cua_operator-0.0.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
14876f475bd2c17420ef2001b0ea23da07cbfb0479af8f047192c651cb81366a
BLAKE2b-256 checksum
How to use checksums
82bbde47c0ac7e4105c47a634e0a9eaec9f6382189395eb533b8fb304a3bc6e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 27, 2025.

Transparency log

Release files / cua_operator-0.0.1-py3-none-any.whl

Download URL cua_operator-0.0.1-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a34843dc922faf05e12ba255e3b384aed8848f69bd5fa73a0b099c158fa8a04
BLAKE2b-256 checksum
How to use checksums
963164ff16ab5e7a3a7979227600af84375fd298fbffe5ab432e6e3c9e33b924
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 27, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page