Worktrunk is a command-line interface designed to streamline git worktree management, particularly for workflows that involve running multiple AI agents in parallel. It addresses the complexity of using git's native worktree features by simplifying the process of creating, switching, and cleaning up worktrees, making these operations as straightforward as working with branches. The tool is aimed at developers and teams who manage concurrent tasks or leverage AI agents such as Claude Code or Codex to handle parallel development activities.
Key features of Worktrunk include core commands for switching between worktrees, listing their status, removing them, and merging changes. The platform provides hooks for automating local workflows, allowing commands to run at various stages such as on creation, pre-merge, and post-merge. Worktrunk also offers support for generating commit messages from diffs using large language models, and includes an interactive picker for browsing worktrees with live diff and log previews. Additional capabilities include copying build caches between worktrees to avoid cold starts, checking out pull requests directly, assigning unique ports to development servers per worktree, and managing aliases and per-branch variables for custom workflows.
Worktrunk is delivered as a CLI tool and supports installation via multiple package managers, including Homebrew for macOS and Linux, Cargo, Winget for Windows, Pacman for Arch Linux, and Conda or Pixi through a community-maintained feedstock. Shell integration is available to enable directory changes from within the CLI, and the tool is designed to work with Windows Terminal as well as other environments.
By focusing on the needs of developers working with parallel AI agent workflows, Worktrunk simplifies and automates many aspects of managing git worktrees, making it easier to coordinate multiple, simultaneous changes within a codebase.
In the CLI tools & terminal space, Worktrunk takes a focused approach. It focuses on managing multiple parallel Git worktrees efficiently, especially for AI agent-driven workflows. It is built as an open-source project for developers using Git and AI agents. The project is open source (Open Source). Worktrunk is available on the command line.
Worktrunk first shipped in 2025. The project is developed in the open on GitHub with 5.6k stars and 1.2k commits in the last 90 days. Key capabilities include worktree management, parallel agent support, and CLI commands.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Closest matches by what these projects do