futuctual.it

TLDR; of actual future news

AIfutuctual.it

Superlogical launches Rex terminal to keep AI coding agents running after disconnect

The new tool lets developers switch devices or close clients without interrupting active agent sessions

Superlogical launches Rex terminal to keep AI coding agents running after disconnect

Superlogical has opened its Rex terminal to the public after two months of beta testing and nearly 140,000 early-access signups. The free, self-hostable application combines a native frontend built around libghostty with a multiplexer backend that allows developers to disconnect from remote machines or switch between devices without interrupting active coding agents.

Mitchell Hashimoto, the creator of Ghostty and co-founder of Superlogical, helped build the platform. Mitchell Hashimoto

Superlogical says tens of thousands of people already use Rex daily.

Agents take the terminal

Rex provides agents with programmatic access to terminal sessions, enabling them to execute commands in separate panes and retrieve results without breaking their primary workflow. The application offers both a CLI and a server API, along with an agent skill compatible with Claude Code, Codex, OpenCode, and Pi that gives agents instructions for using Rex commands.

Developers can use Lua scripts to respond to process exits or changes in program status without repeatedly polling sessions. A primary agent could coordinate other agents outside a single coding harness, though developers would still need to implement the orchestration logic themselves.

When agents need you

Developers running multiple coding agents may have no reason to examine most of them but must respond immediately to one critical alert. Rex addresses this through its Activity Mode and an open specification called the Program Status Protocol, which allows programs to communicate their current 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 protocol for monitoring program state independently of the coding harness.

Surviving a server restart

Rex separates the terminal interface from the server that executes programs and maintains session history. Closing a client application does not terminate the processes running on the server, allowing developers to reconnect from another device and access the same running sessions.

Closing a client application does not terminate the processes running on the server.

Developers can reconnect from another device and access the same running sessions.

Recovering from a server restart is more complicated. Superlogical’s Program Resume Protocol lets applications report the command needed to reconstruct their sessions after a restart, subject to configurable trust rules. Rex installs a hook to restore Claude Code sessions after a server restart but does not preserve manually exported environment variables.

Automatic recovery of unattended workflows depends on the agent’s integration with Rex. Codex and OpenCode do not yet report the information required for automatic restoration. Without a matching detection rule, Rex restores only the shell and its working directory.

The security trade-off

Giving agents access to other terminal sessions raises security concerns in environments with tightly controlled permissions. Superlogical says Rex does not collect usage analytics or terminal contents, requires no account, and can run entirely on infrastructure controlled by the developer.

Superlogical says Rex does not collect usage analytics or terminal contents, requires no account, and can run entirely on infrastructure controlled by the developer.

The application itself is not open source. According to the company’s remote access documentation, Rex currently relies on the connection mechanism to establish a caller’s identity. A more comprehensive authentication and authorization system is planned.

The company recommends SSH for remote connections, allowing developers to use their existing credentials without exposing an additional network listener. Rex also provides configurable trust rules that determine which programs can restart automatically, the directories in which they can run, and which command-line arguments can be retained.

According to the Session Restore documentation, resume commands and their retained arguments are stored in plain text with restricted file access on supported Unix-based systems. Superlogical plans to introduce encryption where key storage is available.

Beyond the terminal

“The Rex Server has no concept of a terminal,” Hashimoto writes on Hacker News, suggesting that the architecture could accommodate applications beyond command-line tools. “I suspect in less than 12 months we’re going to see Rex screenshots with zero terminals,” he adds. Hashimoto

Hashimoto identifies enterprise access management and on-demand remote computing resources as potential commercial opportunities, although Superlogical has not formally announced its business model. Native clients are available for Apple devices, with a Windows client expected in early 2027 and a Linux client planned. Rex already supports servers on Linux, Windows, and FreeBSD.

More news