
Picture published by the creator on GitHub.
Worktrunk: Give every parallel coding agent its own Git working copy
Added · Updated
Made by Maximilian Roos
View profile on GitHub (opens in a new tab)A command-line tool for Git worktrees, aimed at people running several AI coding agents at once.
A worktree is a second working directory for the same repository, which is exactly what keeps parallel agents from overwriting each other, but Git’s own commands for them are clumsy enough that people avoid the feature. Worktrunk makes worktrees as easy to move between as branches: they are addressed by branch name, paths are generated from a template you configure, and commands that take a branch also accept the directory it is checked out in. Hooks automate the local setup each new worktree needs.
What it does
Coding agents can now work unsupervised for long enough that running five or ten at once is realistic, and the first thing that breaks is the filesystem: they all want to edit the same checkout. Git already solved this with worktrees, which give each one its own directory sharing a single repository, but the ergonomics are poor — creating one means typing the branch name three separate times and then changing directory by hand, which is enough friction that most people never adopt it. Worktrunk reduces the whole thing to three core commands and makes the branch the address: you switch to a worktree by branch name, paths are computed from a configurable template rather than invented each time, and anywhere a command expects a branch you can hand it the path instead. Around that sit quality-of-life features for managing many parallel changes at once, and hooks that run your local setup steps automatically whenever a worktree is created.
You could use it to…
- Give each of several coding agents its own working copy of a repository
- Switch between worktrees by branch name instead of typing paths
- Run setup hooks automatically in every new worktree
Can I use this?
You'll need Git and a terminal · Setup needed
Worth knowing It is a convenience layer over a Git feature, so it removes friction rather than adding capability, and the underlying worktree rules still apply. Running many agents in parallel is the workflow it is built for, which has its own costs — several agents mean several bills and several sets of changes to review. GitHub does not recognise the licence file, so check the repository’s own terms before reusing the code.
Why it's here
- 2,292 people starred it on GitHub this week — 12,048 in total.
Numbers as of 8 November 2026, from BuildTube’s latest daily refresh.
Behind it
View setup guideBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is Worktrunk?
- Coding agents can now work unsupervised for long enough that running five or ten at once is realistic, and the first thing that breaks is the filesystem: they all want to edit the same checkout.
- What can I use Worktrunk for?
- Give each of several coding agents its own working copy of a repository; Switch between worktrees by branch name instead of typing paths; Run setup hooks automatically in every new worktree
- Can I run Worktrunk on my computer?
- It runs from a terminal on your own computer.
- What do I need to use Worktrunk?
- Git and a terminal. The project publishes full documentation on its own site, and asks for reports of any friction rather than silent workarounds.
- What license does Worktrunk use?
- GitHub does not recognise the licence file, so check the repository’s own terms before reusing the code.
More from this week
- Stroq Check AI coding agent sessions for leaked keys
Stroq scans your recent Claude Code and Codex sessions for keys that left your machine.
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-max-sixty-worktrunk/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-max-sixty-worktrunk/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="Worktrunk on BuildTube"></iframe>