Analysis updated 2026-05-18
Snapshot all open terminal tabs before a reboot so nothing is lost.
Restore an in-progress Claude Code or opencode session automatically after a reboot.
Run the bundled systemd timer to auto-save your terminal layout every two minutes.
Preserve which folder and title each terminal tab was in across a crash.
| rohansx/tabkeep | 1ncendium/aibuster | aaronmayeux/ha-hurricane-tracker | |
|---|---|---|---|
| Stars | 5 | 5 | 5 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | ops devops | general |
Figures from each repo's GitHub metadata at analysis time.
Konsole users must manually enable a D-Bus setting for agent session auto-resume, Ghostty needs no setup but has reduced fidelity.
tabkeep saves and restores your terminal tabs across reboots, including the AI coding agent session running inside each one. Normally, if you close your terminal or restart your computer, you lose track of which folder each tab was in and any Claude Code, opencode, or pi session you had open there. Bookmarks only bring back a folder. tabkeep takes a snapshot of the whole layout, windows, tabs, folders, and agent sessions, and can bring it all back later. Running tabkeep save records, for each tab, the working directory, the tab title, and which AI tool was running along with its session id, plus the exact command needed to resume it. Running tabkeep restore reopens each tab in the right folder and relaunches its agent inside the shell, so quitting the agent drops you back into a normal shell instead of closing the tab. Support depends on which terminal you use. Konsole is fully supported through its own D-Bus interface, recovering windows, tabs, titles, and folders exactly, and restoring everything into one window with real tabs. Ghostty is partially supported: since it has no way to query its own state, tabkeep reads folder and session information by scanning system process information instead, which means it cannot preserve tab grouping or titles, and restoring opens separate windows rather than tabs. Other terminals like kitty and wezterm are not yet supported, though the project welcomes contributions to add them. Installation is a single command using the uv tool, and Konsole users need to flip one D-Bus setting to allow agent sessions to auto resume, which the README is careful to flag as something to enable knowingly since it lets programs type into your terminal. A bundled systemd timer can snapshot your tabs automatically every two minutes so a crash or reboot never loses more than a couple of minutes of state, though restoring after a reboot is left as a manual step you trigger yourself rather than something that runs automatically at login. The project is written in Python, ships with 65 passing tests that fake out all system interaction so they run anywhere, and is released under the MIT License.
A Linux CLI tool that saves and restores your terminal tabs, including their AI coding agent sessions, across reboots.
Mainly Python. The stack also includes Python, D-Bus, systemd.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.