What do you want to do?
3 use cases
-
Run several coding agents in parallel worktrees
Create a worktree per task and launch an agent in each with one command.
View prompt
Install worktrunk, then for each of <tasks> run `wt switch -x claude -c <branch> -- '<task>'` so every agent gets its own worktree. Use `wt list` to report status.
-
Merge a finished worktree back to main in one command
Squash, rebase, fast-forward merge and remove the worktree with wt merge.
View prompt
In the worktree for <branch>, run `wt merge main` and show me the output. If I prefer a PR, use `wt step commit`, `gh pr create` and later `wt remove`.
-
Automate setup in every new worktree with hooks
Run commands on create and merge so each worktree installs dependencies and gets its own dev server port.
- REPO
max-sixty/worktrunk - Claude Code
- Codex
- Software and DevOps
- Intermediate
View prompt
Using worktrunk, set up a post-start hook for this repo that installs dependencies and starts the dev server on a `hash_port` port, and share build caches between worktrees. Show me the config before saving.
- REPO
What people are building with Worktrunk
-
Hands-onX
Runs several Codex agents in parallel with worktrunk and git worktrees
They use worktrunk to run multiple Codex agents in parallel, each on its own git worktree so they do not step on each other.
Worktrunk on GitHubTry it: Run several coding agents in parallel worktrees
By LeetLLM.com (@leetllm)
-
Hands-onHacker News
Uses worktrunk to give every git worktree its own deps, containers and env
They use worktrunk for whole worktree setup: it spins up dependencies, containers and environments so ports do not clash and local tests run on a clean slate per worktree, alongside Claude and Codex runs.
By _rwo on Hacker News
Real builds shared on X, Hacker News, Reddit, DEV and GitHub, summed up by Deduped from each post and its links; each card links to the original post. See what people are building with other repos
Quick start with Worktrunk
- Check you have what it needs: git; Homebrew or Cargo to install; Shell integration via `wt config shell install` so commands can change directories.
- Open max-sixty/worktrunk on GitHub and read the README and license.
- Run
brew install worktrunk && wt config shell install(orcargo install worktrunk && wt config shell install) - Run
wt switch -x claude -c feature-a -- 'Add user authentication' - Run
wt switch -x claude -c feature-b -- 'Fix the pagination bug' - Run
wt listto see the status of each worktree
These steps come from our top use case, Run several coding agents in parallel worktrees, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for max-sixty/worktrunk
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers running several Claude Code or Codex agents at once who want each in its own working directory.
- Why it is hot12k stars on GitHub as of Nov 6, 2026, talked about in 2 AI sources we track
- LanguageRust
- Sourcegithub.com/max-sixty/worktrunk · Back to Hot repos
Requirements
- git
- Homebrew or Cargo to install
- Shell integration via `wt config shell install` so commands can change directories
- An agent such as Claude Code or Codex
Add this badge to your README
Maintain Worktrunk? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/max-sixty-worktrunk/?utm_source=github&utm_medium=badge&utm_campaign=max-sixty-worktrunk)
HTML
<a href="https://dedupedai.com/use-cases/max-sixty-worktrunk/?utm_source=github&utm_medium=badge&utm_campaign=max-sixty-worktrunk"><img src="https://dedupedai.com/badge/max-sixty/worktrunk.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Worktrunk
What is Worktrunk?
Worktrunk is a CLI for git worktree management, designed for running AI agents in parallel. Its three core commands make worktrees as easy as branches, and it adds hooks to automate local workflows, LLM commit messages, a merge workflow and copy-on-write build caches. It is an open-source project on GitHub: https://github.com/max-sixty/worktrunk.
How do I use Worktrunk?
Run brew install worktrunk && wt config shell install (or cargo install worktrunk && wt config shell install); then run wt switch -x claude -c feature-a -- 'Add user authentication'; run wt switch -x claude -c feature-b -- 'Fix the pagination bug'. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Worktrunk for?
Developers running several Claude Code or Codex agents at once who want each in its own working directory.
What can I do with Worktrunk?
3 use cases so far, for example: Run several coding agents in parallel worktrees; Merge a finished worktree back to main in one command; Automate setup in every new worktree with hooks. Each has steps and a copy-paste agent prompt.
What do I need to run Worktrunk?
git; Homebrew or Cargo to install; Shell integration via `wt config shell install` so commands can change directories; An agent such as Claude Code or Codex.
What are alternatives to Worktrunk?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Worktrunk safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.