- 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

Quickstart
Install the Tensorlake CLI and sign in: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
- CLI
- Python
- TypeScript
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.The repository now has a normal Git commit on
- Git CLI
- Python
- TypeScript
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".main.3
Mount the repository into a sandbox
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
/work file state as a Git commit on the workspace. The branch is unchanged until promotion.5
Promote to main
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:Mental Model
The workflow is:- A repository stores the durable Git history.
- A mount gives a sandbox an ephemeral directory, such as
/work. - A workspace is the isolated history behind a writable mount.
- A snapshot persists the mounted file state as a Git commit on the workspace.
- Promotion publishes a workspace snapshot to a branch so future mounts and Git users can use that version.
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.