Skip to main content

Remote session

The remote session lets you drive a session from another screen — a phone's browser or another computer — while the work keeps happening on your machine. The key point: your app (Desktop or TUI) stays the runtime; the Platform only relays the messages. Nothing runs on the server.

How it works​

The remote client talks to the Platform, which relays to your local app; the agent runs locally and the stream comes back to both screens.
The remote client sends the prompt; the Platform only relays; your app runs it locally and the stream comes back to both screens.
  1. Your local app generates a short-lived pairing code and a URL.
  2. On the other device, you open that URL, sign in, and paste the code.
  3. From then on, the prompts typed on the remote client run on your PC, and the stream of the response comes back to both screens.

Because execution is local, the remote session has the same access (and the same limits) as your normal session — including your workspace and the vault.

Pair on the Desktop​

  1. Click the Remote pill (in the header).
  2. Select Create pair. The app shows a code (Crockford format) with a 30-second countdown and a URL to share (<host>/remote).
  3. Use Copy code / Copy URL to send it to the other device.
  4. On the other device, open the URL, sign in, and paste the code before it expires.

To end the pairing, use Revoke.

Pair on the TUI​

  1. Type /remote. The TUI shows a pairing code valid for 30 seconds.
  2. In the other device's browser, open <host>/remote, sign in, and paste the code.
  3. Use /remote status to see the connection state and /remote stop to end it.

See all the commands in TUI commands.

Security​

The remote session is designed to be secure by construction:

  • It doesn't expose your files. The remote client sends prompts and receives responses; it doesn't browse your disk. Execution — and file access — keeps happening only in your local app.
  • One active pair at a time. Only one pairing exists at once; creating a new one (or using Revoke) ends the previous one.
  • Requires login. Both your app and the remote client must be authenticated with your organization identity. See Identity.
  • Ephemeral code. The pairing code expires in 30 seconds; after that you need to generate a new one.
The Platform never executes

The Platform's role here is strictly a relay: it passes messages between the remote client and your app. The agent, the tools, and the files live on your machine. That's why the remote session only works while your app is open and connected.

When to use it​

The remote session shines when the work needs to run on your machine, but you want to follow it from somewhere else:

  • Keep going from a distance — fire off a prompt and follow the response on your phone as you step away from the computer.
  • Secondary screen — leave the run going in the local app and read the transcript comfortably on another device.
  • Long-running tasks — start a routine or a long generation and check the progress without going back to the keyboard.

When pairing fails​

SymptomCauseWhat to do
The code isn't acceptedIt expired (good for 30s)Generate a new one (Create pair / /remote) and paste it quickly.
"A pair is already active"Only one pairing at a timeUse Revoke (Desktop) or /remote stop (TUI) and pair again.
Asks for login on the remote clientThe remote session requires loginSign in to the browser before pasting the code.
Nothing happens after pairingThe local app closed or lost its connectionCheck that the app is open and online — it's the runtime.

More general symptoms in Troubleshooting.

Remote ≠ hosted chat

The remote session is not the same as the web chat. In the web chat, the agent runs on the server. In the remote session, the client in the browser is just a control: the agent keeps running in your local app. That's why the remote session sees your workspace and the hosted chat doesn't.

See also​