LifeHubber. Resources Use AI on your terms.
LifeHubber.Resource
Opening…

AI Resources

CubeSandbox

GitHub stars: 13.5K GitHub forks: 1.3K Last pushed December 1, 2026: Pushed today
Stats from GitHub

CubeSandbox gives an agent a Linux environment to run code through an E2B-compatible API. A builder can start each environment from a template and save its state for a later run.

Where it can resume depends on how it was saved. The default keeps snapshots on the original server. With shared storage, a saved environment can resume on another compatible server.

What it is

A place to execute agent code

Use its sandbox API when a coding agent or code interpreter needs a Linux environment to run commands and programs. Templates define the starting environment; lifecycle operations manage the resulting sandbox.

Why it stands out

Choose where a paused sandbox can return

The default XFS backend stores snapshots on their original node. CubeSandbox documents two shared alternatives, JuiceFS and S3 through CubeS3lvol. JuiceFS was introduced in preview. Choose the backend when creating the template, since an existing template cannot switch backends.

Availability

Self-hosted, with server requirements

The public repository provides standalone and cloud deployment paths, plus a Kubernetes path marked preview. This is a technical Linux server installation with root access and XFS storage. The quick start distinguishes the x86_64 cloud PVM route from ARM64 native-KVM deployment.

Why it matters

What makes it useful

A code interpreter needs somewhere to run the program it generates. CubeSandbox gives that program a small virtual machine with its own Linux kernel. The sandbox API provides ways to run commands and code inside it.

Notable points

What stands out

Restoring a full snapshot on another server requires a completed copy in shared storage and a compatible CPU and kernel. A host mount pins the saved sandbox to its original node. A plugin-backed volume can move only if its driver and backend are available on the destination.

Before using

What to review

Follow the quickstart for the host and virtualization route. It calls for root access, glibc 2.31 or newer and XFS at /data/cubelet. The minimum is 50 GB of available disk, with 200 GB or more recommended for multiple templates or custom images. Confirm the template is ready before attaching a client.

Review authentication and network exposure for the deployment. The quick-start SDK sample API-key value is not a production authentication setup.

For an existing Kubernetes cluster moving to v0.7.2, read the host-network default change and its drain-and-acknowledge upgrade steps. The release also fixes incremental-snapshot data loss and S3 hot-upgrade EIO errors; an upgrade still needs the documented procedure.

Check a harmless creation-time marker environment variable through both run_code and commands.run. v0.7.2 makes those variables available to the interpreter as well as shell commands, but requires the new sandbox-code example image. Use that image when checking whether both execution paths receive the task configuration.

Two official host-mount advisories have different version boundaries: unrestricted host bind mounts lists versions below 0.5.1 and patch 0.5.1; the symlink allowlist bypass lists versions through 0.5.1 and no patched version. Review the separate notices rather than treat 0.5.1 as a fix for both.

Check the original listing's documentation for current requirements, limitations, licensing and any relevant privacy or security considerations.

Reader fit

Who may find it relevant

Builders running agent-generated programs who need a self-hosted execution service and can operate its Linux hosts.

Infrastructure teams whose pause-and-resume plan must account for snapshot storage, destination nodes and attached volumes.

Readers adapting an E2B-based application who can check its required operations against the current compatibility notes and examples.

Editorial note

Why LifeHubber lists it

Two program runs are easier to compare when they start from the same prepared state. We included CubeSandbox because its cloning workflow can start separate sandboxes from the same saved memory and files. Where those runs can resume still depends on the storage and host.

Source links

Source materials

Reader note

About our listings

LifeHubber’s listings help you explore what’s available in AI and are not endorsements. We don’t independently verify every detail or guarantee that each listing is accurate, safe, actively maintained, or right for your needs.

What to explore next

Compare the sandbox with the wider runtime around it.

CubeSandbox focuses on MicroVM execution and lifecycle controls. Compare the SDK, deployment and task interfaces of the wider OpenSandbox runtime when choosing a self-hosted execution service.

Advertisements

Advertisements

For project maintainers

Listed here? You can use the badge.

If you maintain a project with a current LifeHubber listing, you may add the optional “Listed on LifeHubber AI Resources” badge to its README, docs, or website. No introduction or permission request is needed.

MORE ON LIFEHUBBER

Use AI on your own terms.

Explore more AI projects, stories, guides, tools and community insights across LifeHubber.

See what’s moving