Developer shares a tmux setup for parallel Claude Code sessions
10/21/2026 — 10/21, 02:19·1 sources (all)·1 reports (all)
Key takeaways
- A developer who runs several Claude Code sessions a day via tmux published his setup: one session per git worktree, plus a spawner script, s…
Background & analysis
On October 21, 2026, DEV Community published a first-person account from a developer who runs multiple Claude Code sessions in tmux every day and shared the setup behind it. In his configuration, each git worktree gets its own session, supported by a spawner script, send-keys so scripts can drive the agents, and a hook that signals when a task finishes. Detaching and reattaching lets a job on a remote box keep running.
The post cites Anthropic's documentation, which recommends starting a team of Claude Code agents at 3 to 5 and states that three focused teammates often outperform five scattered ones. The author notes that most posts claiming to run 12 agents in parallel skip that line, and he points to a threshold beyond which adding more agents makes things slower, though the report does not give a specific number.
The account also notes that tmux is free, has existed since 2007, and covers what parallel agents need. Beyond the configuration approach and the documentation quotes, the material does not describe how the setup performed in practice or any further developments.
AI-generated from 1 reports · updated 9 hours ago
Latest turnA developer who runs multiple Claude Code sessions in tmux daily shared the setup: one session per git worktree, a spawner script, send-keys for driving agents, and a hook that signals when an agent finishes. He cites Anthropic's docs saying three focused teammates often beat five scattered ones, and notes where adding more agents starts to slow things down.
Related AI tools
- Heat index
- 77
- All sources
- 1
- All reports
- 1
- First seen
- 9 hours ago
Reports on this story headlines open the original
A developer who runs multiple Claude Code sessions in tmux daily shared the setup: one session per git worktree, a spawner script, send-keys for driving agents, and a hook that signals when an agent finishes. He cites Anthropic's docs saying three focused teammates often beat five scattered ones, and notes where adding more agents starts to slow things down.
DEV Community · AIAI score 62
Other stories people are talking about
- Heat index 36Developer probes Claude Code sandbox limits with the srt CLI1 sources
- Heat index 63Selection guide maps AI coding tools to specific workflows1 sources
- Heat index 35Splitting rule files per package for Codex and Claude Code in a monorepo1 sources
- Heat index 70Developers use Claude Code and other AI to strip smart TV ads1 sources
- Heat index 41Developer splits work across Claude, Grok, Codex and custom router1 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion
