Launch commands in a real pseudo-terminal, detach, reattach later. Cross-platform screen / tmux alternative for AI agents.
What It Does
Creates detached PTY sessions that survive disconnection. Windows (named pipes), macOS, and Linux (Unix sockets). Agents can launch long-running processes, detach, and check back later without blocking.
Supports logs --tail/--follow, session replay, Ctrl+A detach in attached mode, and PowerShell compatibility.
Quick Start
Install (updated 2026-03-26)
npx skills add marcfargas/holdptyInstall CLI:
npm install -g holdpty
Usage:
holdpty launch my-session -- npm run dev
holdpty logs my-session --follow
holdpty attach my-session
holdpty list