Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs: deprecate cuabot, cua-computer, cua-computer-server and cua-agent (#4753)

Francesco Bonacci79a4a46354a8
diff --git a/Development.md b/Development.md
index 27bfc3b129..264e4a5d10 100644
--- a/Development.md
+++ b/Development.md
@@ -14,7 +14,7 @@ next to the code you plan to change.
| cua-driver | `libs/cua-driver/rust`, `libs/cua-driver/python` | Rust, platform SDKs, Nix on Linux | [`libs/cua-driver/README.md`](libs/cua-driver/README.md), [`libs/cua-driver/rust/README.md`](libs/cua-driver/rust/README.md) |
| Python SDKs and services | `libs/python` (incl. `cua-sandbox`), `libs/cua-bench` | Python 3.12, uv | Package `pyproject.toml` and README |
| TypeScript SDKs | `libs/typescript` | Node.js, pnpm | [`libs/typescript/README.md`](libs/typescript/README.md) and its `package.json` scripts |
-| CuaBot | `libs/cuabot` | Node.js, pnpm | [`libs/cuabot/README.md`](libs/cuabot/README.md) |
+| CuaBot (deprecated) | `libs/cuabot` | Node.js, pnpm | [`libs/cuabot/README.md`](libs/cuabot/README.md) |
| Lume | `libs/lume` | Swift, Xcode command-line tools | [`libs/lume/Development.md`](libs/lume/Development.md) |
| Sandbox and container images | `libs/images`, `libs/kasm`, `libs/lumier`, `libs/qemu-docker`, `libs/xfce`, `libs/xfce-cua` | Docker plus the component toolchain | [`libs/images/README.md`](libs/images/README.md) or the README in the component |
| Cross-language E2E | `tests/e2e/cua-sdk`, `tests/e2e/local-runtimes` | Rust, uv, Node.js, Go, Docker | [`TESTING.md`](TESTING.md#cua-sdk-and-cli) |
diff --git a/README.md b/README.md
index f3f765424a..b41015a8ae 100644
--- a/README.md
+++ b/README.md
@@ -218,11 +218,22 @@ uv tool run --from 'cua-bench[browser]' playwright install chromium
| [cua-spacesd](libs/cua-spacesd/README.md) | In-sandbox daemon on port 3211: processes, files, desktop, streaming (gRPC) |
| [Cua Spaces for macOS](apps/cua-spaces-macos/README.md) | The Spaces app on macOS: menu bar and notch, live streams, teleport, agent threads |
| [Cua Spaces core](apps/cua-spaces/README.md) | The shared Spaces app core, and the Tauri app for Linux and Windows |
-| [cua-agent](libs/python/agent/README.md) | AI agent framework for computer-use tasks |
| [cua-bench](libs/cua-bench/README.md) | Benchmarks and RL environments for computer-use |
| [lume](https://cua.ai/docs/lume/reference/cli) | macOS/Linux VM management on Apple Silicon |
| [lumier](libs/lumier/README.md) | Docker-compatible interface for Lume VMs |
+### Deprecated packages
+
+Cua no longer maintains these. They will not receive updates or fixes, and existing releases stay on npm and PyPI. See [Migrate from deprecated packages](https://cua.ai/docs/cua-sdk/guides/migrate-from-deprecated-packages).
+
+| Package | Registry | Use instead |
+| -------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
+| [cuabot](libs/cuabot/README.md) | npm | **Do not run it:** it has known security issues. Stop it and uninstall it ([how](libs/cuabot/README.md)), then use Cua Driver or the `cua` CLI. |
+| `cua-computer` | PyPI | The [`cua` SDK](#cua-sdk-and-cli) for sandboxes, [Cua Driver](#cua-driver) for the machine you are on |
+| `cua-computer-server` | PyPI | Images that ship [cua-spacesd](libs/cua-spacesd/README.md), or [Cua Driver](#cua-driver) |
+| [cua-agent](libs/python/agent/README.md) | PyPI | A coding agent with the [Cua Driver MCP](https://cua.ai/docs/cua-driver/guides/connect-your-agent), or `sandbox.agents()` in the `cua` SDK |
+| [cua-som](libs/python/som/README.md) | PyPI | [Cua Driver](#cua-driver) |
+
---
## Resources
diff --git a/docs/content/docs/cua-sdk/guides/meta.json b/docs/content/docs/cua-sdk/guides/meta.json
index df88ca9b91..49e169fded 100644
--- a/docs/content/docs/cua-sdk/guides/meta.json
+++ b/docs/content/docs/cua-sdk/guides/meta.json
@@ -20,6 +20,7 @@
"coding-agent-options",
"browse-the-web",
"agent-frameworks",
- "omarchy"
+ "omarchy",
+ "migrate-from-deprecated-packages"
]
}
diff --git a/docs/content/docs/cua-sdk/guides/migrate-from-deprecated-packages.mdx b/docs/content/docs/cua-sdk/guides/migrate-from-deprecated-packages.mdx
new file mode 100644
index 0000000000..de7c67d4dd
--- /dev/null
+++ b/docs/content/docs/cua-sdk/guides/migrate-from-deprecated-packages.mdx
@@ -0,0 +1,79 @@
+---
+title: Migrate from deprecated packages
+description: cuabot, cua-computer, cua-computer-server and cua-agent are no longer maintained. What each one did and what to use instead.
+---
+
+import { Callout } from 'fumadocs-ui/components/callout';
+
+<Callout type="warn" title="Deprecated">
+ Cua no longer maintains `cuabot`, `cua-computer`, `cua-computer-server` or
+ `cua-agent`. They will not receive updates or fixes. Existing releases stay on
+ npm and PyPI, so current installs keep installing, but you should move off them.
+</Callout>
+
+<Callout type="error" title="Do not run cuabot">
+ `cuabot` has known security issues and is no longer maintained. Do not run it.
+ If it is installed, [stop and remove it](#cuabot) now.
+</Callout>
+
+| Package | Registry | Last release | Use instead |
+| --- | --- | --- | --- |
+| `cuabot` | npm | 1.0.14 | [Cua Driver](/cua-driver) over MCP, or a sandbox from the [`cua` CLI](/cua-sdk/quickstart) or [Cua Spaces](/spaces) |
+| `cua-computer` | PyPI | 0.5.19 | The [`cua` SDK](/cua-sdk/quickstart) (`cua-sandbox`) for sandboxes, [Cua Driver](/cua-driver) for the machine you are on |
+| `cua-computer-server` | PyPI | 0.3.46 | Images that ship [cua-spacesd](/cua-sdk/guides/spacesd), or [Cua Driver](/cua-driver) on a host |
+| `cua-agent` | PyPI | 0.9.0 | A coding agent with the [Cua Driver MCP](/cua-driver/guides/connect-your-agent), or [`sandbox.agents()`](/cua-sdk/guides/run-a-coding-agent) |
+
+## cuabot
+
+`cuabot` ran coding agents in a Docker sandbox with a local server and a
+desktop you could watch. Stop it, uninstall it and remove what it created:
+
+```bash skip="destructive"
+cuabot --stop # repeat with --name <session> for each named session
+npm uninstall -g cuabot # or delete any local node_modules/cuabot
+docker rm -f cuabot-xpra
+docker images -q trycua/cuabot | xargs docker rmi
+rm -rf ~/.cuabot
+```
+
+Instead:
+
+- To let Claude Code, Codex, Cursor or another agent operate apps on your
+ machine, [connect it to Cua Driver](/cua-driver/guides/connect-your-agent).
+- To give an agent its own computer that you can watch,
+ [create a Space](/spaces/quickstart) or a sandbox with the
+ [`cua` CLI](/cua-sdk/quickstart), then
+ [run the agent in it](/cua-sdk/guides/run-a-coding-agent).
+
+## cua-computer
+
+`cua-computer` was the Python `Computer` class that started a VM or container
+and drove it through `cua-computer-server`. Use the `cua` SDK instead: it
+creates local and cloud sandboxes, and `Sandbox` exposes the screen, input,
+shell and files. Start with the [SDK quickstart](/cua-sdk/quickstart) and the
+[sandbox reference](/cua-sdk/reference/python/sandbox).
+
+To operate native apps on the machine you are on, use
+[Cua Driver](/cua-driver/quickstart).
+
+## cua-computer-server
+
+`cua-computer-server` was the HTTP and WebSocket server inside a guest that
+`cua-computer` talked to. The in-guest agent is now
+[cua-spacesd](/cua-sdk/guides/spacesd), which Cua Spaces and the current
+sandbox images ship. Nothing in the `cua` SDK talks to `cua-computer-server`
+any more. Images built before that change still carry it; see the
+[image catalog](/cua-sdk/reference/os-image-catalog) for which ones.
+
+To drive a desktop directly, install [Cua Driver](/cua-driver/quickstart) on it.
+
+## cua-agent
+
+`cua-agent` was the Python `ComputerAgent` loop with LiteLLM. Bring your own
+agent instead:
+
+- Connect Claude Code, Codex, Cursor, OpenClaw or another agent to the
+ [Cua Driver MCP server](/cua-driver/guides/connect-your-agent).
+- Run a coding agent inside a sandbox with
+ [`sandbox.agents()` or `cua agent run`](/cua-sdk/guides/run-a-coding-agent).
+- Score agents on tasks with [Cua Bench](/cua-bench).
diff --git a/docs/content/docs/redirects.json b/docs/content/docs/redirects.json
index aef823f19e..d46ac3cf1f 100644
--- a/docs/content/docs/redirects.json
+++ b/docs/content/docs/redirects.json
@@ -167,6 +167,11 @@
"cua-sdk/reference/sandbox/pool": "cua-sdk/reference/python/pool",
"cua-sdk/reference/sandbox/runtime-support": "cua-sdk/reference/runtime-support",
"cua-sdk/reference/sandbox/typescript": "cua-sdk/reference/typescript",
+ "cua/reference/agent-sdk": "cua-sdk/guides/migrate-from-deprecated-packages",
+ "cua/reference/computer-sdk": "cua-sdk/guides/migrate-from-deprecated-packages",
+ "cuabot": "cua-sdk/guides/migrate-from-deprecated-packages",
+ "cuabot/cuabot": "cua-sdk/guides/migrate-from-deprecated-packages",
+ "cuabot/install": "cua-sdk/guides/migrate-from-deprecated-packages",
"fleets/concepts": "fleets",
"fleets/concepts/how-fleet-images-work": "fleets/guides/images",
"fleets/concepts/pools-claims-and-guest-services": "fleets",
diff --git a/libs/cuabot/README.md b/libs/cuabot/README.md
index 763fc0f003..8cf4e53b29 100644
--- a/libs/cuabot/README.md
+++ b/libs/cuabot/README.md
@@ -1,5 +1,20 @@
# cuabot
+> [!CAUTION]
+> **Deprecated and unsafe to run:** `cuabot` has known security issues and is no longer maintained. Do not run it.
+>
+> If it is installed, stop it, uninstall it and remove its data:
+>
+> ```bash
+> cuabot --stop # also: cuabot --name <session> --stop, for each named session
+> npm uninstall -g cuabot # or delete any local node_modules/cuabot
+> docker rm -f cuabot-xpra # the sandbox container it created
+> docker images -q trycua/cuabot | xargs docker rmi
+> rm -rf ~/.cuabot
+> ```
+>
+> There will be no fixes or new releases. To give a coding agent a computer, use [Cua Driver](https://cua.ai/docs/cua-driver/guides/connect-your-agent) over MCP, or a sandbox from the [`cua` CLI](https://cua.ai/docs/cua-sdk/quickstart) or [Cua Spaces](https://cua.ai/docs/spaces/quickstart). See [Migrate from deprecated packages](https://cua.ai/docs/cua-sdk/guides/migrate-from-deprecated-packages).
+
Co-op computer-use for any agent.
Multi-user computing sandbox that gives any coding agent (Claude Code, Gemini CLI, Codex, OpenClaw, Vibe) seamless computer-use capabilities.
diff --git a/libs/python/agent/README.md b/libs/python/agent/README.md
index 36b961178b..6ec5f19159 100644
--- a/libs/python/agent/README.md
+++ b/libs/python/agent/README.md
@@ -1,5 +1,8 @@
# Cua Agent
+> [!WARNING]
+> **Deprecated:** `cua-agent` is no longer maintained by Cua and will not receive updates or fixes. For desktop control, connect your coding agent to [Cua Driver](https://cua.ai/docs/cua-driver/guides/connect-your-agent) over MCP. For sandboxes, use the [`cua` SDK and CLI](https://cua.ai/docs/cua-sdk/quickstart) (`pip install cua`) and [run a coding agent in a sandbox](https://cua.ai/docs/cua-sdk/guides/run-a-coding-agent). See [Migrate from deprecated packages](https://cua.ai/docs/cua-sdk/guides/migrate-from-deprecated-packages). Existing releases stay on PyPI, so current installs keep working.
+
Computer-Use framework with liteLLM integration for running agentic workflows on macOS, Windows, and Linux sandboxes.
**[Documentation](https://cua.ai/docs/cua/reference/agent-sdk)** - Installation, guides, and configuration.