Unified CLI for CUA - Computer-Use Agents
Project description
CUA CLI
Unified command-line interface for CUA (Computer-Use Agents).
Installation
pip install cua-cli
Usage
# Authentication
cua auth login # Authenticate via browser
cua auth login --api-key # Authenticate with API key
cua auth list # List authenticated workspaces
cua auth status # Show auth status and credits
cua auth logout # Remove active workspace credentials
cua auth logout --workspace <slug> # Remove specific workspace
cua auth logout --all # Remove all credentials
cua auth env # Export API key to .env file
# Workspace Management
cua ws set <slug> # Switch active workspace
cua ws set # Interactive workspace picker
# Sandbox Management
cua sb list # List all sandboxes
cua sb create --os linux --size medium --region north-america
cua sb get <name> # Get sandbox details
cua sb start <name> # Start a stopped sandbox
cua sb stop <name> # Stop a running sandbox
cua sb restart <name> # Restart a sandbox
cua sb suspend <name> # Suspend a sandbox
cua sb delete <name> # Delete a sandbox
cua sb vnc <name> # Open sandbox in browser
# Image Management
cua image list # List cloud images
cua image list --local # List local images
cua image push <name> # Upload image to cloud
cua image pull <name> # Download image from cloud
cua image delete <name> # Delete cloud image
# Skills Management
cua skills list # List recorded skills
cua skills read <name> # Read a skill's content
cua skills record <name> # Record a new skill
cua skills replay <name> # Replay a skill
cua skills delete <name> # Delete a skill
cua skills clean # Delete all skills
# MCP Server (for AI assistants)
cua serve-mcp # Start MCP server with all permissions
cua serve-mcp --permissions sandbox:all,computer:readonly
Installation Options
# Basic installation
pip install cua-cli
# With MCP server support
pip install cua-cli[mcp]
# With skills recording (VLM captioning)
pip install cua-cli[skills]
# Full installation
pip install cua-cli[all]
MCP Integration
To use CUA with Claude Code or other MCP-compatible AI assistants:
# Add CUA as an MCP server
claude mcp add cua -- cua serve-mcp
# With specific permissions
claude mcp add cua -- cua serve-mcp --permissions sandbox:all,computer:readonly
# With a default sandbox
claude mcp add cua -- cua serve-mcp --sandbox my-sandbox
Available Permissions
all- All permissionssandbox:all- Full sandbox managementsandbox:readonly- List and get sandboxes onlycomputer:all- Full computer controlcomputer:readonly- Screenshots onlyskills:all- Full skills managementskills:readonly- List and read skills only
Individual permissions: sandbox:list, sandbox:create, sandbox:delete, sandbox:start, sandbox:stop, sandbox:restart, sandbox:suspend, sandbox:get, sandbox:vnc, computer:screenshot, computer:click, computer:type, computer:key, computer:scroll, computer:drag, computer:hotkey, computer:clipboard, computer:file, computer:shell, computer:window, skills:list, skills:read, skills:record, skills:delete
Environment Variables
CUA_API_KEY: API key for authenticationCUA_API_BASE: API base URL (default:https://api.cua.ai)CUA_WEBSITE_URL: Website URL for OAuth (default: https://cua.ai)CUA_MCP_PERMISSIONS: Default MCP permissions (comma-separated)CUA_SANDBOX: Default sandbox name for computer commands
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cua_cli-0.1.10.tar.gz.
File metadata
- Download URL: cua_cli-0.1.10.tar.gz
- Upload date:
- Size: 68.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19fd78d3c51d7d45908bb4275273824a93808eae0f65387d2283349a72e34e1d
|
|
| MD5 |
b64402c49678e8ee2121c32660fbee35
|
|
| BLAKE2b-256 |
012865d435eb71c620bda4b7faff8a11d3b2928fb563eff5ca4ab48f5cd84d88
|
File details
Details for the file cua_cli-0.1.10-py3-none-any.whl.
File metadata
- Download URL: cua_cli-0.1.10-py3-none-any.whl
- Upload date:
- Size: 77.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
378df152ab58d4de4ae05b9aec7d282d036ed553f05a43b3a9da6b55e9de1f76
|
|
| MD5 |
7712223091d39a9714864fbfb6767b75
|
|
| BLAKE2b-256 |
c41dcdbee0b541122448276f5340cae13314e81a18f67a7c16db75a9bc35358a
|