Skip to content

Air-gapped local sandbox backend (alternative to Cloudflare Sandboxes) #23

@danielsmithdevelopment

Description

@danielsmithdevelopment

Goal

Support strictly local / air-gapped code execution for sandbox_exec-class workloads without relying on Cloudflare Sandboxes + Workers bridge — for labs that cannot depend on cloud sandboxes.

Motivation

Enterprise local-first deployments (see ClawQL-Agent project-status.md) may require:

  • No outbound to Cloudflare for execution
  • Comparable isolation guarantees (filesystem, network egress controls, resource limits)

Possible directions (RFC)

  • gVisor (runsc) or Kata-style VMs behind a small API
  • Docker-in-Docker or rootless Docker with tight seccomp/AppArmor profiles
  • Firecracker microVMs (heavier ops)

Acceptance criteria

  • Architecture note comparing trade-offs vs current Cloudflare path.
  • Spike: one local backend with session semantics roughly aligned with existing sandbox_exec (persistent session id, languages, fs scope).
  • Security checklist: network policy, secret mounts, CPU/RAM caps.

Related

  • Existing cloud sandbox_exec implementation
  • ClawQL-Agent issue on Mesh + Sandboxes for hybrid connectivity (optional overlay)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions