
Rex opens to public, letting coding agents persist across devices
Superlogical has opened Rex, a free self-hostable terminal, to the public after beta testing and nearly 140,000 early-access signups. It keeps coding agents running after disconnects and device switches.
Superlogical, whose founders include HashiCorp co-founder and Ghostty creator Mitchell Hashimoto, opened Rex to the public on Thursday after two months of beta testing and nearly 140,000 early-access signups. Rex is a free, self-hostable terminal that combines a libghostty-based native frontend with a multiplexer backend, letting developers disconnect or switch devices, including an iPhone, without interrupting coding agents.
Agent access
Rex gives coding agents programmatic access to terminal sessions so they can run commands in separate panes and use results without interrupting their primary workflow. It includes a CLI, a server API, and an agent skill compatible with Claude Code, Codex, OpenCode, and Pi. Superlogical demonstrates an agent running a test suite in a separate pane and retrieving failures. Lua scripts can respond to process exits or status changes without repeated polling. A primary agent could coordinate other agents outside a single harness, though developers must implement the orchestration logic.
Status and restart recovery
Rex includes Activity Mode and the Program Status Protocol, an open specification that lets programs report their state to the terminal using the OSC 7501 escape sequence. The open source terminal runtime Herdr Core already implements OSC 7501, giving developers a common way to monitor program state independently of the coding harness.
Rex separates the terminal interface from the server that runs programs and keeps session history, so closing a client does not terminate server processes. Developers can reconnect from another device to the same sessions. After a server restart, Superlogical's Program Resume Protocol lets applications report the command needed to reconstruct sessions, subject to configurable trust rules. Rex restores Claude Code sessions with a hook but does not preserve manually exported environment variables. Codex and OpenCode do not yet report the information needed for automatic restoration. Without a matching rule, Rex restores only the shell and working directory.
Security and platforms
Superlogical says Rex does not collect usage analytics or terminal contents, requires no account, and can run entirely on developer-controlled infrastructure. The application is not open source. Remote access currently relies on the connection mechanism to establish a caller's identity, and a broader authentication and authorization system is planned. The company recommends SSH and offers configurable trust rules for automatic restarts, allowed directories, and retained command-line arguments. Resume commands and retained arguments are stored in plain text with restricted file access on supported Unix systems; encryption is planned where key storage is available.
Native clients are available for Apple devices, with a Windows client expected in early 2027 and a Linux client planned. Rex supports servers on Linux, Windows, and FreeBSD. Hashimoto writes on Hacker News that the Rex Server has no concept of a terminal, suggesting the architecture could support more than command-line tools. He identifies enterprise access management and on-demand remote computing as potential commercial opportunities, though Superlogical has not announced a business model.
Sources: The New Stack
SiTech — AI-powered web development
We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.