{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "max-sixty-worktrunk--run-parallel-agents-in-separate-worktrees",
 "repo": "max-sixty/worktrunk",
 "repo_url": "https://github.com/max-sixty/worktrunk",
 "repo_slug": "max-sixty-worktrunk",
 "title": "Run several coding agents in parallel worktrees",
 "page_title": "How to run several coding agents in parallel worktrees with Worktrunk",
 "summary": "Create a worktree per task and launch an agent in each with one command.",
 "who": "A developer managing 5 to 10 agents who is tired of typing branch names three times.",
 "problem": "Agents in one directory step on each other's changes, and plain git worktree commands are clunky.",
 "outcome": "One worktree per agent, each started with a task, addressed by branch name.",
 "steps": [
  "Run `brew install worktrunk && wt config shell install` (or `cargo install worktrunk && wt config shell install`)",
  "Run `wt switch -x claude -c feature-a -- 'Add user authentication'`",
  "Run `wt switch -x claude -c feature-b -- 'Fix the pagination bug'`",
  "Run `wt list` to see the status of each worktree"
 ],
 "agent_prompt": "Install worktrunk, then for each of <tasks> run `wt switch -x claude -c <branch> -- '<task>'` so every agent gets its own worktree. Use `wt list` to report status.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "On Windows, winget installs it as git-wt to avoid a clash with Windows Terminal's wt command.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "git",
  "Homebrew or Cargo to install",
  "Shell integration via `wt config shell install` so commands can change directories",
  "An agent such as Claude Code or Codex"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/max-sixty-worktrunk/run-parallel-agents-in-separate-worktrees/",
 "md": "https://dedupedai.com/use-cases/max-sixty-worktrunk/run-parallel-agents-in-separate-worktrees/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/max-sixty-worktrunk--run-parallel-agents-in-separate-worktrees.json",
 "api_version": "v1"
}
