tensorlakeai/tensorlake
Tensorlake is a serverless runtime for sandboxes and deploying background agentic applications
Tensorlake – sandbox‑native cloud for AI agents
What it is – Tensorlake is a hosted compute platform that lets you run isolated micro‑VM sandboxes (called sandboxes) at massive scale. It is aimed at developers building agentic AI applications that need a safe, reproducible environment for running LLM‑generated code, tools, or long‑running functions.
Key pieces
- Sandbox API – creates stateful MicroVMs with near‑SSD I/O, sub‑second startup, snapshot/clone, auto‑suspend, live‑migration and the ability to run up to 5 million sandboxes per project.
- Python SDK (
tensorlake) and a stand‑alone CLI (tl) for creating, connecting to, copying files into, executing commands in, and terminating sandboxes. The SDK also supports pools (pre‑warmed containers) and snapshots for instant restore. - Cloud Volumes – a versioned, object‑store‑backed filesystem that can be written to/read from via the Python, TypeScript or Rust SDKs. Files are uploaded directly to signed URLs, so payloads bypass the main API.
- Orchestration layer – serverless function runtime with fan‑out. Functions are defined with
@functiondecorators, packaged into images, and deployed withtl deploy. Each function runs in its own sandbox and can be invoked via HTTP or the SDK.
Typical workflow
- Sign up at
cloud.tensorlake.aiand obtain an API key. - Install the SDK (
pip install tensorlake) or the CLI (curl … | sh). - Create a sandbox (CLI:
tl sbx createor SDK:SandboxClient.create_and_connect). - Run commands / copy files inside the sandbox, optionally snapshot it.
- Deploy an application – write Python functions decorated with
@function, bundle dependencies withImage, thentl deploy <path>. - Invoke the deployed app via
tlor an HTTP request; results can be streamed with SSE.
Why it matters – Agentic AI systems often need to execute arbitrary code safely. Tensorlake provides a managed, highly‑scalable sandbox that isolates each agent, enforces network policies, and lets you snapshot state for reproducibility. The built‑in orchestration adds a serverless‑style API surface without you having to manage Kubernetes or VM fleets.
Where to learn more – Docs at https://docs.tensorlake.ai, the Slack community, and the public PyPI package tensorlake.
Related
- Project
- Project
- Project
- Project
- Project