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

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

Total release size: 503.1 MB

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

Download URL quicksand_alpine-0.10.1-py3-none-win_arm64.whl
Size 82.1 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
c9317d6e33c5bfe9ce88633217deda17f46fdb2d7c0aef6bf0756b1e55290fa3
BLAKE2b-256 checksum
How to use checksums
6224eb8da7418d21fb8e8a6a433877fb61512f6cc6e970dd5f41e41abc08da25
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 files / quicksand_alpine-0.10.1-py3-none-win_amd64.whl

Download URL quicksand_alpine-0.10.1-py3-none-win_amd64.whl
Size 85.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f7844301ccc93796e3b24e8df8a1aa14706997ca697051a9479e590ccf1b611a
BLAKE2b-256 checksum
How to use checksums
c6802ec7c73e7e2afa67d35976105a666fd8c0bd919dcd59a0f7804ea52617ff
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 files / quicksand_alpine-0.10.1-py3-none-manylinux_2_17_x86_64.whl

Download URL quicksand_alpine-0.10.1-py3-none-manylinux_2_17_x86_64.whl
Size 85.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d8ec6d51e0cdca447127bf4fb0855f7972848fc3533761092a7c4a42af8313cd
BLAKE2b-256 checksum
How to use checksums
af0f178b047738db1f76057f2a39354f9f28aabfd1bfec7178b17be05fb9e08a
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 files / quicksand_alpine-0.10.1-py3-none-manylinux_2_17_aarch64.whl

Download URL quicksand_alpine-0.10.1-py3-none-manylinux_2_17_aarch64.whl
Size 82.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
824b46d4d429395fc7d2bd8f3452de3d4c1294bb487913964239865c3518bae6
BLAKE2b-256 checksum
How to use checksums
525adbb2664248cb29a1d2782d6af91662dea7522c4b2d509473e3b40617eb1b
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 files / quicksand_alpine-0.10.1-py3-none-macosx_11_0_arm64.whl

Download URL quicksand_alpine-0.10.1-py3-none-macosx_11_0_arm64.whl
Size 82.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1d11974647b4d519186593b63b4ed16fee15c02e7f1e064c0f54d16649d30724
BLAKE2b-256 checksum
How to use checksums
88dfa1d47a8cabcf3cd4d493f4c2b3409079edb54c40b4ac1c5a79da3ecae6dc
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 files / quicksand_alpine-0.10.1-py3-none-macosx_10_13_x86_64.whl

Download URL quicksand_alpine-0.10.1-py3-none-macosx_10_13_x86_64.whl
Size 85.6 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
0c417712749a082b774e0daf4df426b20f87ab0685bd122eda8574a808744cba
BLAKE2b-256 checksum
How to use checksums
d84b6f2cb1ad4ecd0e5a02ca78e1f8ba5815205dc997f1e85a9b00c3dd9b4bc0
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.10.1 This release

6 release files

0.10.0

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