tensorlake
Tensorlake SDK for agent sandboxes and sandbox-native orchestration
What it is and what it does
Tensorlake is a compute platform for building AI agents with isolated execution environments. It provides two main capabilities: Sandbox API for creating stateful Firecracker MicroVMs that run agents or isolated tools, and an orchestration runtime for serverless functions with fan-out scaling. Sandboxes support snapshots, cloning, auto-suspend/resume, and live migration between machines. The platform also includes a FilesystemClient for managing durable, versioned file trees without mounting them.
The SDK depends on httpx, websocket-client, websockets, pydantic, grpcio, and protobuf for communication and serialization. It targets developers building agentic systems that need strong isolation, fast startup, and stateful execution. Setup requires an API key and Python 3.10 or later. The package is actively maintained and has no known vulnerabilities.
Use it for:
- Run untrusted or user-generated code in isolated sandboxes for AI agents without risking the host system.
- Pre-warm sandbox pools for fast agent startup and claim them on demand for near-instant execution.
- Snapshot sandbox state at checkpoints and restore later to resume agent work without re-initialization.
- Build multi-step orchestration workflows where each function runs in its own isolated sandbox with automatic scaling.
- Store and version large model weights and agent artifacts using the FilesystemClient with direct object-store streaming.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Tensorlake provides a Python SDK for building agentic applications using isolated Firecracker MicroVM sandboxes and a serverless orchestration runtime with automatic scaling.
Yes, if you are building agentic applications that require isolated execution environments and serverless orchestration. The active maintenance, recent releases, and lack of known vulnerabilities are positive signals. However, verify the unclear license status before production use, and confirm pricing and scaling limits align with your workload. Medium install friction is manageable for most teams.
Install
tensorlake on PyPI
pip
pip install tensorlakeuv
uv add tensorlakepoetry
poetry add tensorlakeInstalling tensorlake
Before you install
Medium install friction due to compiled wheels across multiple platforms (arm64, x86_64, Windows). Active maintenance with a release 5 days ago and 987 repository stars suggests ongoing development. Requires Python 3.10 or later.
License in practice
License status is unclear—no SPDX identifier or raw license text is available. Verify the license terms before adopting in production or commercial contexts.
Quickstart
pip install tensorlake
from tensorlake.sandbox import SandboxClient
client = SandboxClient.for_cloud(api_key="your-api-key")
with client.create_and_connect(image="tensorlake/ubuntu-minimal") as sandbox:
result = sandbox.run("sh", ["-lc", "echo hello"])
print(result.stdout)
Requires a Tensorlake API key from cloud.tensorlake.ai and Python 3.10+.
Verify before relying
- Exact performance benchmarks (2.45s SQLite claim) and whether they apply to typical workloads.
- Pricing model and cost implications for scaling to millions of sandboxes.
- Whether the 5 million sandbox limit per project is a hard constraint or a service tier.
- Specific Python versions beyond 3.10 that are actively tested and supported.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 6 — httpx, websocket-client, websockets, pydantic, grpcio, protobuf |
| Maintenance | actively maintained — 5 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 134,274/month — #11,481 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tensorlake-0.5.103-cp310-abi3-macosx_11_0_arm64.whl; tensorlake-0.5.103-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; tensorlake-0.5.103-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; tensorlake-0.5.103-cp310-abi3-win_amd64.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
blaxelPython SDK for creating, managing, and…
unclear · top 15,000 on PyPI
k8s-agent-sandboxA Python client library for creating and…
permissive · top 15,000 on PyPI
agent-framework-coreBuild, orchestrate, and deploy AI agents and…
permissive · top 5,000 on PyPI
daytonaDaytona is a Python SDK for managing and…
permissive · top 5,000 on PyPI
e2bE2B provides a Python SDK to create and control…
permissive · top 5,000 on PyPI
openai-agentsA framework for building multi-agent LLM…
permissive · top 1,000 on PyPI
agent-frameworkBuilds and orchestrates AI agents powered by…
permissive · top 5,000 on PyPI
prime-sandboxesPython SDK for creating, managing, and…
permissive · top 15,000 on PyPI
apache-flink-librariesBundles Apache Flink's required libraries for…
permissive · top 15,000 on PyPI
agent-framework-foundry-localIntegrates Microsoft Agent Framework with…
permissive · top 15,000 on PyPI