Hacker News AIT2·68 pts
- Tmux ensures AI agents survive disconnections by owning the PTY independently of the terminal window.
- External scripts can automate agent interaction and monitoring using `send-keys` for input and `capture-pane` for output.
- Recent Claude Code versions simplify initialization with the `claude --worktree --tmux` command.