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
#!/bin/bash
set -euo pipefail
rm -f /tmp/.X1-lock /tmp/.X11-unix/X1
security_args=(-SecurityTypes None --I-KNOW-THIS-IS-INSECURE)
if [[ -n "${VNC_PW:-}" ]]; then
mkdir -p /home/cua/.vnc
printf '%s\n' "$VNC_PW" | vncpasswd -f > /home/cua/.vnc/passwd
chmod 0600 /home/cua/.vnc/passwd
security_args=(-SecurityTypes VncAuth -rfbauth /home/cua/.vnc/passwd)
unset VNC_PW
fi
vncserver :1 \
-geometry "${VNC_RESOLUTION:-1280x900}" \
-depth "${VNC_COL_DEPTH:-24}" \
-rfbport "${VNC_PORT:-5901}" \
-localhost no \
"${security_args[@]}" \
-AlwaysShared \
-AcceptPointerEvents \
-AcceptKeyEvents \
-AcceptCutText \
-SendCutText \
-xstartup /usr/local/bin/xstartup.sh
exec tail -F /home/cua/.vnc/*.log