报道正文
本文目录3 个章节

Rex is a new terminal built for seamless connectivity between devices, flexibility in your workflow, and speed.
Use it to manage and orchestrate complex processes and agent workflows across any device. Programs can restore after restart. You can customize it and script it.
All wrapped in a beautiful, native app.


Make any machine in the world feel like localhost.
Your work runs on more than one machine now. So we built a multiplexer and a protocol that bring it all into one app, across any device.
-
Multiplexer
Your sessions run on a Rex Server on your machine, local or remote, so they keep going when you disconnect, and any device you open picks them up right where they are.
-
Protocol
Designed for multiplexing: low latency and high throughput, so every keystroke stays responsive however much is streaming. Connect securely with native support for Tailscale and SSH.
The terminal experience is the first application we are building on this platform. Read about why, and what’s coming, in our vision for the future.
A terminal your agents and scripts can drive
-
文本
$ rex run --label tests --split=below -- make test
2. ```
$ rex wait tests; echo $?
2-
文本
$ rex capture -b tests | grep -- '--- FAIL' --- FAIL: TestSyncResume (2.04s)
4. ```
$ rex send -b codex $'api/sync is failing. Fix it.\n'-
文本
$ rex events -s api 14:20:03 …e498 terminal.title_changed {"title":"Fixing api/sync"} 14:20:03 …e498 terminal.program_status_changed {"state":"working"} 14:20:07 …e498 terminal.program_status_changed {"state":"done"}
6. Spawn agents and CI runs, wait on them, read what they print and hand it on, from a shell script or from Lua with `rex do`.
Agents can start other agents, watch them and send them messages, on any host.
[Rex CLI →](https://www.superlogical.com/rex/docs/automate/shell-scripting) [Rex Scripting →](https://www.superlogical.com/rex/docs/automate/lua-scripts) **fix-ci.lua** rex do · on push **make test** ci-runner **Claude Code** Fix TestSyncResume **Codex** Add a regression test **make test** ci-runner **gh pr create** api/sync `rex run``rex wait``rex capture``rex send``rex send``rex events``rex wait`

## Made for every screen you own.
Native apps for Mac, iPhone and iPad, and Windows. Linux and Android are on the way.
Apps Server only
- Linux
- FreeBSD
- Windows



**We’re the team behind Ghostty, and Rex is built directly on libghostty.** It’s the terminal we always wanted to make. Between us we’ve spent decades building tools for developers, at HashiCorp, Heroku, Vercel, and more. [Meet the founding team](https://www.superlogical.com/vision#team)
Sort your sessions into working, waiting on you and done, and bring blocked agents to your attention.

## Panes that keep up.
Split, resize, zoom and close from the keyboard, and keep an agent, your editor, tests and logs side by side, wherever they run.

## Deep process integration.
We've published open protocols, so agents, scripts and other programs can talk to the terminal directly. No more screen scraping and fragile heuristics, just proper APIs.
- ### Native Program Status
Programs report when they're working, waiting on you, or done. Status indicators show on tabs and in the session picker, and scripts can act on it.
- ### Automatic Program Restarts
Programs tell Rex the exact command that brings them back. After a server update, a crash or a reboot, your editor, REPL or agent picks up where it left off.
- Native Each Rex client is purpose built for each platform.
- Fast Keystrokes land instantly, even while output streams.
- Keyboard first Every action, one keystroke away.
- Universal clipboard Copy on one machine, paste on any other.
- Activity See what needs you, with rich notifications.
- Rich theming 41 built-in themes, or bring your own.
- Make it yours Keybindings, UI and Lua scripts, your way.
- Extensible Add your own functionality to Rex.