Say hello

~/projects/tmux-ai-necromancer

CASE STUDY
Illustration · not a screenshot of tmux-ai-necromancer

Open source · 2026

tmux-ai-necromancer

A tmux plugin that restores AI coding agent sessions after a crash or reboot.

The problem

Repeated tmux crashes ended several live Claude Code sessions at once, with no way to get them back.

The build

  • A pane watcher that pins each agent session ID as soon as the agent starts.
  • A background autosave that snapshots every pane without touching the running agent.
  • An idempotent restore that recreates sessions and resumes each agent, plus a terminal session viewer.
  • One small adapter file per supported agent.

The outcome

Open source under MIT, installable with the tmux plugin manager (TPM).