Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Licensing
How licensing works here
The root LICENSE.md is the MIT License, and it covers everything
in this repository unless a subdirectory has its own LICENSE file. A
subdirectory with its own LICENSE file is licensed under that file instead. Each
package also states its licence in its metadata: license in Cargo.toml or
package.json, and project.license in pyproject.toml. Third-party material
keeps its original licence.
Most of the repository is open source under MIT, including the cua SDK and
its language packages, the cua command, cua daemon, Cua Driver and Lume.
Cua Spaces is source-available under the
Functional Source License, Version 1.1, MIT Future License
(FSL-1.1-MIT); the table below marks each FSL directory. Cua Driver Bench
(libs/cua-driver-bench) is FSL-1.1-MIT too.
LICENSE files in this repository
This table lists every licence file tracked in the repository. Each SPDX
identifier comes from the file's text. Where the text alone cannot tell
-only from -or-later, the table uses the variant the package metadata or
notices declare.
| Path | SPDX licence | Scope |
|---|---|---|
LICENSE.md |
MIT | Repository default |
apps/cua-spaces/LICENSE |
FSL-1.1-MIT | Cua Spaces desktop app (Tauri) |
apps/cua-spaces-macos/LICENSE |
FSL-1.1-MIT | Cua Spaces macOS app (SwiftUI) |
apps/cua-spaces-web/LICENSE |
FSL-1.1-MIT | Cua Spaces web UI (shared by the desktop apps) |
apps/cua-spaces-desktop/LICENSE |
FSL-1.1-MIT | Cua Spaces desktop app (Electron) |
apps/cua-spaces-mobile/LICENSE |
FSL-1.1-MIT | Cua Spaces for iPhone and iPad (React Native) and its Rust core binding |
libs/cua-spacesd/LICENSE |
FSL-1.1-MIT | cua-spacesd and cua-relay |
libs/cua/crates/cua-spaces-app-core/LICENSE |
FSL-1.1-MIT | Spaces app core (the apps' view models) |
libs/cua/crates/cua-keyvault/LICENSE |
FSL-1.1-MIT | Cua Keyvault |
libs/cua/crates/cua-compat/modal-proto/LICENSE-modal |
Apache-2.0 | Third party: Modal's protobuf descriptors used by the Modal gateway (their licence file, unmodified) |
libs/cua/crates/cua-teleport/LICENSE |
FSL-1.1-MIT | Teleport providers and the app-teleport UX |
libs/cua/crates/cua-teleport-bundle/LICENSE |
FSL-1.1-MIT | Teleport bundle format |
libs/cua/crates/cua-machine-seal/LICENSE |
FSL-1.1-MIT | End-to-end sealing of secrets to a Space (machine key, pinning) |
libs/cua/crates/cua-volume/LICENSE |
FSL-1.1-MIT | Cua Volume (cua-volume) |
libs/cua/crates/cua-spaces-ext/LICENSE |
FSL-1.1-MIT | Cua Spaces extensions: teleport, the Cua Volume (cua-volume) tools, persistent agents, the streaming client behind StreamSession, and the daemon extension (Keyvault broker, site login, volume backends) |
libs/cua/crates/cua-push/LICENSE |
FSL-1.1-MIT | Push notifications for the phone app, server side: the account's phones, the alert and its provider (APNs) |
libs/cua/crates/cua-spaces-ffi/LICENSE |
FSL-1.1-MIT | The Spaces app export: the SDK plus the app core, teleport, the Keyvault client and decoded media (BGRA frames, PCM audio), for the SwiftUI app |
libs/cua/crates/cua-spaces-cli/LICENSE |
FSL-1.1-MIT | The Cua Spaces build of cua (cua-spaces-cli), including cua viewer and the decoding cua sb stream-probe |
libs/cua/crates/cua-spaces-cluster/LICENSE |
FSL-1.1-MIT | The Cua Spaces build of cua (cua-spaces-cli), including cua viewer and the decoding cua sb stream-probe |
libs/cua/crates/cua-media-protocol/LICENSE |
FSL-1.1-MIT | Streaming |
| Presence cursors | cua-spaces: presence::PresenceDatagrams (without it cursors ride the Join stream and UpdateCursor) |
cua-spaces-ext::presence_datagrams::QuicPresence (the cua-presence/1 QUIC datagram channel) |
libs/cua/crates/cua-media-transport/LICENSE |
FSL-1.1-MIT | Streaming transport: RCDP framing and pinned QUIC |
libs/cua/crates/cua-media-client/LICENSE |
FSL-1.1-MIT | Streaming client: the RCDP client state machine and decoding |
libs/cua/crates/cua-media-codec/LICENSE |
FSL-1.1-MIT | Streaming codecs: encoders, decoders, encoder probing and selection, audio capture and Opus |
libs/cua/crates/cua-viewer/LICENSE |
FSL-1.1-MIT | Native proxy-window viewer for app shares |
libs/cua/crates/cua-spacesd-html5/LICENSE |
FSL-1.1-MIT | HTML5 viewer (WebCodecs) and its standalone server |
libs/cua/crates/cua-logging/LICENSE |
FSL-1.1-MIT | Diagnostics for the streaming binaries |
libs/spaces-app-swift/LICENSE |
FSL-1.1-MIT | Swift binding of the Spaces app export, the teleport picker and the streaming client (CuaSpacesFFI, CuaSpacesTeleport, CuaSpacesStreaming) |
libs/spaces-notch-swift/LICENSE |
FSL-1.1-MIT | The notch views shared by the SwiftUI app and the Electron app's macOS notch helper (CuaSpacesNotchUI, CuaSpacesNotchHelper, "Cua Spaces Notch.app") |
examples/cua-bots-macos/LICENSE |
FSL-1.1-MIT | Cua Bots for macOS sample (links the Spaces app export for the Keyvault client) |
examples/cua-bots-ios/LICENSE |
FSL-1.1-MIT | Cua Bots for iPhone sample (builds on the macOS sample's package) |
examples/infinite-canvas-swift/LICENSE |
FSL-1.1-MIT | Infinite Canvas sample (uses the streaming client) |
examples/openkoalabot-example-swift/LICENSE |
FSL-1.1-MIT | OpenKoalaBots Swift sample (uses the streaming client) |
examples/openkoalabot-example-tauri/LICENSE |
FSL-1.1-MIT | OpenKoalaBots Tauri sample (uses the streaming client) |
libs/cua-driver-bench/LICENSE |
FSL-1.1-MIT | Cua Driver Bench: harness, task set, method and results (MIT up to #4978; the digest-pinned task files have no per-file headers) |
libs/cua-bench/LICENSE |
MIT | Package |
libs/cua-bench-rl/LICENSE |
MIT | Package |
libs/cua-bench-s1/python/LICENSE |
MIT | Package |
libs/cua-s1/python/LICENSE |
MIT | Package |
libs/kasm/LICENSE |
MIT | Package; includes portions copyright Kasm Technologies Inc. |
libs/lume/metal-capability-shim/LICENSE |
MIT | Package |
libs/python/cua-sandbox/LICENSE |
MIT | Package; THIRD_PARTY_NOTICES.md beside it lists derived code |
libs/python/som/LICENSE |
AGPL-3.0-or-later | Package; -or-later per pyproject.toml |
libs/typescript/core/LICENSE |
MIT | Package |
libs/cua/crates/cua-chromium-storage/LICENSE |
FSL-1.1-MIT | Chromium localStorage read and written as Keyvault items (Keyvault and teleport) |
libs/cua/bench/streaming/LICENSE |
FSL-1.1-MIT | Streaming benchmark driver for the cua-spacesd media plane |
libs/typescript/cursor-motion/LICENSE |
MIT | Package (not published) |
libs/cua-driver/rust/crates/cua-cursor-motion/LICENSE |
MIT | Package |
libs/cua-driver/rust/crates/cua-perception/tests/quality-corpus/LICENSE |
MIT | Test corpus; Cua-authored synthetic data (see its PROVENANCE.md) |
libs/cua-driver/rust/crates/cua-perception/models/licenses/AGPL-3.0-only.txt |
AGPL-3.0-only | Third-party model licence text; see THIRD_PARTY_NOTICES.md |
libs/cua-driver/rust/crates/cua-perception/models/licenses/Apache-2.0.txt |
Apache-2.0 | Third-party model licence text; see THIRD_PARTY_NOTICES.md |
Packages without a LICENSE file of their own fall under the root MIT License. When you add a LICENSE file to a subdirectory, add a row here and set the same licence in the package metadata.
FSL-1.1-MIT (source-available)
You may use, copy, modify and self-host the FSL packages, and build on them,
for any purpose except a Competing Use: making them, or something substantially
similar, available to others as a commercial product or service. Two years
after each release, that release is also available under the MIT License. The
full terms are in each FSL LICENSE file.
The FSL parts are Cua Spaces: the two Spaces apps, cua-spacesd, the Spaces app
core, the Cua Keyvault, teleport, Cua Volume (cua-volume), the streaming
client and its codecs and viewers (cua-media-client, cua-media-codec,
cua-viewer, cua-spacesd-html5, cua-logging, the Swift
CuaSpacesStreaming), and the glue that plugs them into the MIT runtime
(cua-spaces-ext, cua-spaces-ffi, cua-spaces-cli,
libs/spaces-app-swift), and the pool coordinator (cua-spaces-cluster). The samples that link those pieces are FSL too:
Cua Bots (examples/cua-bots-macos, examples/cua-bots-ios), Infinite Canvas
and the OpenKoalaBots Swift and Tauri samples.
The streaming protocol (cua-media-protocol) and transport
(cua-media-transport) are FSL too. The general cua.env.v1 and
cua.daemon.v1 protobuf contract (cua-proto) stays MIT, since the whole SDK
is built on it; it includes StreamService (tickets for a stream, its
targets and preferences). The SDK's MediaSession (open a stream, receive
its encoded frames and audio packets) and @trycua/cua/spaces/pip (a
picture-in-picture wrapper around a canvas you paint) stay MIT.
The WireGuard®-based mesh node (cua-mesh: userspace tunnels, NAT
traversal, the relay client, QUIC streams and the coordinator protocol) is
MIT and depends only on MIT, Apache-2.0 and BSD code (the WireGuard protocol
through Cloudflare's BSD-3-Clause boringtun). Its coordinator, the
encrypted fallback relay and the rules that turn accounts, devices and share
lists into mesh peers are part of cua-relay and cua-spacesd (FSL). No GPL
or AGPL code is linked: not the WireGuard kernel module or wireguard-tools,
and the tailnet integration (cua host setup --tailnet) runs the official
tailscale CLI as a separate program.
Commercial use and trademarks
Offering Cua Spaces, or a product built on it, to others as a hosted or managed service needs a commercial licence: see COMMERCIAL.md. The Cua names and logo are trademarks; see TRADEMARKS.md for how you may use them.
How the MIT parts reach Cua Spaces
MIT code defines extension points; FSL code implements them; MIT code never links FSL code.
| Boundary | MIT side (defines) | FSL side (implements) |
|---|---|---|
| Spaces tools | cua-spaces: the tool contract (cua-spaces-contract) and extension::SpacesExtension; tools no extension serves fail with host_capability_missing and say they ship with Cua Spaces |
cua-spaces-ext: TeleportExtension (teleport_manifest, teleport_app), DriveExtension (drive_*, persistent agents, routines, notifications, computer access) |
| Keyvault and teleport seams | cua-spaces: teleport_broker::SessionBroker, site_login::SiteLoginBroker, share::ShareConsent |
cua-spaces-ext::daemon::keyvault (the Keyvault broker) |
| Daemon | cua-daemon: extension::DaemonExtension (registered per runtime or process-wide) |
cua-spaces-ext::daemon::CuaSpacesDaemon: Cua Volume (cua-volume), teleport, the Keyvault broker and keyvault.sock, the persistent-agent supervisor, in the daemon's own process as before |
| Command line | cua-cli: the teleport, keyvault and drive config command lines and extension::CliExtension; without it cua runs the Cua Spaces cua (CUA_SPACES_CLI, the Cua Spaces app bundle, or cua-spaces-cli on PATH) or says where the command ships |
cua-spaces-cli |
| Bindings | cua-sdk (UniFFI cua_sdk): every SDK API; Space.teleport, Space.teleport_manifest, the drive and persistent-agent methods call the Spaces tools, so they work against the Cua Spaces daemon |
cua-spaces-ffi (UniFFI cua_spaces_ffi, one library with cua_sdk): the app core, the Keyvault client, host-side app teleport (Cua.teleport()) |
| Streaming | cua-spaces: stream::StreamClient / StreamConnection behind StreamSession (without a registered client it fails with host_capability_missing); cua-sdk: MediaSession (encoded frames); cua-cli: CliExtension::viewer and open_media_decoded; the wire contract (cua-proto, cua-media-protocol, cua-media-transport) |
cua-spaces-ext::stream::MediaStreams (the RCDP client over cua-media-client); cua-spaces-ffi::media_decode (decoded BGRA and PCM); cua-spaces-cli (cua viewer, the decoding stream probe); CuaSpacesStreaming |
| TypeScript picker | @trycua/cua/teleport: the headless picker over a TeleportHost |
the Spaces apps' hosts |
Orchestration stays MIT on the client side. Creating, listing and deleting
Spaces, including Spaces on your own machines (cua host setup --provide-spaces, cua spaces create --on host:<name>, the host's limits
and audit: cua-spaces::host_spaces, cua-host, the daemon's
HostSpacesService), is in the MIT crates; the cua-spacesd and relay side
of it is FSL like the rest of cua-spacesd. So is a machine's part of batch
runs on all your machines: its job runner (cua-cluster, the daemon's
HostJobsService), placement scoring, on="auto" for a Space, and cua sb run itself, which asks the daemon. The coordinator that schedules runs on
your machines and the pool agent in the daemon (cua-spaces-cluster) are
FSL, as is the relay's pool lease and log; an MIT cua daemon answers that
it does not have them.
What ships under which licence
| Artifact | Licence |
|---|---|
cua CLI (install script, Homebrew, the Python wheel's bin/cua, the npm native packages) |
MIT |
cua Python package, @trycua/cua, the Swift package Cua, the Kotlin package |
MIT |
cua-sandbox, cua-sandbox-apps, cua-agent, cua-core, cua-bench, cua-bench-rl |
MIT |
| Cua Driver and Lume releases | MIT |
| cua-spacesd releases | FSL-1.1-MIT |
Cua Spaces app bundles (Tauri and SwiftUI), including the cua they bundle (cua-spaces-cli) and the app export library (libcua_spaces_ffi, which contains the MIT SDK) |
FSL-1.1-MIT as a combined work; the MIT parts inside keep their MIT licence |
Third-party code included in Cua Spaces UI
apps/cua-spaces-web and apps/cua-spaces-desktop are FSL-1.1-MIT, like the
other Spaces apps. They include code derived from
T3 Code, which is MIT-licensed;
including MIT code in an FSL app is allowed and does not change the app's
licence.
The T3 Code copyright and MIT notice are kept in
THIRD_PARTY_NOTICES.md, not in per-file headers.
That file also lists the apps' npm dependencies and their licences; regenerate
it with node scripts/licenses/notices.mjs, which fails on a licence outside
the allow-list. Both app bundles ship the file in their resources and link to
it from the About panel; see
scripts/licenses/README.md.
No T3 branding is used: the apps carry only Cua names and logos.
Dependency direction
A package that is not FSL never depends on an FSL package: not at runtime, at
build time, as a dev dependency or as an optional extra. FSL packages may
depend on MIT and Apache-2.0 ones. scripts/check-license-direction.py --include-dev enforces this for Cargo, npm, Python and SwiftPM, and CI runs it
(license-check.yml).