worktrunk is a git worktree CLI that makes worktrees as easy as branches, letting developers run multiple AI agents in parallel without the agents overwriting each other's changes.
Project overview
As running many AI agents in parallel becomes common, worktrunk addresses a real pain point: git's native worktree UX makes it hard to give each agent its own working directory, and worktrunk replaces multi-step git commands with simple branch-like operations.
Project type
AI Agent · AI Coding
Use cases
Coding & Development
Deployment
Refer to project documentation
License
License pending
Best for
Developers who want to run many parallel AI agents, each in its own working directory, on the same git repository
Developers who find git's native worktree commands clunky and want worktree operations as easy as branches
Key capabilities
wt switch -x <cmd> -c creates a worktree and runs an agent such as Claude in it, enabling multiple parallel agents.
Getting started
Install with a single package-manager command (brew install worktrunk), set up shell integration with wt config shell install, then create a worktree with wt switch --create feature-auth.
Evidence and sources
README: Worktrunk is a CLI for git worktree management, designed for running AI agents in parallel.
README: But the git worktree UX is clunky. Even a task as small as starting a new worktree requires typing the branch name three times
README: has quickly become the most popular git worktree manager
README: **[LLM commit messages](https://worktrunk.dev/llm-commits/)** — generate commit messages from diffs
README: For parallel agents, create multiple worktrees and launch an agent in each: ```bash wt switch -x claude -c feature-a -- 'Add user authentication'