Skip to main content

Quicksand Alpine

This package bundles a pre-built Alpine Linux 3.23 VM image for the quicksand agent harness. No downloads required after installation.

Alpine is lightweight and boots quickly, making it ideal for AI agents that need fast sandbox startup.

Why Alpine?

Alpine Linux is a lightweight distribution that offers:

  • Smaller image size: ~75MB vs ~300MB for Ubuntu
  • Faster boot time: Less to load means quicker startup
  • Minimal attack surface: Only essential packages included
  • musl libc: Smaller, simpler C library

Use Alpine when you need fast, lightweight sandboxes. Use Ubuntu when you need broader package compatibility or glibc-dependent software.

Installation

pip install 'quick-sandbox[qemu,alpine]'

Or install separately:

pip install quick-sandbox
quicksand install alpine

Usage

import asyncio
from quicksand import AlpineSandbox

async def main():
    async with AlpineSandbox() as sb:
        result = await sb.execute("cat /etc/os-release")
        print(result.stdout)

asyncio.run(main())

With custom config

from quicksand import AlpineSandbox

async with AlpineSandbox(memory="512M", cpus=2) as sb:
    result = await sb.execute("uname -a")

Or using Sandbox directly:

from quicksand import Sandbox

async with Sandbox(image="alpine", memory="512M", cpus=2) as sb:
    result = await sb.execute("uname -a")

What's Included

The Alpine 3.23 image includes:

  • BusyBox shell
  • curl, ca-certificates
  • OpenRC and dhcpcd
  • sudo and ext4 disk-resize tools
  • The quicksand agent (pre-installed)

Installing Additional Packages

Alpine uses apk for package management:

async with AlpineSandbox() as sb:
    # Install packages
    await sb.execute("apk add --no-cache git nodejs npm")

    # Use them
    result = await sb.execute("node --version")
    print(result.stdout)

Package Size

The wheel is ~75MB, much smaller than Ubuntu (~300MB) because Alpine is a minimal distribution. This makes it faster to download and install.

License

MIT

Metadata

Release files for quicksand-alpine 0.9.12

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

Built distributions (wheels)

Table of built distributions (wheels) for quicksand-alpine 0.9.12
File
quicksand_alpine-0.9.12-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
quicksand_alpine-0.9.12-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
quicksand_alpine-0.9.12-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
quicksand_alpine-0.9.12-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
quicksand_alpine-0.9.12-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
quicksand_alpine-0.9.12-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details

Total release size: 500.9 MB

Release files / quicksand_alpine-0.9.12-py3-none-win_arm64.whl

Download URL quicksand_alpine-0.9.12-py3-none-win_arm64.whl
Size 81.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
b0f3a4d2c5e6a309e18e99129a48603c0f121b84112ef0586a40c22bf5fb2991
BLAKE2b-256 checksum
How to use checksums
60169b6f2eb603ddea11fd4f3ce9a175c7dcd08a94ce34ac840d313ee73f43fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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 files / quicksand_alpine-0.9.12-py3-none-win_amd64.whl

Download URL quicksand_alpine-0.9.12-py3-none-win_amd64.whl
Size 85.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
99fa5151042a458b093bba7bc327335ea3c3dea210c25eaed8c7d2a11780a676
BLAKE2b-256 checksum
How to use checksums
de712ad5bafaa62587dcc445dfde1d8cf059aa671bb6e44ecf0bb7a19814e6eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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 files / quicksand_alpine-0.9.12-py3-none-manylinux_2_17_x86_64.whl

Download URL quicksand_alpine-0.9.12-py3-none-manylinux_2_17_x86_64.whl
Size 85.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
faccde22aa923bf4fecaf9a5c94058fe34c817b7d662869d7df37fedec44a6c0
BLAKE2b-256 checksum
How to use checksums
f95bdc7107adc33630523946c800defd42bab5029b1071cc1d06df5d8211c226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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 files / quicksand_alpine-0.9.12-py3-none-manylinux_2_17_aarch64.whl

Download URL quicksand_alpine-0.9.12-py3-none-manylinux_2_17_aarch64.whl
Size 81.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
8cbd76d5071eb5a1baeaa28bfab44bc71e1805664c9e4112b996b50a17bd7e49
BLAKE2b-256 checksum
How to use checksums
d22a9a8d399925466060ae97cb21d67a21d3ac356e105c4fc1f56bc1db372834
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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 files / quicksand_alpine-0.9.12-py3-none-macosx_11_0_arm64.whl

Download URL quicksand_alpine-0.9.12-py3-none-macosx_11_0_arm64.whl
Size 81.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
89736b07bfa019665289fa2896731475597b6f79941dd79ee8ac3daf179a08b7
BLAKE2b-256 checksum
How to use checksums
8266ad4aeba5e80aca3f84ff45303662021aefa7f7c5571eaa6a86420d587dee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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 files / quicksand_alpine-0.9.12-py3-none-macosx_10_13_x86_64.whl

Download URL quicksand_alpine-0.9.12-py3-none-macosx_10_13_x86_64.whl
Size 85.3 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
dd2aec8bd0803c49b2446338ea55e6b729ebef5cb9c4679c9244f504c90ae111
BLAKE2b-256 checksum
How to use checksums
1dc39a292473287540746faa70f4dc4c850ed6571bd08b88aa74791fc1c4dd7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.11 {"installer":{"name":"uv","version":"0.12.11","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

0.10.1

6 release files

0.10.0

6 release files

This release

0.9.12 This release

6 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

1 release file

0.9.5

1 release file

0.9.4

1 release file

0.9.3

3 release files

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