Worktrunk

worktrunk.dev

Rust CLI that makes git worktrees as easy as branches, built for running several AI coding agents in parallel without stepping on each other.

Pricing
Open source
Published
Nov 2, 2026

Next steps

  • NekoTrail

    Both tools are listed under AI Agent, Open Source, codex, and claude-code.

  • Timon

    Both tools are listed under AI Developer Tools, AI Agent, codex, and claude-code.

  • Foxpit

    Both tools are listed under AI Developer Tools, AI Agent, codex, and claude-code.

  • Strix
  • Pi
  • Daily Stock Analysis (DSA)

What it does

Worktrunk is a command-line tool for git worktree management designed for parallel AI agent workflows. Agents such as Claude Code and Codex can run long tasks unsupervised, and giving each one its own worktree keeps their changes apart — but plain git makes you type the branch name several times and manage paths by hand. Worktrunk addresses worktrees by branch name and computes paths from a configurable template: wt switch feat jumps to a worktree, wt switch -c -x claude feat creates a branch and worktree and starts Claude in it, wt remove cleans up the worktree and branch, and wt list shows every worktree with status. Quality-of-life features include hooks to automate local workflows and copy-on-write build caches so a new worktree does not rebuild from scratch. Written in Rust, dual-licensed MIT or Apache-2.0, with full documentation at worktrunk.dev; the author describes it as the most popular git worktree manager since its release at the start of 2026 (about 9.8k GitHub stars).

Worktrunk · Image from the official website
Image from the official website

Use cases

  • Give each Claude Code or Codex agent its own isolated worktree
  • Start a new branch, worktree and agent in one command
  • Clean up finished agent branches quickly

Frequently asked questions

Why use worktrees for AI agents?
Each agent gets its own working directory, so parallel agents don't overwrite each other's changes.
What does wt switch -c -x claude feat do?
Creates branch feat and its worktree, switches into it and starts Claude.
What license is Worktrunk under?
MIT OR Apache-2.0.
Log in to join the discussion