Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
[Unit]
Description=cua-spacesd (gRPC + gRPC-Web on :3211)
# cloud-init.service: write_files (e.g. /etc/cua/env-token) lands before the token is resolved.
# run-cua.mount (pulled in by udev when the claim share exists) and
# cua-env-token-sync.service: the orchestrator's claim token (await-token-file
# mode, see /opt/cua/bin/env-token-mode.sh); both optional.
After=cua-desktop.service network-online.target cloud-init.service run-cua.mount cua-env-token-sync.service
Wants=network-online.target cua-desktop.service cua-env-token-sync.service
[Service]
Type=simple
User=cua
# Run commands and file operations as other users without sudo: exactly
# CAP_SETUID, CAP_SETGID and CAP_KILL, held by the agent process alone (it
# empties the inheritable and ambient sets at start). It stays uid 1000.
AmbientCapabilities=CAP_SETUID CAP_SETGID CAP_KILL
Environment=HOME=/home/cua XDG_RUNTIME_DIR=/run/cua-desktop
# Token: CUA_ENV_TOKEN here, or /run/cua/env-token, or /etc/cua/env-token
# (e.g. written by cloud-init write_files). In await-token-file mode the claim
# token file /run/cua/env-token (run-cua.mount) is followed instead. See
# start-spacesd.sh.
# The older env files are still read (later files win: spacesd.env last).
EnvironmentFile=-/etc/cua/env-driver.env
EnvironmentFile=-/etc/cua/guestd.env
EnvironmentFile=-/etc/cua/spacesd.env
ExecStartPre=+/opt/cua/bin/ensure-env-token.sh
ExecStart=/opt/cua/bin/start-spacesd.sh
Restart=always
RestartSec=2
StandardOutput=journal+console
StandardError=journal+console
[Install]
WantedBy=multi-user.target
# The older unit names, kept for one release.
Alias=cua-env-driver.service
Alias=cua-guestd.service