New tool tmux-restore revives tmux sessions and AI agent chats after reboot
Developer Andrew Boldi released tmux-restore, an open-source tool that automatically saves tmux sessions, windows, panes, working directories and scrollback every minute and again at shutdown. It restores them on restart, and panes running coding agents like Claude Code, Codex, Gemini CLI, opencode or pi resume their exact prior conversations. The tool is installed via a shell script and builds on existing tmux-resurrect and tmux-continuum plugins.
GoKawiil's interpretation of the reporting above, not reported fact.
The project addresses a specific pain point for developers who run long AI agent sessions in tmux and lose context after a reboot or crash, potentially saving time re-establishing conversation state. Its design choice to retype rather than auto-rerun risky commands like deploys suggests an attempt to balance convenience with safety. Being MIT-licensed and extensible via simple adapter files could encourage community contributions for additional agent tools.
- tmux-restore auto-saves tmux sessions every minute and at shutdown, restoring them on reboot.
- It specifically resumes AI coding agent conversations (Claude Code, Codex, Gemini CLI, opencode, pi) mid-chat.
- Built on existing tmux-resurrect and tmux-continuum plugins, it's open-source under MIT license and extensible via adapters.
Source: github.com, 2026-11-03
Published there as: “Show HN: Tmux-restore saves tmux windows and agent sessions across reboots”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.