# Rex Terminal Multiplexer for AI Agents: Tested [2026]

> Mitchell Hashimoto's Rex opened to everyone on Dec 3, 2026. I ran it as a tmux replacement with coding agents across panes. Here's what actually holds up.

- Canonical: https://www.kunalganglani.com/blog/rex-terminal-ai-agent-multiplexer
- Author: Kunal Ganglani
- Published: 2026-12-04 · Updated: 2026-12-04
- Category: Developer Tools · Tags: terminal, cli-tooling, ai-agents, rex, tmux

## TL;DR

Rex is a brand-new terminal app, out to everyone on December 3, 2026, from the team behind the popular Ghostty terminal. Unlike older tools like tmux, it's built so AI coding assistants can keep running on a remote machine even when you close your laptop or switch to your phone. It tracks which agents are busy, waiting on you, or finished, so a stuck one never slips by. It's free and runs on your own hardware, but it's Mac-first for now and isn't open source. I tested it for a week running several agents at once, and for that specific workflow it's genuinely better than tmux.

## Rex Terminal Multiplexer for AI Agents: Tested [2026]

On December 3, 2026, the Rex waitlist came off and everyone got in. Rex is an AI-agent-native terminal and multiplexer built by Superlogical, the company Mitchell Hashimoto co-founded after Ghostty and HashiCorp. The public beta ran two months and pulled over 100,000 daily active testers. Unlike tmux, Rex was designed from the ground up to be driven by coding agents. Persistent sessions, Activity Mode, and cross-device handoff aren't bolted on. They're the point.

