{
  "manifest_version": "1",
  "slug": "rex",
  "title": "Rex",
  "headline": "Run a Rex server on a remote Linux VM",
  "description": "Run the Rex server (beta) on an always-on exe.dev VM and add it to Rex for Mac over Tailscale: sessions and agents keep running when your Mac sleeps.",
  "category": "ai-agents",
  "tags": [
    "rex",
    "superlogical",
    "terminal multiplexer",
    "rex server",
    "remote host",
    "tailscale",
    "claude code",
    "codex"
  ],
  "url": "https://exe.dev/deploy/rex",
  "markdown_url": "https://exe-staging.dev/deploy/rex.md",
  "upstream": {
    "website": "https://www.superlogical.com/rex",
    "docs": "https://www.superlogical.com/rex/docs/linux/installation",
    "license": "Proprietary (free beta)"
  },
  "example_vm_name": "my-rex",
  "time": "10 minutes",
  "stack": [
    {
      "name": "Rex server",
      "detail": "the rex package (0.1.0 preview), run as your account by a systemd service",
      "data": "~/.local/state/rex"
    },
    {
      "name": "Tailscale, built into Rex",
      "detail": "the server joins your tailnet as its own device; no tailscaled needed",
      "data": "~/.local/state/rex/tsnet"
    },
    {
      "name": "Claude Code and Codex",
      "detail": "preinstalled; connected to exe.dev's LLM integration, with Rex's agent skill",
      "data": "~/.claude, ~/.codex"
    },
    {
      "name": "Your project",
      "data": "~/project"
    }
  ],
  "access": [
    {
      "url": "https://my-rex.\u003cyour-tailnet\u003e.ts.net",
      "who": "private",
      "what": "the Rex server, for Rex for Mac; only your Tailscale account gets in"
    },
    {
      "url": "ssh my-rex.exe.xyz",
      "who": "private",
      "what": "your terminal, and an SSH tunnel to Rex if you don't use Tailscale"
    }
  ],
  "delivers": [
    "Rex's Linux server from the preview channel, running as `exedev` and back after a reboot",
    "The server on your tailnet as `my-rex` once you open its Tailscale sign-in link",
    "Claude Code and Codex using exe.dev's LLM integration, with Rex's agent skill installed",
    "A Rex session `work` in `~/project` where Claude Code answers `OK`"
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe-staging.dev/new?prompt=Set%20up%20Rex%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe-staging.dev%2Fdeploy%2Frex.md%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-rex.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-rex.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Rex%27s%20Linux%20server%20from%20the%20preview%20channel%2C%20running%20as%20%60exedev%60%20and%20back%20after%20a%20reboot%0A-%20The%20server%20on%20your%20tailnet%20as%20%60my-rex%60%20once%20you%20open%20its%20Tailscale%20sign-in%20link%0A-%20Claude%20Code%20and%20Codex%20using%20exe.dev%27s%20LLM%20integration%2C%20with%20Rex%27s%20agent%20skill%20installed%0A-%20A%20Rex%20session%20%60work%60%20in%20%60~%2Fproject%60%20where%20Claude%20Code%20answers%20%60OK%60%0A%0ARun%20the%20VM-side%20commands%20in%20%22Set%20up%20the%20VM%22%20only%3B%20skip%20creating%20the%20VM.%0AIf%20%60exeuntu%20configure%60%20reports%20an%20existing%20user%20config%2C%20leave%20it%20alone.%0AIf%20%60~%2Fproject%60%20already%20exists%2C%20leave%20it%20alone.%20Don%27t%20start%20interactive%0Aagents.%20Verify%20with%20the%20checks%20at%20the%20end%20of%20that%20section%3A%20the%20service%0Ais%20active%2C%20%60rex%20version%60%20starts%20with%20%60rex%200.1.0%60%2C%20and%20the%20%60work%60%20session%0Ashows%20%60OK%60%20from%20Claude%20Code.%20Skip%20the%20later%20sections%20and%20the%20FAQ.%0AFinish%20by%20giving%20the%20owner%20the%20Tailscale%20sign-in%20link%20from%0A%60rex%20server%20status%60%20%28the%20%60authenticate%3A%60%20line%29%2C%20and%20tell%20them%20to%20open%20it%0Asigned%20in%20to%20the%20tailnet%20their%20Mac%20is%20on%2C%20check%20that%20MagicDNS%20and%20HTTPS%0Acertificates%20are%20on%20for%20that%20tailnet%2C%20then%20add%0A%60https%3A%2F%2F%3Cthis%20VM%27s%20name%3E.%3Ctailnet%3E.ts.net%60%20in%20Rex%20for%20Mac%20with%0A%2A%2AAdd%20Remote%20Host%E2%80%A6%2A%2A%20%28%22Add%20it%20to%20Rex%20for%20Mac%22%29.%20Never%20put%20Rex%20behind%0Aexe.dev%27s%20HTTPS%20proxy%20or%20use%20%60--allow-anonymous%60.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open.%0A",
    "terminal": "curl -fsSL https://exe-staging.dev/deploy/rex/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up Rex on this VM by following the exe.dev recipe at https://exe-staging.dev/deploy/rex.md from top to bottom.\n\nThe recipe's example VM name is my-rex. This VM's name is the output of `hostname`: use it wherever the recipe writes my-rex. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- Rex's Linux server from the preview channel, running as `exedev` and back after a reboot\n- The server on your tailnet as `my-rex` once you open its Tailscale sign-in link\n- Claude Code and Codex using exe.dev's LLM integration, with Rex's agent skill installed\n- A Rex session `work` in `~/project` where Claude Code answers `OK`\n\nRun the VM-side commands in \"Set up the VM\" only; skip creating the VM.\nIf `exeuntu configure` reports an existing user config, leave it alone.\nIf `~/project` already exists, leave it alone. Don't start interactive\nagents. Verify with the checks at the end of that section: the service\nis active, `rex version` starts with `rex 0.1.0`, and the `work` session\nshows `OK` from Claude Code. Skip the later sections and the FAQ.\nFinish by giving the owner the Tailscale sign-in link from\n`rex server status` (the `authenticate:` line), and tell them to open it\nsigned in to the tailnet their Mac is on, check that MagicDNS and HTTPS\ncertificates are on for that tailnet, then add\n`https://\u003cthis VM's name\u003e.\u003ctailnet\u003e.ts.net` in Rex for Mac with\n**Add Remote Host…** (\"Add it to Rex for Mac\"). Never put Rex behind\nexe.dev's HTTPS proxy or use `--allow-anonymous`.\n\nFinish with the URLs I should open.\n",
    "prompt_url": "https://exe-staging.dev/deploy/rex/prompt.txt"
  },
  "updated": "2026-10-31",
  "related": [
    "herdr",
    "orca",
    "claude-code",
    "codex",
    "t3code",
    "openclaw"
  ],
  "alternatives": [
    "tmux"
  ]
}
