the problem
A few agents, one checkout.
Every agent works on its own branch. In one checkout, one switches branches under another, and your login fix lands on another agent's branch.
the fix git already has
One worktree per branch, one folder each.
git worktree add gives every branch its own folder, all sharing one repository. Each agent works in its own, and nobody switches branches under anyone. A new one takes about a second.
but
git worktree add starts empty.
A fresh worktree has the tracked files and nothing else: no dependencies, no dev shell, and none of your local files.
so your agent improvises
Reinstall everything, or hack around it.
It reinstalls in every worktree, or gives up and reaches back into your main checkout. And the next agent rediscovers all of it, from scratch.
every new worktree
Over a minute and gigabytes of disk, each time.
Measured on a monorepo with ~35k files, ~4.5k npm packages and a nix flake dev shell. Your laptop fan has opinions.
how it works
One golden image. Copy‑on‑write clones of it.
The golden image is one worktree of your base branch, with everything installed and warmed. Each new worktree is a clone of it that shares every block until it changes, registered as a regular git worktree.
copy-on-write clones
detected, then configurable
Your toolchain, found on its own.
mise, direnv and nix, pnpm, bun, yarn, npm, uv and cargo, plus your local files. Anything else is a step in .clove.toml, shared with your team.
always warm
Stays warm on its own.
Each time you pull, a background service refreshes the golden image, rerunning only the steps whose inputs changed. Existing clones keep working, untouched.
under the hood
What your file system already does well.
On macOS, each clone is an APFS disk image copied whole by a single clonefile call. On Linux, it's a btrfs snapshot, taken in a few milliseconds.
three ways in
Command line, terminal UI, desktop app.
The same features everywhere, on macOS and Linux. Every command also speaks --json, for scripts and agents.


clove update
Up to date, with your agent resolving the conflicts.
Rebases a clone onto the latest base and reruns only the setup steps that changed. When the rebase stops on conflicts, your coding agent resolves them in the clone, from the CLI, the TUI or the app. Claude by default; Codex, or any command, through update.resolver.

clove prune · clove log
Merged pull requests, cleaned up.
Clones whose pull request merged, squash merges included, are removed by hand or automatically. A history keeps every removal, so any branch can come back.

clove agents install
Your agents reach for clove on their own.
One command teaches Claude Code and Codex to use clones, and turns claude --worktree into one.