Skip to main content

Quicksand CUA Sandbox

An overlay image package for quicksand that adds browser automation via Playwright and Chromium with a VNC-accessible virtual display. Built on top of quicksand-agent.

Installation

quicksand install quicksand-cua

Usage

import asyncio
from quicksand_cua import CuaSandbox

async def main():
    async with CuaSandbox() as sb:
        # Xvfb, x11vnc, and Chromium start automatically via systemd
        result = await sb.execute("python3 -c 'from playwright.sync_api import sync_playwright; print(\"OK\")'")
        print(result.stdout)

asyncio.run(main())

With custom config

from quicksand_core import Sandbox

async with Sandbox(image="quicksand-cua", memory="4G", cpus=4) as sb:
    result = await sb.execute("chromium --version")

What's Included

Everything from quicksand-agent (Python 3.12, uv, requests, pyyaml, ddgs, markitdown), plus:

  • Xvfb virtual framebuffer (display :0, 1280x1024x24)
  • x11vnc VNC server on port 5901
  • Playwright browser automation library
  • Chromium browser (installed via Playwright)
  • noVNC web client on port 6080
  • Fonts (Liberation, Noto Color Emoji)
  • flake8 Python linter (7.1.1)
  • findutils (find, xargs, locate)
  • file (file command for content-type detection)

All services (Xvfb, x11vnc, Chromium, noVNC) are enabled as systemd units and start automatically on boot.

License

MIT

Metadata

Release files for quicksand-cua 0.3.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for quicksand-cua 0.3.13
File Interpreter ABI Platform
quicksand_cua-0.3.13-py3-none-any.whl Python 3 none any Details

Release files / quicksand_cua-0.3.13-py3-none-any.whl

Download URL quicksand_cua-0.3.13-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a0b3b4b2abf8d1edaea3201c92acbbb270c800bfc67dd3bc42db0c5a55a665b
BLAKE2b-256 checksum
How to use checksums
6ec1935f437d1e516978c56d89de1c41c998c133ce9b6e06b3ea493519527047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.3.13 This release

1 release file

0.3.12

1 release file

0.3.11

1 release file

0.3.10

1 release file

0.3.9

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page