yes, it's called cow. as in Copy-On-Write. we have no regrets.
Clone your entire git repo โ node_modules, build outputs, .env files and all โ in milliseconds with near-zero disk overhead. Point an AI coding agent at each pasture and let them work in parallel.
the developer's own experience โ 18 pastures across several JS monorepos. your mileage will vary.
Running multiple AI coding agents in parallel means multiple isolated pastures. Here is what you are up against otherwise.
Shares the object store but not node_modules, build artefacts, or .env files. Every new worktree needs a full npm install. Agents step on each other's lock files. Works at a small scale; falls apart fast.
Copying 2 GB of node_modules four times over takes minutes and burns 8 GB of disk. You will run df -h with increasing alarm. Also slow to delete when you are done.
Heavyweight. Minutes to spin up. No native macOS toolchains. Your Xcode build does not work in a Linux container. Neither does your iOS simulator. Wrong layer of abstraction entirely.
โ wrong layer of abstraction
APFS has had block-level CoW cloning since macOS High Sierra.
cow just wires it up with a nice interface.
clonefile(2)Uses the same syscall Time Machine uses. A byte-identical copy of your entire repo directory in one call. No data is physically duplicated on disk until a file actually changes.
Optionally check out an existing branch or create a new one in the pasture. It is a fully independent git repo with its own HEAD, index, and working tree.
Removes .pid, .sock, and .socket files that should not be shared between pastures. Reads .cow.json for project-specific cleanup rules and post-clone commands.
Each pasture lands in ~/.cow/pastures/{name}. Open Claude Code, Cursor, or Aider in each one. They work in complete isolation until you extract their changes.
No daemons to manage, no subscriptions, no install step in your pastures.
Spoiler: the one named after a farm animal wins on every metric that matters for parallel AI development.
| Feature | cow ๐ | git worktree | full clone |
|---|---|---|---|
| Clone time (2 GB repo) | ~130ms | ~1s (no modules) | 3โ8 minutes |
| Extra disk per pasture | ~0 until modified | ~0 (no modules) | full copy ร N |
| node_modules included | โ | โ | โ |
| Isolated .env files | โ | โ (shared) | โ |
| Build artefacts included | โ | โ | โ |
| Independent git history | โ | โ | โ |
| macOS native toolchains | โ | โ | โ |
| jj (Jujutsu) support | โ | n/a | manual |
| MCP server built in | โ | โ | โ |
| Platform requirement | macOS + APFS | any OS | any OS |
Run cow mcp to expose pasture management as MCP tools.
Your AI orchestrator can create and tear down pastures without shelling out.
Drop this snippet into your ~/.claude.json or a project-local .mcp.json to let Claude manage its own pastures on your behalf.
Exposes four MCP tools: cow_create, cow_list, cow_remove, cow_status.
Communicates over stdio โ no ports, no background daemons, no port conflicts.
A native macOS menubar app that gives you a live view of all your pastures โ no terminal needed.
Pastures are grouped by project. Hover any row to reveal quick actions: open in Finder, open in Terminal, sync from source, or remove with a confirmation prompt.
A stats strip at the bottom shows real-time disk savings versus a traditional clone.
Herd calls the cow CLI under the hood โ it requires cow to be installed.
macOS with APFS required. Apple Silicon and Intel both supported via a universal binary.
Requirements: macOS 10.13 High Sierra or later (clonefile(2)
became stable in 10.13). Works on Apple Silicon and Intel โ the Homebrew formula installs a
universal binary. Linux and Windows are not supported; the CoW mechanism requires APFS.