This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

cowtree

A separate workspace for every AI agent, at no disk cost

Open Source
Developer Tools
GitHub
Visit WebsiteSee on Product HuntGithub ⧉

Hunted byPaa-Kofi AidooPaa-Kofi Aidoo

Running several AI coding agents on one project? They overwrite each other's files, or each needs a full copy of your code. cowtree gives every agent its own instant copy that uses almost no disk. Works with Claude Code, Codex and Cursor. Free, open source.

Top comment

Hi Product Hunt, I'm Paa Kofi, and I built cowtree because disk space became the limit on how many AI coding sessions I could run.

I run several Claude Code and Codex sessions on the same repository, one branch each. Each needs its own working tree, and git worktree add gives you that, but every worktree is a full copy of every file, and node_modules has to be reinstalled in each. On a nearly full laptop that stopped me at two or three sessions.

cowtree builds the worktree out of APFS clonefile copies of the main checkout instead (reflink on btrfs/XFS), ignored build directories included. A 704 MB checkout becomes a 3.5 MB worktree, and editing a file costs that file. No FUSE, no daemon: a few hundred lines of bash and a small Python helper, so editors, compilers and git see ordinary files.

It also records which branch lives in which worktree in git config (cowtree which, cowtree branches), sweeps worktrees whose PRs merged (squash merges too), turns your existing plain worktrees into clones (cowtree adopt), and ships as a Claude Code plugin and an MCP server so agents use it instead of git worktree add.

Install: brew install paakofiaidoo/tap/cowtree

Two things I'd love feedback on: the Linux reflink backend is written but hasn't been exercised on a real btrfs/XFS box yet, and I'd like to know which agent setups (Cursor, Windsurf, Zed, Cline) you'd want first-class support for.

Comment highlights

No comment highlights available yet. Please check back later!

About cowtree on Product Hunt

“A separate workspace for every AI agent, at no disk cost”

cowtree was submitted on Product Hunt and earned 3 upvotes and 1 comments, placing #123 on the daily leaderboard. Running several AI coding agents on one project? They overwrite each other's files, or each needs a full copy of your code. cowtree gives every agent its own instant copy that uses almost no disk. Works with Claude Code, Codex and Cursor. Free, open source.

cowtree was featured in Open Source (69.1k followers), Developer Tools (523.3k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 148.3k products, making this a competitive space to launch in.

Who hunted cowtree?

cowtree was hunted by Paa-Kofi Aidoo. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how cowtree stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.