Tako VM

Serverless file systems for agents

Working when we checked on .

Visit Tako VM

What is Tako VM?

Tako VM provides a secure file system and Python execution layer for AI agents, running untrusted code in gVisor-isolated Docker containers. It is aimed at developers building agents (e.g., with LangChain or OpenAI tool-calling) who need sandboxed code execution. The tool includes a built-in job queue with workers, automatic retries, execution history stored in PostgreSQL, and a rerun/fork API for replaying past jobs. Each job runs in an ephemeral container behind gVisor's userspace kernel with seccomp filtering, no network access by default, and a non-root user.

Tako VM pricing

Pricing model: Free

Open source (Apache 2.0)

Tako VM pros

  • Built-in job queue and workers — no Redis/Celery setup needed
  • Every job persisted with timing and artifacts via included PostgreSQL
  • Rerun/fork API to replay past jobs with exact same inputs
  • gVisor userspace-kernel isolation, default-deny seccomp, no network by default
  • Self-hosted: zero per-execution cost and works offline
  • Integrates with LangChain and OpenAI tool-calling as a code-execution tool

Tako VM cons

  • Each container is single-use; persistent workspaces are only on the roadmap, not available today
  • gVisor is the sole isolation boundary
  • Per-job runtime dependency installation is opt-in and not enabled by default
  • Requires Docker (for the executor image and PostgreSQL) to run the server

Frequently asked questions about Tako VM

What does Tako VM do?

It provides a secure file system and Python execution layer for AI agents, running untrusted code in gVisor-isolated Docker containers with job queues, workers, execution history, retries, and replay.

Who is Tako VM for?

It is for developers building AI agents, such as those using LangChain or OpenAI tool-calling, who need their agents to safely execute code without building the job system themselves.

How is Tako VM installed?

Install via pip with 'pip install "tako-vm[server]"', run 'tako-vm setup' to pull the executor Docker image, then 'tako-vm server' to start the server, which auto-starts PostgreSQL via Docker.

How does Tako VM isolate untrusted code?

Each job runs in its own ephemeral Docker container behind gVisor's userspace kernel (runsc), with a default-deny seccomp profile, no network access, dropped capabilities, and a non-root user. Even a kernel exploit stays inside the sandbox.

Does Tako VM include a job queue and retries?

Yes. The job queue and workers are built in (no Redis/Celery needed), retries are automatic, and execution history is persisted in an included PostgreSQL setup.

Can past jobs be replayed for debugging?

Yes. Tako VM offers a rerun/fork API to replay past jobs with the exact same inputs, so failures can be debugged without rebuilding custom tooling.

What execution interfaces are available?

It offers a Python SDK, a REST API, and async job submission. For example, jobs can be submitted via tako_vm.submit_code() and results retrieved with get_result().

Can extra Python dependencies be installed per job?

Yes, runtime requirements can be installed per-job via uv by opting in with allow_runtime_requirements, and an optional shared cache (enable_runtime_dependency_cache) speeds up repeat installs.

What is the difference between Tako VM and sandbox-only tools like e2b?

Sandbox-only tools provide isolated execution, but you still build the job system yourself. Tako VM adds a built-in job queue, PostgreSQL-backed execution history, automatic retries, replay API, and idempotency_key support.

Is there a cost per execution?

No. Tako VM is self-hosted under an Apache 2.0 license, so there is zero per-execution cost and it works offline.

Categories

Use cases

Alternatives to Tako VM

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z