请问HN:你们是如何运行并行代理会话的?

3作者: Olshansky18 天前原帖
Anthropic 有一些文档使用了 git worktree:<a href="https://code.claude.com/docs/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees" rel="nofollow">https://code.claude.com/docs/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees</a> 有一些应用程序在后台利用了 git worktree:<a href="https://conductor.build">https://conductor.build</a> 我也尝试过使用 lazygit,以便更加方便。 当我需要确保代理不会意外重叠时,我仍然更倾向于拥有我的代码库的多个克隆。 我很好奇其他人是怎么做的。
查看原文
Anthropic has these docs that use git worktree: <a href="https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;common-workflows#run-parallel-claude-code-sessions-with-git-worktrees" rel="nofollow">https:&#x2F;&#x2F;code.claude.com&#x2F;docs&#x2F;en&#x2F;common-workflows#run-paralle...</a><p>There are some apps like this that leverage git-worktrees under the hood: <a href="https:&#x2F;&#x2F;conductor.build">https:&#x2F;&#x2F;conductor.build</a><p>I&#x27;ve tried lazygit as well to make it more convenient.<p>I still end up preferring having multiple clones of my repo when I need to ensure the agents don&#x27;t accidentally overlap.<p>Curious what other people do.