computer tool that takes screenshots of your main display and drives your real mouse and keyboard. A typical use is reproducing and debugging a native app, for example in the iOS Simulator.
This is different from the PortableDesktop virtual display used by the desktop_* tools: computer use controls your real screen.
Turn it on
Open the agent picker in the chat input and turn on Computer use at the bottom of the list. You can also pressCmd+Shift+X on macOS (Ctrl+Shift+X on Linux) or run Turn On Computer Use from the command palette.
The switch applies to the current workspace. Turning it on in another workspace turns it off in the first one. Agents pick up the tool from their next response; turning it off takes effect immediately.
Stop it
PressCmd+Shift+Escape on macOS (Ctrl+Shift+Escape on Linux) at any time, even while another app is focused. This turns computer use off and cancels the action in progress. You can also turn the switch off. Stopping the stream only cancels the action in progress: computer use stays on, and the agent can use it again in its next response.
If another app already uses this shortcut, Xum cannot register it. The agent picker then says so, and you turn computer use off with the switch.
macOS permissions
macOS asks you to allow Xum in System Settings > Privacy & Security:- Screen Recording, so the agent can take screenshots.
- Accessibility, so the agent can control the mouse and keyboard.
Limits
- Desktop app only, on macOS and Linux (X11). Wayland sessions, the Xum server, and browser mode do not support it.
- Not available when
XUM_ALLOW_MULTIPLE_INSTANCES=1lets several Xum instances run at once (as in development sandboxes), because each could drive the mouse. - Main display only. If one screen is split into several virtual monitors, screenshots fail instead of sending clicks to the wrong place.
- Removing or archiving the workspace that has computer use turns it off.
- Local workspaces only: workspaces that run over SSH, in Docker, in a dev container, or on a Coder workspace cannot turn it on.
- One workspace at a time. Sub-agents do not inherit it.
- One action per agent response: the agent checks each action’s screenshot before it plans the next.
- It resets when Xum restarts, so a restarted Xum never resumes control on its own.
- Typing on Linux supports printable ASCII characters, tabs, and line breaks, and assumes a US keyboard layout for shifted symbols such as
@and:. On macOS, typing does not support emoji or other characters beyond U+FFFF.