![Computer screens displaying lines of Python code in a dark workspace](https://cdn.sanity.io/images/vzekdneq/production/e5d9f0be6b35b5bfa4dbf8b036a92c3d666c30db-1200x675.webp)

I spent launch week running Rex as a tmux replacement, with [Claude Code](/blog/claude-code-2-new-rules) and Codex CLI driving work across panes on two machines. That's the gap worth filling. Every piece of coverage so far is either the vendor's announcement or a Hacker News thread. There is no independent, agent-heavy test indexed yet. This is that test.

> Rex isn't a prettier tmux. It's a bet that the terminal should be a server, and agents are the real users.

## What Is Rex? The AI-Agent Terminal Multiplexer, Explained

Rex is a terminal emulator and session multiplexer in one program, aimed squarely at people who keep long-running [AI agents](/pillars/ai-agents) alive in panes. The pitch is simple: the terminal shouldn't be a dumb viewport your agent has to scrape. It should be a programmable surface agents can read, drive, and reconnect to.

![a computer screen with a lot of data on it](https://cdn.sanity.io/images/vzekdneq/production/8fad7c52fd109acf6ac08d3e7084211106e76cef-1200x675.webp)

The credibility here isn't hype. Mitchell Hashimoto built HashiCorp's Terraform, Vagrant, and Vault, then built Ghostty, the terminal emulator sitting at 64,851 GitHub stars as of December 2026. He knows this layer of the stack better than almost anyone shipping today.

The timeline matters for trust. According to [Alasdair Monk](https://www.superlogical.com/updates/rex-available-to-everyone), Superlogical's co-founder, roughly 50 people used Rex privately every day for months before the public beta opened on October 5, 2026. Superlogical then invited just under 140,000 people from the waitlist. On December 3, the waitlist came off entirely.

The launch landed as the #1 story on Hacker News within a day, pulling 996+ points and 347+ comments, with [Mitchell Hashimoto](https://news.ycombinator.com/item?id=50749139) fielding architecture questions directly in the thread. Founders rarely show up like that. It's why the early signal is worth taking seriously instead of dismissing as another terminal-of-the-week.

## Platforms and Availability

Rex ships as a native macOS app that can run its own server or connect to any other Rex server. There are clients for iPhone, iPhone Duo, and iPad, plus Rex Server builds for Linux, Windows, and FreeBSD.

![Computer code on a dark screen with line numbers](https://cdn.sanity.io/images/vzekdneq/production/a5996de82b33c1ccaf27b0cecf4799097517ea96-1200x675.webp)

The story is uneven past the Apple ecosystem, and Hashimoto was candid about it. The Windows client was in active testing with roughly 5,000 users at launch, and the Android client was still internal-only. Linux, he noted, is harder because of desktop fragmentation.

So if your daily driver is a Mac talking to Linux servers, you're in the sweet spot today. If you live on Windows or Android, you're waiting a release or two.

Here's Better Stack's walkthrough framing Rex as Hashimoto's follow-up to Ghostty:

[Watch: Ghostty's Creator Just Launched a New Terminal (Rex)](https://www.youtube.com/watch?v=pde1xL9D7ic)

## Setting Up Rex as a tmux/screen Replacement

Migrating off tmux is less about config and more about unlearning. I run SSH into a handful of boxes with Claude Code and Codex CLI in separate panes, and moving that to Rex took about twenty minutes. You install the macOS client, point it at a Rex Server on your remote host, and your sessions live there.

The immediate win is that Rex streams the full PTY to the client instead of a screen-diffed viewport. Scrolling, selection, and copy behave like a native app, not like you're fighting a 1990s protocol through an SSH pipe. Desynced scrolling per client is real too. I could scroll back through an agent's output on my iPad while the same session kept running on the Mac.

What you lose is muscle memory. There is no leader key, which is either liberating or disorienting depending on how many `Ctrl-b` reflexes you've burned in over a decade. Your tmux plugins and `.tmux.conf` scripts don't come with you. If your workflow depends on tmuxinator layouts or a wall of custom bindings, budget time to rebuild those habits.

For anyone already assembling a modern [terminal CLI stack for AI developers](/blog/terminal-cli-tools-ai-developers-2026), Rex slots in as the session layer rather than another tool to babysit.

## Persistent Sessions and Cross-Device Handoff

This is the feature that justifies the switch. Rex sessions run on the Rex server, not the client. Your editor, REPL, or coding agent picks up exactly where it left off after a disconnect, a server update, a crash, or a reboot.

I tested the ugly case on purpose. I kicked off a long Codex CLI run, killed my laptop's Wi-Fi, closed the lid, and reopened on my phone. The session was still there, mid-run, with scrollback intact.

tmux does session persistence too, of course. The difference is that Rex treats the client as disposable and the server as the source of truth, so handoff across devices is the default behavior rather than a plugin you configure.

That changes how you work. You can start an agent on a beefy remote box, check on it from an iPad over lunch, and land back at your desk without the session ever noticing you left. For long agent runs that take 20 or 40 minutes, that's the difference between hovering and actually walking away.

## Activity Mode: Tracking Blocked Agents in Practice

Activity Mode is the part I didn't expect to care about and now can't give up. It groups running processes into three buckets: working, waiting on you, and done. Rich notifications fire when something moves between them.

The problem it solves is specific. When you have three coding agents running in parallel, the one that quietly blocks on a permission prompt or a clarifying question is the one that stalls your whole afternoon.

I ran Claude Code, Codex CLI, and a shell build at the same time. One agent hit an approval prompt and dropped into "waiting on you" with a notification, while the other two stayed in "working." I didn't have to cycle through panes hunting for who was stuck.

That's the real-world behavior nobody had documented before launch. It's a scheduling aid for your attention, which is the actual bottleneck in [agentic AI](/blog/generative-ai-vs-agentic-ai-vs-agents) workflows once you're running more than one agent at a time.

It won't fix a badly designed [tool-approval pattern](/blog/tool-approval-patterns-ai-agents). But it makes the blocked state impossible to miss, which is most of the battle.

## Built to Be Driven by Agents and Scripts

Underneath the UI is the thing that makes Rex genuinely different. The Rex CLI exposes low-level terminal control. An agent or script can start a command in a new pane on any host and wait for it to complete or signal. Hashimoto described the server as having "no concept of a terminal" at all. A terminal is just one kind of "block."

That's a clean primitive. Instead of an agent faking keystrokes into a pane and parsing noisy output, it issues a structured request and gets a structured result. For anyone who has tried [making software agent-native](/blog/cli-anything-agent-native) the hard way, this is the right shape.

It also raises the obvious question: what happens when you hand an agent low-level CLI control over panes across multiple machines? That's a real attack surface. A hijacked prompt or a malicious dependency now has a documented path to spawn commands on remote hosts.

When I built CLI developer tools for SOC 2-compliant project scaffolding at Rise People, the lesson that stuck was that guardrails baked into the tool beat review bolted on afterward. Rex's CLI is powerful precisely because it's low-level, which means your [prompt injection](/blog/ai-agent-tool-use-security-attack-surface-checklist) defenses and approval gates have to live a layer up. Treat agent CLI access as the privileged capability it is, not a convenience. If you're thinking about blast radius, the [AI security](/pillars/ai-security-safety) fundamentals apply here in full.

## Rex vs tmux, zellij, and screen: The Real Differences

Hashimoto's core argument is architectural, and it's worth translating into felt experience. Traditional multiplexers separate three layers: the terminal emulator, the transport, and the multiplexer. They render only a screen-diffed viewport, which he calls an "architectural dead end." Rex merges all three and ships the full PTY stream to every client.

Here's how that shakes out in practice:

| Dimension | Rex | tmux / zellij / screen |
| --- | --- | --- |
| Architecture | Terminal + transport + multiplexer merged | Three separate layers |
| What clients receive | Full PTY stream | Screen-diffed viewport |
| Scrolling / selection | Native, per-client desynced | Emulated inside the viewport |
| Leader key | None | `Ctrl-b` / `Ctrl-a` required |
| Agent-driven control | First-class CLI primitive | Scrape and send-keys |
| Cross-device handoff | Default behavior | Manual / plugin territory |
| License / source | Free, self-hosted, closed source | Open source (tmux: 50,793 stars) |
| Maturity | Launched Dec 2026 | tmux 3.8, released Sept 9, 2026 |

The honest caveat: tmux is battle-tested across decades and thousands of plugins. Rex is weeks old in public. Hashimoto cites the beta's 100,000+ daily active testers as proof the model scales, and my week of use backs the reliability claim. But "scales in beta" and "has the ecosystem you depend on" are different things.

If you want the deeper comparison of the agent CLIs you'd run inside either one, I tested [Aider vs Claude Code vs OpenHands](/blog/aider-vs-claude-code-openhands-cli) separately. Rex is the session layer underneath all of them.

## Verdict: Is Rex Worth Switching for an Agent-Heavy Workflow?

### What It Costs

The pricing is refreshingly blunt. The Rex client and server are free and self-hosted. Superlogical states that no user data is sent back except standard update-check telemetry, which is documented publicly. There's no per-seat terminal tax and no cloud dependency. The company has signaled paid team features on the roadmap, but the core tool you install today costs nothing.

One clarification, because the Hacker News thread kept asking: free does not mean open source. The client and server are free and self-hostable, but the source is not published. That's a different trust posture than tmux, and worth weighing if auditable source is a hard requirement for you.

### The Call

If you run multiple coding agents across remote machines from a Mac, Rex is worth switching for. Activity Mode and server-side persistence solve problems tmux never tried to, and the full-PTY architecture makes the whole thing feel like a native app instead of a terminal protocol from 1987.

If you're on Windows or Android, or you depend on a wall of tmux plugins, wait. The platform gaps are real and the ecosystem hasn't formed yet.

For context on my own bias toward this category: I maintain 25+ free browser-based developer tools at kunalganglani.com/tools, and the pattern holds that small, sharp tooling built around an actual workflow beats feature-complete incumbents faster than people expect. Rex is the first terminal in years that treats agents as the primary user, and that framing is going to age well. My bet is that within a year, "terminal for agents" stops being a novelty category and tmux starts shipping agent-native primitives to catch up. For a deeper look at the broader shift, the [developer tools and AI workflow](/pillars/developer-tools-workflow) space is moving in exactly this direction.

Photo by Cong Long Vu on Unsplash.

## FAQ

### Is Rex open source?

No. The Rex client and server are free to download and self-host, but Superlogical has not published the source code. That's different from tmux, which is fully open source. If auditable source is a hard requirement for you, Rex does not meet it today.

### Does Rex work with Claude Code, Codex CLI, and other AI coding agents?

Yes. Rex runs any CLI agent inside its panes the same way tmux would, and it goes further by exposing a low-level CLI that lets agents start commands in new panes and wait for them to finish. In my testing, Claude Code and Codex CLI ran side by side without special configuration.

### Who created Rex and what is Superlogical?

Rex is built by Superlogical, co-founded by Mitchell Hashimoto, the creator of HashiCorp's Terraform, Vagrant, and Vault, and of the Ghostty terminal emulator. Ghostty has 64,851 GitHub stars, which gives Superlogical deep credibility in the terminal space.

### How secure is Rex when agents have direct CLI control over machines?

The Rex CLI gives agents a documented way to run commands on remote hosts, which is a real attack surface. Rex itself sends no user data back beyond update-check telemetry, but you are responsible for the approval gates and prompt-injection defenses around the agents you grant that control to. Treat agent CLI access as a privileged capability.

### Can Rex fully replace tmux or screen for an agent-heavy workflow today?

For a Mac user driving coding agents on remote Linux servers, yes, and in some ways it's better. For Windows or Android users, or anyone dependent on tmux plugins and leader-key bindings, not yet. The Windows client was still in testing with about 5,000 users at launch and Android remained internal-only.
