STORY · VERKTOY_

Tmux and Claude Code: sessions, send-keys and the ceiling

The guide explains how tmux can run AI coding agents in named, detachable sessions that survive a closed terminal or a dropped SSH connection. It shows that Claude Code can create a git worktree and tmux session with the flag --worktree --tmux, and then describes how to set up multiple agents yourself using send-keys and capture-pane.

WHY IT MATTERS

For developers running multiple AI agents in parallel, this offers a practical setup method, and it shows which tasks the built-in flag does not cover.

SOURCES

MACHINE-GENERATED SUMMARY This summary is written by machine from the sources below. We sort and explain — but we are a way into the field, not the final word. Check the source when something matters to you.