How do I run agents on different branches at the same time?
Use git worktrees. git worktree add ../feature-x -b feature-x creates a second directory checked out on its own branch, backed by the same repository and history, and you start an agent in each directory. Branch switching in one worktree never disturbs the others.
Worktrees do not copy ignored files, so each new directory needs its own node_modules, .env, and build cache before an agent can work there. See git worktrees for parallel development. crystl’s isolated shards wrap the same mechanism and handle the install and .env symlink automatically.