Skip to main content
Agentic harnesses start versions it’s internal state, and data when agents need to interact with code, documents, or artifacts. This workflow is a natural good fit for distributed version control systems, like Git. However, Git becomes slow as soon as you throw large amounts of data at it. For example, if an agent needs just one file from a repository, it needs to clone at least one branch, and download every file existent in that branch. We built a disaggregated Git infrastructure to scale to tens of millions of repositories and absorb hundreds of thousands of pushes per second, by re-engineering how Git’s metadata, ingestion, and storage work. These are some use cases for versioned directories:
  • Version an agent’s state
  • Distribute documents that need their own independent history
  • Store code and artifacts that version automatically as agents work through them
  • Fork or clone working sessions, picking up existing state and branching off them
Every repository can be mounted as a live directory on a sandbox. The mounts gives your agents access to your versioned data, on demand, without having to perform expensive clone and fork operations. Changes don’t hit a git branch until you explicitly promote them. Git Repository Dashboard

Quickstart

Install the Tensorlake CLI and sign in:
Then create a repository, commit files to main, and verify the history with Git. After that, mount the same repository as a file system, edit it, snapshot it, and promote the change back to main.
1

Create a repository

agent-outputs is an ordinary Git repository. Its default branch is main.
2

Commit and push files

Use Git directly, or push a local worktree from your application.
Clone with a short-lived credential, then use Git as usual:
First commit on a fresh machine? Git needs an identity: git config user.name "Agent User" and git config user.email "agent@example.com".
The repository now has a normal Git commit on main.
3

Mount the repository into a sandbox

So far, agent-outputs has behaved like a normal Git repository, and git clone would work here too. Mounting skips the clone — content streams in as it’s read — and creates a workspace that survives independently of this sandbox.Tensorlake creates that workspace behind the writable mount. It’s the isolated history where snapshots are stored.
4

Edit and snapshot

Snapshotting persists the current /work file state as a Git commit on the workspace. The branch is unchanged until promotion.
5

Promote to main

After promotion, main contains the snapshotted file-system change. New mounts, git clone, and git fetch all see the same files.

Resume from Snapshots on Another Machine

The mount path is disposable. The workspace is the resumable state behind it. If your sandbox crashes, or you want to come back to the work later, remount the workspace on another machine:
You continue from the latest snapshot, make more file changes, snapshot again, and promote when the work is ready. The branch stays unchanged until promotion.

Mental Model

The workflow is:
  1. A repository stores the durable Git history.
  2. A mount gives a sandbox an ephemeral directory, such as /work.
  3. A workspace is the isolated history behind a writable mount.
  4. A snapshot persists the mounted file state as a Git commit on the workspace.
  5. Promotion publishes a workspace snapshot to a branch so future mounts and Git users can use that version.
See Core Concepts for short definitions of each term.

What Tensorlake Provides

  • Plain Git repositories: clone, branch, commit, merge, push, and fetch over Git smart HTTP.
  • Writable mounts: ephemeral sandbox directories backed by isolated workspaces.
  • Snapshots: incremental checkpoints that persist mounted file state as Git commits.
  • Promotion: publish workspace snapshots as Git commits on shared branches, with conflict handling and activity attribution.
  • Read-only mounts: serve a fixed commit or follow a branch across many running sandboxes.

Use Cases

Store Agent-Generated Code

Store generated apps, docs, and assets with snapshots, promotion, and activity history.

Distribute Files to Agents

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

Where To Go Next

Core Concepts

Learn the vocabulary: repositories, workspaces, mounts, snapshots, promotion, and mount modes.

File System Mounts

Choose between writable, read-only, pinned, and following mounts.

Writable Mounts

Mount, snapshot, and promote agent work.

Git Repositories

Use Tensorlake repositories with ordinary Git commands.

Repository SDKs

Create repositories, push worktrees, and merge branches from Python or TypeScript.