Loading...
# Two agents in the same checkout
cd my-app && agent "Add dark mode" &
cd my-app && agent "Refactor auth" &git worktree add ../my-app-dark-mode -b feat/dark-mode
git worktree add ../my-app-auth -b refactor/auth
# Run one agent in each folder, then review each branchEach git worktree is a separate folder on its own branch, so agents never overwrite each other's files.
A git worktree is an extra working folder linked to the same repository, checked out on its own branch. Several worktrees can be open at once without cloning the repo again.
As many as you can review well. The real limit is usually your review time and merge conflicts, not the tools.
Usually not. Split work into independent tasks that touch different files, or run agents one after another when one depends on another.