ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsMaterial2 min readDisconfirmAI Editorial

Superlogical Launches Rex Terminal to Keep AI Coding Agents Running After Disconnects

Rex separates the terminal interface from the server, allowing developers to switch devices or disconnect without interrupting active coding agents.

2026-12-05 04:28 GMT+8

Superlogical, whose founders include HashiCorp co-founder and Ghostty creator Mitchell Hashimoto, opened its new terminal application Rex to the public on Thursday. The launch follows two months of beta testing that attracted nearly 140,000 early-access signups. Rex is designed to solve a specific problem for developers running multiple AI coding agents: maintaining session continuity when a client disconnects or switches devices.

The free, self-hostable tool combines a native frontend built around libghostty with a multiplexer backend. This architecture separates the terminal interface from the server that executes programs and maintains session history. Consequently, closing a client application does not terminate the processes running on the server. Developers can reconnect from another device, including an iPhone, and access the same running sessions without interruption.

Rex provides programmatic access to terminal sessions through a CLI and server API, allowing agents to execute commands in separate panes and retrieve results without disrupting their primary workflow. An agent skill compatible with Claude Code, Codex, OpenCode, and Pi instructs these tools on how to use Rex commands. For example, an agent can run a test suite in a background pane and capture failures using rex capture. To address the challenge of monitoring multiple agents, Rex introduces Activity Mode and supports the open Program Status Protocol (OSC 7501), which allows programs to communicate their current state to the terminal.

Recovering from a server restart remains more complex. Superlogical’s Program Resume Protocol lets applications report the command needed to reconstruct their sessions after a restart, subject to configurable trust rules. While Rex installs a hook to restore Claude Code sessions automatically, it does not yet preserve manually exported environment variables. Automatic recovery for other agents like Codex and OpenCode depends on their integration with Rex; without matching detection rules, only the shell and working directory are restored.

Sign in / Sign up
ReadingResearchRadarInvestment framework

Giving agents access to other terminal sessions raises security concerns. Superlogical states that Rex does not collect usage analytics or terminal contents, requires no account, and can run entirely on developer-controlled infrastructure, though the application itself is not open source. Currently, Rex relies on the connection mechanism to establish caller identity, with a more comprehensive authentication system planned. Resume commands and arguments are stored in plain text with restricted file access, and encryption is planned where key storage is available. The company recommends SSH for remote connections to leverage existing credentials.

Sources

  • thenewstack.ioThe New Stack↗
Continue researching →