Skip to main content

nex-box

Sub-millisecond Copy-on-Write (CoW) ephemeral execution sandbox for autonomous coding agents.

PyPI version License

nex-box provides instant, kernel-level Copy-on-Write execution sandboxes for AI agents. It allows autonomous agents (Cursor, Claude Code, Aider, custom hypervisors) to execute builds, test suites, and destructive file mutations in isolated scratch environments backed by APFS clonefile(2) and Linux ioctl(FICLONE) reflinks—guaranteeing sub-5ms instantiation, zero host filesystem pollution, and atomic rollbacks.


Performance Comparison

Metric Docker Container Python Virtualenv / cp -R nex-box
Sandbox Cold Boot 1,500ms – 3,500ms 120ms – 800ms 2.1ms (2,168µs)
Physical Disk Overhead Megabytes to Gigabytes Duplicates full tree 0 bytes (CoW Metadata)
Rollback Cost on Failure Container teardown Manual file cleanup Instant (< 1ms Inode Purge)
Diff & Change Audit git status (Slow) Manual diffing In-Memory BLAKE3 SIMD
Host System Safety Isolated Leaks file mutations Hermetic Isolation

Installation

Via pip (Pre-compiled wheels)

pip install nex-box
# or with uv:
uv pip install nex-box

Metadata

Release files for nex-box 0.1.0

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

Source distribution (sdist)

Source distribution for nex-box 0.1.0
File Size Uploaded Provenance Actions
nex_box-0.1.0.tar.gz 19.0 kB With provenance Details for nex_box-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for nex-box 0.1.0
File Actions
nex_box-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for nex_box-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
nex_box-0.1.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for nex_box-0.1.0-cp311-cp311-win_amd64.whl
nex_box-0.1.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for nex_box-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
nex_box-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details for nex_box-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl

Total release size: 1.1 MB

Release files / nex_box-0.1.0.tar.gz

Download URL nex_box-0.1.0.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5ed95d740f3453c59e9beb93da476893160296bd6ede3bdcb36b6260584c201f
BLAKE2b-256 checksum
How to use checksums
4fc07bd9cd500c6d958eded28a931db1c99205f197861a0f49233d191db9171a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / nex_box-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL nex_box-0.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 294.9 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9a1e32056a1ec044d4ae06c431dae6ee3f303fddeeefc8e7c483536c4e9bf4da
BLAKE2b-256 checksum
How to use checksums
4a47d93b157fe20086ad66acb606ead72a1f85345af300cd3ab891b6aff51812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / nex_box-0.1.0-cp311-cp311-win_amd64.whl

Download URL nex_box-0.1.0-cp311-cp311-win_amd64.whl
Size 231.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
fb1083de8a716c570691722783a2f164cc7a710cee91bec0df59f209326c09e4
BLAKE2b-256 checksum
How to use checksums
ce1989e379b177f6c1acd1d7c415ed61b0a450064b831c761758f9aa1196fe7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / nex_box-0.1.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL nex_box-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Size 252.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a6233fc0e6efd1f52fc000953abff7ec1b4ca5af4102af67657e319c1988f38f
BLAKE2b-256 checksum
How to use checksums
593d324c1fbb0646efa62949e49e650d8b91e9c64922794e5df83bbbd9323787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / nex_box-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl

Download URL nex_box-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Size 278.7 kB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e1c8e20af5dfc6acfd81d178d3cffc4876e2a499b240bb6115ed6c66756209f2
BLAKE2b-256 checksum
How to use checksums
b7a1bf252f159dbba4aadae0a9f078c893154ccc52ce06bc6e714d5d2aaccbc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for nex-box 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for nex_box-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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