Skip to main content
Use a Tensorlake file system when many agents need the same files at a stable path. Put operating manuals, skills, configs, test fixtures, or binary tools in a repository. Update the repository from a laptop, CI job, or backend service. Agents mount a branch read-only. When the branch moves, following mounts refresh changed paths automatically.

Pattern

  1. Store shared files in a Tensorlake repository.
  2. Publish updates from outside the sandbox with Git or the Repository SDKs.
  3. Mount the repository into agents as a read-only directory.
  4. Follow a branch for automatic distribution, or pin a commit for fixed releases.

Create an Asset Repository

Keep the layout simple and stable:
Agents can refer to paths like /opt/agent-assets/manuals/operator.md, /opt/agent-assets/skills/research/SKILL.md, or /opt/agent-assets/bin/validator.

Publish From Outside a Sandbox

The producer does not need a sandbox. It can be a developer machine, CI job, release service, or control plane process.
push_worktree and pushWorktree skip .git, honor .gitignore, preserve symlinks, and preserve executable bits on regular files.

Mount Into Agents

Mount the asset branch read-only at a predictable path:
New sandboxes read the current branch tip. Running following read-only mounts refresh as main moves, so updated manuals, skills, configs, and tools appear without rebuilding sandbox images. Agents should write outputs to a separate writable mount. Keep shared assets read-only so every agent sees the same source files.

Version Releases

Use branches as channels:
Move stable when you want following mounts to receive a release. Branch activity records who moved the branch and which commit became the new tip. Use a commit when a run must be reproducible:
Pinned mounts stay fixed for the lifetime of the sandbox.

Binary Tools

Put tools under a stable directory such as bin/ and commit them with the executable bit set:
Agents can call the tool directly:

Choose a Mount

Next Steps

Read-only Mounts

Choose between following branches and pinned commits.

Repository SDKs

Push local files and inspect repository state from Python or TypeScript.

Git Workflows

Publish the same assets with ordinary Git commands.

Writable Mounts

Give agents a separate place to write outputs.