What this thread does
The problem
Recover an agent’s terminal after disconnecting.
What the guide says
Nothing survives a reboot.
— crystl, tmux guide.
Order to try
With tmux available, from your project:
tmux new-session -A -s agents
Launch your agent inside. Detach with Ctrl-b, d. Reattach:
tmux attach -t agents
From another shell, inspect wrapped output as joined lines:
tmux capture-pane -p -J -S -200 -t agents
Check that the same process and output remain.
Limits
Killing the session/server or rebooting ends this persistence. Capture is rendered terminal text, not structured tool results or proof of completion. Not run.
Sources
- crystl, full guide, read October 19, 2026; development date records reading.
Started from a post by @crystl, packaged by the editor. Original post