December 2025: I've been using Worktrunk as my daily driver, and am releasing it as Open Source this week; I think folks will find it really helpful. It's built with love (there's no slop!). If social proof is helpful: I also created PRQL (10k stars) and am a maintainer of Xarray (4k stars), Insta, & Numbagg.
Worktrunk is a CLI for git worktree management, designed for parallel AI agent workflows. Git worktrees give each agent an isolated branch and directory; Worktrunk wraps them in a clean interface and extension points. Scaling agents becomes as simple as scaling git branches.
Here's a quick demo:

๐ Full documentation at worktrunk.dev ๐
Context: git worktrees
AI agents like Claude Code and Codex can handle longer tasks without supervision, and running several in parallel is practical. Git worktrees give each agent its own working directory โ no stepping on each other's changes.
But the git worktree UX is clunky. Even starting a new worktree means typing the
branch name three times: git worktree add -b feature ../repo.feature, then
cd ../repo.feature.
Worktrunk makes git worktrees easy
Start with the core commands; add workflow automation as needed.
Core commands:
Workflow automation:
- Lifecycle hooks โ run commands on create, pre-merge, post-merge
- LLM commit messages โ generate commit messages from diffs via llm
- Merge workflow โ squash, rebase, merge, clean up in one command
- ...and lots more
Install
Homebrew (macOS & Linux):
Cargo:
Next steps
- Learn the core commands: wt switch, wt list, wt merge, wt remove
- Set up project hooks for automated setup
- Explore LLM commit messages, fzf-like picker, Claude Code integration, CI status & PR links
- Run
wt --helporwt <command> --helpfor quick CLI reference
Further reading
- Claude Code: Best practices for agentic coding โ Anthropic's official guide, including the worktree pattern
- Shipping faster with Claude Code and Git Worktrees โ incident.io's workflow for parallel agents
- Git worktree pattern discussion โ Community discussion in the Claude Code repo
- git-worktree documentation โ Official git reference
Contributing
- โญ Star the repo
- Open an issue โ feedback, feature requests, or a worktree friction we don't yet solve
- Share: X ยท Reddit ยท LinkedIn
๐ Full documentation at worktrunk.dev ๐