Worktrunk

Active
GitHub Rust NOASSERTION

Description

A CLI for Git worktree management, designed for parallel AI agent workflows. Run multiple AI coding agents simultaneously across branches.

Key Features

  • Three core commands (switch, remove, list) making git worktrees as easy as branches
  • Worktrees addressed by branch name with paths computed from configurable templates
  • Built-in hooks for automating workflows on create, pre-merge, and post-merge events
  • LLM-powered commit message generation from diffs for faster development cycles
  • Interactive picker with live diff and log previews for browsing parallel worktrees
  • Copy build caches between worktrees to skip cold starts for target, node_modules, and more

Use Cases

💡 Managing 5-10+ parallel AI coding agents like Claude Code and Codex across branches
💡 Automating merge workflows with squash, rebase, and cleanup in a single command
💡 Running dev servers on unique ports per worktree using hash_port template filter
💡 Setting up per-branch CI status checks and AI-generated branch summaries
💡 Streamlining PR checkout workflows with direct branch switching from PR numbers

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (6.8k stars)
  • Responsive to issues, low backlog

⚠️ Limitations

  • No clear open-source license

Quick Start

brew install worktrunk && wt config shell install

Related Projects

CC Switch

130.7k · Rust
Active A+

A cross-platform desktop All-in-One assistant tool for managing Claude Code, Codex, OpenCode, OpenClaw and Gemini CLI agents in one place.

codingagentrust +2
  • · Multi-agent unified management - manage Claude Code, Codex, Gemini CLI, OpenCode and more in one interface
  • · Built with Tauri 2 - cross-platform desktop app using Rust + WebKit with low resource usage
  • · API proxy switching - quickly switch between API endpoints and keys for different AI coding tools

Refact

3.5k · Rust
Stale B

Refact is a Rust-based AI coding agent that handles engineering tasks end-to-end, integrating into developer workflows with code completion, chat, agent actions, and self-hosted deployment.

codingrustagent +2
  • · Rust-based AI coding agent handling engineering tasks end-to-end with high performance
  • · IDE integration with code completion, chat, and autonomous agent actions
  • · Self-hosted deployment option for privacy-conscious teams and air-gapped environments

Background Agents

2.7k · TypeScript
Active A

An open-source background agents coding system that autonomously executes coding tasks in the background, including code reviews, test generation, and feature implementation.

codingagenttypescript +2
  • · Hosted background coding agent that works on tasks while developers focus on other work
  • · Full development environment with Node.js, Python, git, browser automation, and VS Code
  • · Multi-channel access via web UI, Slack, GitHub PRs, Linear issues, and webhooks