# Running multiple Claude agents in parallel: how do you get their work into main? — retained record

> Retained reddit record from reddit:ClaudeCode.

Canonical: https://highsignal.app/data/records/b5f78a168ae27ba1

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:ClaudeCode)  published 2026-10-20 14:20 ingested 2026-10-21 02:40

[original source ↗](https://www.reddit.com/r/ClaudeCode/comments/1xatfdg/running_multiple_claude_agents_in_parallel_how_do/)

## retained text



```
I'm building an app with Claude Code and others AI and I run several agents at once. Right now every task gets its own branch and git worktree, and one session merges into main after the tests pass. It works, but the worktrees pile up and I'm not sure this is the best way.                                                                                                     

What does your process look like, from prompt to merged main? How do you keep agents from touching the same files and and how dou you avoid a full disk after a few changes?
```



document fetched 2026-10-21 00:39 · canonical https://reddit.com/r/ClaudeCode/comments/1xatfdg/running_multiple_claude_agents_in_parallel_how_do
