Skip to main content
Agents produce state and artifacts worth keeping: code, documents, artifacts, working notes. Volumes can be mounted as a directory on the file system into a sandbox, all writes are automatically saved in durable storage asynchronously. They offer SSD grade write performance, and reads are cached and can be fetched either lazily or pre-fetched from remote storage. These directories can be snapshotted to create point-in-time checkpoints and can be time travelled to restore state at a given time. Volumes can be used on any sandbox provider or AWS/GCP/Azure or even Kubernetes containers. They are portable directories that can be mounted on any Linux or OSX machines. These are some use cases for versioned file systems:
  • Version an agent’s working state without teaching it version control
  • Persist a long-running session so a crashed sandbox loses nothing
  • Share one file system across several coding agents at once. Disjoint work merges automatically
  • Distribute documents, skills, and tools to fleets of agents with read-only mounts

Quickstart

Install the Tensorlake CLI and sign in:
Then create a file system, mount it, and watch changes save themselves.
1

Create a file system

A new empty file system is created on our servers. It’s ready to be mounted immediately on a sandbox or machine.
2

Mount it

The file system is mounted at ~/work on the local machine. It’s a normal POSIX compliant directory. You can write to the file system through the Python or TypeScript SDKs without mounting them. The SDKs use the HTTP API of the remote file system directly.
3

Work in it

Write into the mounted directory with POSIX read/write APIs. if you use the Python/TypeScript SDKs, writes go straight to the file system without a mount.
The writes are asynchronously replicated to Tensorlake’s remote file system. The server dvances the file-system timeline.The file systems can be mounted on multiple machines at once. The other mounts will see the changes within seconds.You can create create a permanent snapshot to create a point in time checkpoint of the file system. You can time travel across the snapshots, restore a specific checkpoint or fork the file system from that point.
4

Check status and history

History is browsed with the CLI:
local: clean means the local journal has no changes waiting for autosave. History separates permanent snapshots from recent autosave recovery points.
5

Resume on another machine

The mount path is disposable; the session behind it is durable. If the sandbox crashes or you unmount and walk away, remount the file system and pick up from its last durable state:
From another machine you recover everything through the last autosave checkpoint, and because autosave is frequent, that is typically seconds of work at most; anything written since the last checkpoint stays on the machine that wrote it. Remounting on the same machine can additionally recover a detached session’s unsaved local changes from its overlay.

Push a Folder Without Mounting

When you just want a directory’s contents in a file system, you can push the directory into the file system:
Pushing the same directory again uploads only what changed. Passing -m creates a permanent snapshot.

Mental Model

  1. A file system is the durable, versioned store.
  2. A mount gives a sandbox an ordinary directory backed by it.
  3. A session is the state behind one mount — resumable after crashes and unmounts.
  4. An autosave checkpoint replicates settled work through a session WAL and advances the shared timeline before it is acknowledged.
  5. A snapshot with new changes keeps that generation as a permanent, billed retention point until you delete it. A clean snapshot is a quiet no-op.
  6. Other mounts converge as acknowledged autosaves or permanent snapshots advance the shared timeline.
See Core Concepts for short definitions of each term.

Summary of Features

  • Autosave: settled changes replicate through durable server WAL and into the shared timeline automatically; a continuously-writing agent still checkpoints at a bounded interval.
  • Permanent snapshots and history: browse both kinds of history with tl fs history; create a permanent, billed point with tl fs snapshot and remove it with tl fs delete-snapshot.
  • Time travel: restore the mount to any retained autosave or permanent snapshot with tl fs restore.
  • Durable sessions: crash a sandbox and remount elsewhere to recover through the last server autosave. On the same machine, the local journal can also recover changes that had not reached the server yet.
  • Shared file systems: many writers on one file system; server-ordered disjoint changes merge automatically, same-path writes are last-writer-wins.
  • Read-only mounts: serve a fixed snapshot or follow the file system’s current state across many running sandboxes.

Use Cases

Distribute Files to Agents

Roll out manuals, skills, configs, and tools to many agents with versioned read-only mounts.

Store Agent-Generated Code

Prefer a Git repository when generated projects need branches and explicit publication.

Where To Go Next

Core Concepts

Learn the vocabulary: file systems, mounts, sessions, autosave checkpoints, snapshots, and publishing.

File System Mounts

Choose between writable and read-only mounts.

Manage Sessions

Inspect status, resume, restore an earlier checkpoint or snapshot, and clean up.

Concurrent Writes

How several mounts writing at once reconcile — disjoint paths merge, same-path is last-writer-wins.