A universal API to cloud code execution sandboxes (cased.com)

🤖 AI Summary
Cased released "sandboxes," a universal, open‑source API and CLI that unifies cloud code execution sandboxes so you can run untrusted code safely and at scale without vendor lock‑in. The library exposes a simple async Python API (and a powerful CLI) that lets you target providers like E2B, Modal, Daytona, or Cloudflare with a single call or environment variable swap; it also auto‑selects and failovers between providers. Key features include persistent sandboxes for long‑running or multi‑turn tasks, smart sandbox reuse via labels, custom sandbox images, file uploads, streaming output, and easy provider extension. For AI/ML practitioners building agents, evaluation harnesses, or security/infra tooling, sandboxes removes a lot of operational friction: you get consistent isolation semantics across providers, provider failover for reliability, reduced cold starts through reuse, and reproducible runtime images for experiments and deployments. It’s distributed under an MIT license (pip package cased‑sandboxes) and includes CLI commands to run scripts, pipe code, or specify provider/image, making it easy to integrate into CI, model evaluation pipelines, and agent runtimes without managing your own sandbox infrastructure.
Loading comments...
loading comments...