What Is Rex Terminal and How Do You Get Into the Beta?
Rex is a terminal and multiplexer from Ghostty's creator, built for coding agents. Here's what it does, how it differs from tmux, and how to join the beta.
For Engineering

What is Rex terminal?
Rex is a new terminal app from Superlogical, a company founded by Mitchell Hashimoto, who also created Ghostty, Vagrant, and Terraform. It combines a terminal emulator (the window where you type commands) with a multiplexer (the tool that keeps sessions alive and splits them into panes, a job tmux usually does) in one native app. A background server owns your shells and processes, so closing the window doesn't kill your work. As of this writing, Rex is in a beta that is rolling out to people on a mailing list, and it runs on macOS.
TL;DR
- Rex is a terminal and multiplexer in one app, made by Superlogical, the company behind Ghostty's creator, Mitchell Hashimoto.
- A background server keeps your sessions running when you close or quit the app, and reopening Rex reattaches you where you left off.
- Rex has a command-line interface (CLI) that people and coding agents can both use to list, split, send text to, and read from terminal sessions.
- Rex has no built-in AI assistant. It gives agents like Claude Code a way to report whether they are idle, working, blocked, or done.
- The beta is macOS only and invite-based. You join by signing up to the Superlogical mailing list.
- Superlogical says Rex is and will always be free, needs no account, and can be fully self-hosted.
How does Rex work?
Most terminal apps tie your running programs to the window. Close the window and the shell inside it, and anything it was running, usually goes with it. Rex splits these apart.
There are two pieces:
- The server. It runs in the background and owns your shells and processes. The macOS app starts its own Rex server automatically.
- The client. This is the app you look at. It connects to a server and shows you what is running.
Because the server keeps going, you can quit the app, reopen it later, and reattach to the same sessions. A long build, a dev server, or a coding agent mid-task keeps working while the window is gone.
The same split enables multiple machines. The macOS app can connect to other Rex servers, so if you have more than one Mac, you can run Rex on each and reach any of them from the app. Superlogical says it already has Rex servers running on Linux and Windows, and clients for iOS, Linux, and Windows at varying stages of readiness. None of those are part of the public test yet.
Remote access is built on Tailscale (a private networking service) and is off by default, so nothing is exposed unless you turn it on.
What can the Rex CLI do?
The CLI is what sets Rex apart from a plain terminal. It lets a script, or an AI agent, control your terminal the way you would with a mouse.
Commands named in the coverage of Rex include:
| Command | What it does |
|---|---|
rex ls | Lists your sessions |
rex split | Opens a new pane |
rex send | Sends text or input to a session |
rex capture | Reads what a session is showing |
rex run --wait | Runs a command and waits for it to finish |
Most commands can return JSON, a structured format that scripts can read without guessing at text layout. Superlogical's docs also list Lua scripting, shell scripting, a server API, and custom actions for people who want to automate more.
How does Rex work with coding agents?
A coding agent such as Claude Code or Codex runs inside a terminal and does tasks for you: editing files, running tests, starting servers. Two things make that awkward in an ordinary terminal. You can't easily tell what the agent is doing, and the agent can't easily open a second pane to run something alongside itself.
Rex addresses both:
- Status reporting. Rex defines a small status protocol (an escape code called OSC 7501) that a program can use to say whether it is idle, working, blocked, or done. That lets Rex show you which of several agents needs attention.
- Agent hooks. A one-time
rex skill setupcommand installs integration for supported agents. Those are Claude Code, Codex, OpenCode, and Pi. Once set up, an agent can use the CLI to open a diff, run tests, or start a dev server in a new pane.
Rex deliberately has no AI assistant of its own. It is the place agents run, not an agent itself. That also means it works with whichever agent you already use.
How is Rex different from Ghostty and tmux?
People searching for Rex are usually comparing it with these two tools, so here is the plain version.
| Ghostty | tmux | Rex | |
|---|---|---|---|
| What it is | Terminal emulator | Terminal multiplexer | Terminal emulator and multiplexer |
| Keeps sessions alive after you close the window | Not its job | Yes | Yes, via a background server |
| Runs inside another terminal | No, it is the terminal | Yes | No, it is a native app |
| Built-in control for agents | No | Possible with scripting | CLI, status protocol, agent setup |
Ghostty is a terminal emulator. Rex is built on Libghostty, the MIT-licensed rendering and terminal library that powers Ghostty, but it is a separate product. Ghostty itself remains an unchanged nonprofit project, so Rex does not replace it or change its direction.
tmux is the long-standing multiplexer. You run it inside a terminal, and it keeps sessions alive on a server so you can detach and reattach. It is powerful, text-based, and works almost anywhere. Rex aims to give you the same persistence in a single native app, with a CLI and status reporting designed with agents in mind. If tmux already does everything you need and you work mostly over SSH on servers, you may not feel a strong pull. If you run several agents at once and want to see their state at a glance, Rex is aimed at you.
Superlogical describes Rex as a drop-in replacement for the terminal you use now, with persistent sessions, responsive remote connections, and program activity status.
How do you get Rex?
Access is through a waitlist. Here is the current path, based on Superlogical's October 5, 2026 announcement:
- Check your hardware. The public test covers the macOS app only.
- Sign up to the Superlogical mailing list. The test program requires it. You will be emailed when your invite is ready.
- Wait for your wave. Invites go out in increasingly large waves as Superlogical proves out stability. Its stated intention was to work through the whole list in under a month, though timing may have shifted since.
- Read the docs while you wait. The Rex docs cover installation, session restore, the configuration file, keyboard shortcuts, and the CLI.
When Rex reaches a stable public release, Superlogical says you will be able to download it directly without sharing any contact information. If you are reading this well after the announcement, check superlogical.com for the current status before signing up.
What does Rex cost, and is it stable?
Superlogical says Rex is and will always be free. There is no account to create. You can self-host your servers on any platform (the initial test is limited to macOS), and the company says it does not see or share your data. It has not shared a commercialization plan yet, but says the clients and servers themselves will not be directly monetized.
On stability, the team ran a private test with about 50 people and says it has used Rex daily for real work for months. It also warns that a public test will surface environments it didn't anticipate. Treat it as a beta: fine for trying, and sensible to keep a fallback terminal installed.
Who should care about Rex?
If you never open a terminal, Rex is not for you, and that is fine. It matters for three groups:
- Developers who run long processes or several agents and are tired of losing sessions.
- Analysts, data people, and technical marketers who have started using coding agents like Claude Code and now keep a terminal open for hours.
- Managers and team leads who want to understand why their engineers are excited. The short version: agents work in the background, and tools like Rex make that work visible and survivable.
What to do: if you use a terminal daily, join the waitlist and try it on one machine with a task you can afford to break. If you don't, there is nothing to act on yet.
What if you want a tool, not a terminal?
Rex is useful if you run coding agents yourself. But many people want the result, such as a request form, a tracker, or a small dashboard for their team, without managing sessions or panes at all. Remy is built for that case. You describe the app in plain English, and it writes a spec, builds a full-stack app with a database and sign-in, tests it, and deploys it to a live URL. A typical first build takes about an hour. The code sits in a git repo you own, so you aren't renting another subscription for a job a small internal tool could do.
Frequently Asked Questions
Is Rex terminal free?
Yes. Superlogical says Rex is and will always be free, requires no account, and can be fully self-hosted. It has not yet shared how it plans to make money, but says the Rex clients and servers will not be directly monetized.
Does Rex replace Ghostty?
No. Rex is built on Libghostty, the library behind Ghostty, but it is a separate product from Superlogical. Ghostty remains an unchanged nonprofit project.
Does Rex have its own AI assistant?
No, by design. Rex exposes a CLI and a small status protocol so outside agents such as Claude Code, Codex, OpenCode, and Pi can work inside it and report whether they are idle, working, blocked, or done.
Can I use Rex on Windows or Linux?
Not in the public test yet. The beta is limited to the macOS app. Superlogical says it has Rex servers running on Linux and Windows and clients for iOS, Linux, and Windows at varying stages of readiness, and hopes to widen testing quickly.
How do I join the Rex beta?
Sign up to the mailing list on superlogical.com. Invites go out in waves, and you will be emailed when yours is ready. After the stable release, you will be able to download Rex directly without giving any contact information.
Useful for
How we source, write, and correct our articles. Editorial standards
Related articles

CLI-Anything: What It Is and How to Use It (Install Guide)

What Is Rex? Ghostty Creator's Terminal for AI Agents Explained

How Did Fable 5.2 Coordinate 1,000 Agents to Build an OS?
