| |
Tmux and Claude Code: Sessions, Send-Keys, and the Ceiling
Claude Code includes built-in flags (`--worktree --tmux`) to automatically create isolated git worktrees and tmux sessions for AI coding agents, simplifying the single-agent setup. Tmux is well-suited for agent orchestration because it survives terminal disconnections, manages multiple sessions in one window, and is scriptable from outside, making it ideal for long-running coding processes. The guide covers this built-in functionality first, then explores advanced use cases like running multiple agents in one session, remote SSH setups, and scripting against sessions—scenarios where manual tmux configuration becomes necessary.
Read Full Article →
← More Tech news