HeadlinesBriefing favicon HeadlinesBriefing.com

TakoVM delivers self‑hosted sandbox with built‑in queue and history

Hacker News •
×

GitHub host las7 released TakoVM, an open‑source platform for safely executing untrusted Python code. Each request launches a fresh Docker isolation container, optionally hardened with gVisor, and runs the snippet in a sealed environment. The service bundles a job queue, retry logic and execution history, removing the need to assemble separate sandbox components.

Traditional sandboxes such as e2b or microsandbox stop at isolation, leaving developers to build queuing, persistence and debugging layers. TakoVM fills that gap with built‑in Redis‑free job workers, PostgreSQL storage for stdout, stderr and timing, and a replay endpoint that reproduces exact runs for debugging. Network access is disabled by default, with an allowlist option per job type.

Installation requires Docker and Python 3.9+, after which a single pip command pulls the executor image and launches the API server with an embedded PostgreSQL instance. CLI helpers simplify local development, while the REST API and Python SDK expose endpoints for code submission and status checks. TakoVM delivers an enterprise‑grade, offline‑capable solution that removes per‑execution cost overhead.

Enterprises adopting TakoVM can route customer‑generated scripts to a secure backend without exposing internal services. The built‑in idempotency key prevents duplicate processing, while artifact storage enables downstream pipelines to consume results. By consolidating isolation, queueing and observability, the platform reduces operational complexity and speeds up AI‑driven feature rollout.