Who it is forA developer who starts a long build or coding agent task and needs to leave the machine or close the window without losing progress.
The problemClosing a normal terminal window usually ends the shells and processes running inside it, so long tasks get interrupted.
The outcomeThe task keeps running on the mux server, and you reattach from the desktop or the TUI to see its output.
What you need first
- macOS, Linux, or Windows (the README lists these as desktop platforms)
- Homebrew on macOS for the cask install, or Rust and platform build tools for a source build
- Access to the machines you want to connect, if you use remote sessions
- A second terminal window to run the TUI client
Steps
- Install on macOS with
brew install --cask roversx/tap/thinkterm, or download a release from the Releases page - Open the desktop application with
thinkterm start - Start a long build or coding agent task in a pane
- Close the desktop window; the server-held session keeps running
- In a separate terminal, run
thinkterm tuito reattach and continue the same session
Prompt for your agent
Using the RoversX/ThinkTerm repo, start a long-running build in a pane of a ThinkTerm session on <target machine>, detach the client, then reattach with `thinkterm tui`. Expected output: the build log continues from where it was before detaching. Verify that the process is still running after the client disconnects.
Caveat. Sessions survive a client disconnect, but they do not survive a mux server restart or host reboot, according to the README.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for RoversX/ThinkTerm and "Keep long builds and agents running after you close the window"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer