Rex 终端发布 跨设备接管 Claude Code 会话

原标题:Rex is now publicly available
62AI 研判分

Rex 是一款面向多设备协作的原生终端,通过自研多路复用器与 Rex Server 让会话在本地或远程机器上持续运行,断连后仍可恢复。它支持在任意设备上接管 Claude Code、Codex 等智能体会话,并提供通用剪贴板、活动通知与 Lua 脚本扩展。

关联知识实体

报道正文

本文目录3 个章节

Rex on iPhone, with the same Claude Code session open.

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.

Rex's sidebar, seen close up at an angle: Claude Code and Codex sessions on three machines, working and done.

Rex's session picker open over a terminal, listing sessions on this Mac, a build box, a cloud VM and a MacBook, its highlight stepping down the list and a filter typed and cleared.

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

  1. 文本

$ rex run --label tests --split=below -- make test

文本
2. ```
$ rex wait tests; echo $?
2
  1. 文本

$ rex capture -b tests | grep -- '--- FAIL' --- FAIL: TestSyncResume (2.04s)

文本
4. ```
$ rex send -b codex $'api/sync is failing. Fix it.\n'
  1. 文本

$ 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`  

![Rex on a Mac: its sidebar of sessions, a Claude Code session and two shell panes](/api/v1/file/hot_img_fafd89873437d9ea3a54a01ec8d24da4.webp)

## 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

![](/api/v1/file/hot_img_18891fb7b992efb7a2ccc59593d90d6a.webp)

![](/api/v1/file/hot_img_f3a087d021b0520de11d8acc24f4fb91.webp)

![](/api/v1/file/hot_img_a5f430404899f305f4b485b3bc36fe73.webp)

**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.

![](/api/v1/file/hot_img_02ab3526a25b8f0934dd2cf6c60c27e2.webp)

## 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.

![Rex's block icons for Claude Code, Docker, Node, GitHub, GitLab, Vercel and others as glass capsules, each showing its glyph in LED dots.](https://www.superlogical.com/rex-capsules/capsules.webp?v=7)

## 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.