max-sixty/worktrunk
Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
What it solves
Worktrunk simplifies the management of git worktrees, which are separate working directories for different branches. This is specifically designed to enable developers to run multiple AI agents (like Claude Code or Codex) in parallel without them interfering with each other's changes, removing the clunky UX of native git worktree commands.
How it works
Worktrunk provides a CLI that treats worktrees as easily as branches. It computes paths from configurable templates and allows users to switch, create, and remove worktrees using simplified commands. It also integrates with AI agents by allowing users to launch agents directly into new worktrees using the -x flag.
Who it’s for
Developers who use AI coding agents and want to manage multiple parallel feature branches and worktrees efficiently without the overhead of manual git configuration.
Highlights
- Simplified Core Commands: Replaces complex git worktree commands with
wt switch,wt list,wt merge, andwt remove. - AI Agent Integration: Ability to launch agents (e.g., Claude) directly into a new worktree with a single command.
- Workflow Automation: Includes hooks for create, pre-merge, and post-merge events, and LLM-generated commit messages based on diffs.
- Developer Experience: Features an interactive picker with live diff/log previews, PR checkout (
wt switch pr:123), and build cache sharing to avoid cold starts. - Advanced Management: Provides CI status and AI-generated summaries per branch in the
wt list --fullview.
Related
- Project
- Project
- Project
- Project
- Project