# Use OpenProgram from other devices

1. **Add device** Settings → Devices: pick what it is
2. **Scan or paste** A one-time code, good for 10 minutes
3. **Signed in** Until you revoke it, or it goes unused for 30 days

Conversations, files and accounts stay on the computer that runs them. A phone or browser shows that computer's OpenProgram; another computer's OpenProgram lists its conversations beside its own and sends what you do there. Every device, phones and servers alike, is one list under **Settings → Devices**.

## Add device

| Device | What you do |
| --- | --- |
| Phone or tablet | Scan the QR code with its camera. It opens OpenProgram in its browser, already signed in. |
| Another computer with OpenProgram | **Show its conversations here**: paste the link it shows. **Let it use this one**: this computer shows the link to paste there. |
| Server over SSH | Pick a host from your SSH configuration, or type `user@host`. It is tested before you use it. |
| Something else | Describe it in a sentence. A new chat opens with the request; the agent finds the details, adds the device and tests it. |

A code works once and is replaced while it is shown. If nothing can reach this computer yet, Add device offers to switch on Same Wi-Fi.

## Open this computer from

|  | Reaches from | To set up |
| --- | --- | --- |
| Same Wi-Fi | Phones and computers on this network; not encrypted, so use it on networks you trust | Switch it on; it applies at once |
| Anywhere | Any network, over https | Switch it on and sign in to Tailscale once in the browser. Tailscale is built into OpenProgram: nothing to install, here or on the phone |

Reaching the address is not enough to sign in: every device is added with a code first. The link carries every address that is on, and the other side tries each in turn, so a laptop that leaves home keeps working.

## On the phone

1. **Open the link** From the QR code, through Anywhere
2. **Add to Home Screen** Share → Add to Home Screen; Chrome: Install app
3. **Turn on notifications** Settings → General → Notifications

Opened from the Home Screen, OpenProgram fills the screen like an app. Notifications come from this computer when a conversation needs you, a reply is ready or a conversation stops with an error; each can be turned off.

Tapping one opens that conversation. They say only which kind of event it was, never what the conversation says. They need Anywhere: a phone on Same Wi-Fi opens OpenProgram but gets no notifications.

| Screen | On a phone |
| --- | --- |
| Conversation list | Tap the button at the top left, or swipe right from the screen's left edge; tap beside it or swipe left to close |
| Files, activity, resources | Tap the button at the right end of the tab row; it opens full screen |
| Settings, History | A list of sections first; tap one to open it, and the back arrow at the top left returns to the list |
| Composer | Stays above the keyboard while you type |

## Another computer's conversations

| Doing | Happens |
| --- | --- |
| Open, send, stop, approve | On that computer, with its models, tools and files |
| New chat in one of its projects | Created and run there |
| It goes offline | Its projects stay listed with a red dot and open to nothing until it is back; nothing was copied to show |

## This computer's permissions

Choose **This computer** in the list to see what OpenProgram may use here. **Turn on** opens the right place in System Settings with a small window under it showing the app to drag into the list; the row turns on by itself. Controlling another app and opening files are asked by macOS the first time they are needed.

## Revoke and the command line

**Revoke** in a device's menu signs it out at once and closes its connections. The same from a terminal:

| Command | Effect |
| --- | --- |
| `openprogram web pair` | Prints a one-time link and its QR code |
| `openprogram web devices` | Lists paired devices; `openprogram web devices revoke ID` revokes one |

[Web interface](https://fzkuji.github.io/OpenProgram/docs/interfaces/web.html) · [Run conversations on another machine](https://fzkuji.github.io/OpenProgram/docs/capabilities/environments.html) · [Channels](https://fzkuji.github.io/OpenProgram/docs/integrations/channels.html)
