For AI engineering teams

Swarms of agents. One repository. No silent overwrites.

Run an agent per task, not a clone per task. Each session opens the repository in place over shared blocks - one dependency cache, and a stale save surfaced at the write instead of a silent overwrite.

One dependency cacheWorks offlinegit clone · push · LFS

Card on file, nothing charged until day 7. Up to 2 seats included.

Agent sessionhard conflict mode · no clone
$ swarmfile hooks run -- claudeworkspace agent/fix-3f2a9c · src/** onlyagent write src/payments/refund.tsrefused · stale v4822 (head v4830)re-read v4830 · re-applied · wrote v4831checkpoint 3f2a9c · 14 files

Illustrative session · real commands. The agent never waits for a clone.

1.3 s warm workspace · 3 ms read · see the numbers →
01 · Sound familiar?

More agents, more copies, more collisions.

Three costs of running a fleet on checkouts instead of one shared repository.

  1. 01

    One clone per agent doesn’t scale.

    A worktree or a full clone per agent means a copy of the repo, a dependency install, and a disk bill for every session you run - and on a repository with large assets, a clone an agent has to wait for before it can start.

  2. 02

    Two agents, one file, last writer wins.

    Agents write whole files back after reading them. When two edit the same file - or the same branch - the second write silently buries the first. You find out in review, or in production, not at the write.

  3. 03

    Scattered working copies drift.

    A dozen agents on a dozen clones means a dozen versions of the repository with no shared history, no shared cache, and no single place a human can review what actually changed.

Swarmfile gives every agent a workspace without a copy - and makes a collision visible instead of silent.

02 · Inside the workspace

Built for many agents, not one checkout.

One repository, one history: each agent gets its own workspace, writes are version-checked, and a human reviews the same branches.

Workspace & speed
Workspace

A workspace per agent.

Open the repository once per agent over the same shared blocks - no clone, no second copy on disk, and one dependency cache per repository per machine instead of one per session. Each session reads only the bytes it opens; a per-agent branch isolates work when you want it.

Coding agents →
Online / offline

Across machines, and offline on one.

Agents on one machine share one local block cache and finish work offline. When machines connect, changes land through the hub without a re-clone; on the same network, peers serve blocks directly for encrypted or public repositories.

How sync works →
Safety & review
Conflicts

No lost updates, no silent overwrites.

A save carries the version its writer read. If another writer moved the file first, hard conflict mode (recommended for agents) refuses it (ESTALE) and hands it back to re-read; the default parks the file read-only with the conflict surfaced. Unmatched paths keep that refusal; only paths opted into .swarmfile/conflict-policy use newest-wins through the hub’s recorded conflict row.

Conflict handling →
Git

Still Git, still yours.

The same repository serves git clone, fast-forward git push and Git-LFS, so an agent that speaks Git can use the helper, and a human reviews the same branches. Keep your host and stream the big files, or let the repository be the remote - no second system to reconcile.

Git & Swarmfile →
Run it your way
Lifecycle

A fleet workflow, not a pile of sessions.

swarmfile hooks install claude-code opens a fresh agent/* workspace per session, checkpoints after each mutating step, and commits on exit - or opens a draft merge request. swarmfile checkpoint, restore --to, workspace warm and swarmfile-mcp cover restore, shared caches and agent tools; the coding-agents guide has the profiles for Cursor, Codex and Copilot.

Hooks & checkpoints →
Operations

Open source, and yours to self-host.

The server core, standalone tools and libraries are open source; the CLI and Desktop clients are free. Self-host the core in your region on your own bucket, or use the hosted service for ACLs, end-to-end encryption, previews, hosted CI and always-on seed nodes. A commit can run CI in a managed container, on a registered self-hosted CI runner when the deployment enables it, or through the separate branch-watching runner that needs no clone. Hosted CI · Self-hosted runners.

Self-hosting →
03 · Measured, not modelled

How long a workspace actually takes.

Engine start to the first read of the 6,355 B README in the production swarmfile-lfs repository - no clone, no copy.

WhatCold (fresh cache)Warm (same machine)
Engine start → workspace ready2.4 s1.3 s
Engine start → first byte3.0 s1.4 s
Read (6.2 KiB), already attached-3 ms

Cold = fresh cache · Warm = same machine

Median of three runs on 2026-11-21, Swarmfile 0.3.16, macOS 26.5.1 on an M4 Max MacBook Pro, against a 24 MiB repository over the public internet. The read includes one process spawn, so it is a ceiling on a native app’s own read. Reproduce it with scripts/scale/mount-bench.sh --hub https://hub.swarmfile.com --pat sf_pat_… --org <org-id> --repository <repository-id> --file README.md --warm; the full method and per-run numbers are recorded with the benchmark.

Ready to run a fleet?

One repository, an agent per task.

Start a free trial
04 · From zero to a fleet

Three commands, one repository.

The hooks wrapper opens a fresh workspace per session, checkpoints as the agent works, and commits on exit. Add the MCP server to expose workspaces, checkpoints, blame, diffs, conflicts and edit leases as agent tools.

terminal
# one install gives each session a fresh agent/* workspace
swarmfile hooks install claude-code

# optional: expose workspaces, checkpoints and blame as MCP tools
claude mcp add swarmfile -- npx -y swarmfile-mcp

# start the harness (workspace first, checkpoints as it works)
swarmfile hooks run -- claude
05 · Works with
Claude CodeCursorCopilotAiderCodex CLIOpenHandsZedVS Code

Every tool opens the same repository as a folder - no per-agent clone.

Start building with a swarm. Lose the copies.

Trial Swarmfile on one repository with a 7-day free trial on Starter, Pro or Studio. Card on file, nothing charged until day 7. A trial covers up to 2 seats; add more once it converts. Or self-host the open-source server and point your agents at it.

Cancel anytime before day 7.