Worktrunk is an open-source command-line utility that simplifies Git worktree management for developers running multiple tasks or AI coding agents simultaneously. Written in Rust, it provides intuitive commands for creating, switching, listing, and removing isolated working directories. Each worktree maintains an independent checkout, allowing parallel development without interfering with other branches. The software supports configurable directory naming conventions and shell integration for quick navigation. Automation hooks execute commands during worktree creation, merging, and cleanup. Additional capabilities include AI-generated commit messages, streamlined merge workflows, and copy-on-write build caches. Its status reporting helps developers track concurrent changes across worktrees. Worktrunk integrates naturally with AI coding assistants such as Claude Code and Codex.
Features
- Simplified Git Worktree Creation and Switching
- Parallel AI Coding Agent Workflows
- Configurable Worktree Directory Naming
- Automated Lifecycle Hooks and Cleanup
- AI-Generated Git Commit Messages
- Integrated Merge Operations and Build Cache Sharing