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.10.0

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.10.0
File
quicksand_alpine-0.10.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
quicksand_alpine-0.10.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
quicksand_alpine-0.10.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
quicksand_alpine-0.10.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
quicksand_alpine-0.10.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
quicksand_alpine-0.10.0-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details

Total release size: 501.3 MB

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

Download URL quicksand_alpine-0.10.0-py3-none-win_arm64.whl
Size 81.8 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
0ae641469c3373a6f80fbd96d126c10587072c0fa30e737719b9e7422bc41382
BLAKE2b-256 checksum
How to use checksums
0ed462d8e2ee43f10ef5f0f5b086941c631e9155963a68c813e3f36ab40de5ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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.10.0-py3-none-win_amd64.whl

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

Download URL quicksand_alpine-0.10.0-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
bd3a4a3c9514faeaa491367d7d6d00c62553c73fa06afd3db3338f451885cbce
BLAKE2b-256 checksum
How to use checksums
27956d5b0e0fc0af7545298f60263f7d711aab2cb0f353a55d6909b0f039da5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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.10.0-py3-none-manylinux_2_17_aarch64.whl

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

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

Download URL quicksand_alpine-0.10.0-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
e186ff4d494b7769e7bd8e937e913c1e5f55adf97308cd0d3f673a3464035a42
BLAKE2b-256 checksum
How to use checksums
b177eabdf1f37c2af63a53dc796bc037c734bcc573c5b9855a9fbc05e23f5be0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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

This release

0.10.0 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