Run untrusted Python safely. Job queues and Docker isolation built-in. Used by enterprises.
Run AI-generated code in isolated Docker containers with optional gVisor sandboxing. Job queues, retries, and execution history included.
Documentation · Quick Start · API Reference
# Install (requires Docker + Python 3.10+) pip install " tako-vm[server] " tako-vm setup # pull the executor Docker image tako-vm server # start server (auto-starts PostgreSQL via Docker)
# Execute code curl -X POST http://localhost:8000/execute \ -H " Content-Type: application/json " \ -d ' {"code": "print(1 + 1)"} '
Why Tako VM?
Sandbox solutions like e2b and microsandbox give you isolated code execution—but that's it. You still need to build:
You build With sandbox-only With Tako VM Job queue Redis + Celery/Bull Built-in Execution history Postgres + schema PostgreSQL included Retry logic Custom code Automatic Idempotency Deduplication logic idempotency_key Replay/debugging Custom tooling Rerun/fork API
Tako VM is the complete package:
Job queue + workers - Async execution with worker pool, no Redis/Celery setup
... continue reading