For AI agents: the complete documentation index is available at https://docs.heys.ai/workstation/en/llms.txt, the full documentation bundle is available at https://docs.heys.ai/workstation/en/llms-full.txt, and this page is available as Markdown at https://docs.heys.ai/workstation/en/computer-use.md.
  • English
  • Computer Use

    A lot of work does not happen in a web page: sending a message in a chat app, changing a few numbers in Excel, tidying files in Finder or File Explorer, clicking through the client of an industry application. These apps have no open API, and the built-in browser (Built-in Browser and Sites) cannot reach them.

    Computer Use lets the agent look at and operate native apps on this computer (Notes, WeChat, Excel…) in the background. It first reads the app's UI structure and clicks and fills in by UI element; where the UI structure gives nothing (canvases, some custom-drawn controls), it looks at a screenshot and clicks by position. By default the whole process never moves your mouse or takes over a window, so you can keep doing your own work while it operates another app. If an app is not running, it opens it in the background.

    Actions on web pages still belong to the built-in browser; do not use Computer Use to click around web pages inside a browser.

    Local desktop only

    Computer Use is only available in the local window of the macOS, Windows and Kylin desktop apps, and is off by default. The desktop app connected to a remote service, remote windows opened by CoWork, projects in a remote workspace, the web app, Docker and server deployments, and the command line do not have this feature, and Settings does not have this page.

    Turning on Computer Use

    Turn it on in Settings → Computer Use:

    Settings → Computer Use: at the top, the "Allow the AI to control this computer" switch, Mode (Fully automatic), and three switches, "Full control", "Show the agent's cursor and action feedback" and "Show the blue window frame"; below, "System permissions (macOS)" lists Accessibility (not granted, with a "Grant" button) and Screen Recording (granted), and at the bottom are the note on apps that are not operated by default, the note on the preview window, and "Control process running"

    Settings → Computer Use: at the top, the "Allow the AI to control this computer" switch, Mode (Fully automatic), and three switches, "Full control", "Show the agent's cursor and action feedback" and "Show the blue window frame"; below, "System permissions (macOS)" lists Accessibility (not granted, with a "Grant" button) and Screen Recording (granted), and at the bottom are the note on apps that are not operated by default, the note on the preview window, and "Control process running"
    ItemDescription
    Allow the AI to control this computerThe main switch. When on, tasks in the current space get a Computer Use tool that runs fully automatically, without step-by-step confirmation. It applies only to the current space; to use it in another space, turn it on there separately. Configuration pushed by your organization cannot turn it on (remotely turning on control of a computer means controlling someone's computer without their consent), but it can turn it off
    ModeFully automatic (default): looking, clicking and typing all happen automatically, with no confirmation; by turning on the switch you have already decided to let it operate this computer. Read-only: it can only look at apps and windows, with no clicking or typing
    Full controlOff by default, and only has an effect on macOS. When on, the agent no longer asks before it needs to switch to the foreground (see Foreground actions), and foreground actions also work in scheduled tasks and Cases. You are asked to confirm once more when turning it on. Blocked apps and read-only mode are not affected by it, and configuration pushed by your organization cannot turn it on either
    Show the agent’s cursor and action feedbackDraws the agent's cursor, click spots and a breathing glow over the window being operated (Visible, and stoppable). Display only; turning it off does not affect the agent's work
    Show the blue window frameDraws a blue frame around the window being operated, with the name of the app being operated labeled at its top left. With multiple displays or across desktops the position may be off, so you can turn off just this; the cursor, click feedback and the glow at the screen edges are not affected

    A small line at the bottom of the page, Control process running, means the background process that operates the computer is ready. It only starts the first time it is actually needed, so if it has never been used, this line may not appear.

    Tip

    The Sprite (Sprite) uses a space of its own. To let the Sprite operate apps on this computer too, or to let the Sprite companion "look at my screen", first switch to the Sprite's space and turn on the switch on this page there.

    Permissions and environment check

    What you need to do after turning on the switch depends on the system:

    SystemWhat you need to do
    macOSGrant two system permissions: Accessibility and Screen Recording
    WindowsNo permissions needed; just turn on the switch. Apps running as administrator cannot be controlled; this is a system restriction
    KylinThere are no system permissions; the settings page shows Environment check (Linux) and checks the requirements one by one

    macOS: two system permissions

    The System permissions (macOS) section of the settings page shows the real status of the two permissions:

    PermissionUsed for
    AccessibilityRead app UI structure, click and type
    Screen RecordingCapture app windows
    1. On the permission marked Not granted, click Grant. HeyS opens the matching page in System Settings.
    2. A small card floats below the System Settings window, with the HeyS icon on the left. Press and hold the icon, drag it into the app list above, and let go; that grants the permission, with no need to hunt for a switch in a long list.
    3. Switch back to HeyS. The page refreshes to Granted by itself; there is no need to restart HeyS. If it does not refresh, click Refresh at the top right.

    The bottom of the page says which app the permissions are recorded for; for an installed HeyS, they are recorded for "HeyS".

    Kylin: environment check

    The Kylin V10 installers (x64 and arm64) include Computer Use. The settings page replaces the system permissions with Environment check (Linux). Each item shows OK or Not OK, and when it is not OK, the page says how to fix it:

    CheckRequirementWhen it is not met
    Desktop sessionAn X11 sessionNo graphical session detected: start HeyS from the desktop, not from a remote terminal. The session is Wayland or another type: log out and pick the X11 (Xorg) session on the login screen, then log in again. Kylin uses X11 by default
    Accessibility busOn, and app interface elements can be readInterface elements cannot be read, so only screenshots and clicks by position work. Install at-spi2-core (sudo apt install at-spi2-core), turn on accessibility in system settings, then log out and log in again
    ScreenshotsNo permission is needed for screenshots in an X11 sessionThe current session cannot capture the screen; it works after you switch to an X11 session
    System glibc versionAt least the required version (2.30 or newer on x64 computers)Shows that this computer's system version is too old for Computer Use for now. The Computer Use entry in the input box shows as not ready, and when the agent is asked to use Computer Use, it gets the same explanation
    sudo apt install at-spi2-core   # when the accessibility bus is not on

    Having the agent use Computer Use

    Once it is on, the agent uses Computer Use by itself when your request is clearly about operating an app on this computer ("create a new note in Notes").

    To tell it explicitly "do this with Computer Use", click + in the input box and choose Computer Use:

    StatusClicking it
    Ready (the switch is on, not read-only, and the permissions or environment check are all OK)Inserts @computer-use at the start of the input box
    Not turned on yet, or in read-only modeGoes to Settings → Computer Use
    System permissions still missing (Accessibility or Screen Recording)Goes to the settings page to grant them
    The current desktop environment cannot run it (Kylin)Goes to the settings page to see the environment check

    When it is ready, you can also type @ in the input box and choose Computer use from the menu.

    @computer-use is just a piece of text in the input box: delete it to cancel, and typing it yourself counts too. For a message sent with it, the agent is explicitly asked to do the job with Computer Use in an app on this computer, and does not switch to the command line or scripts instead; a small Computer Use label stays above your message bubble.

    It is useful when your request is not explicit enough. For example, with "send Zhang San a message for me", if you do not click it, the agent may go looking for a connector first, or think it cannot do it.

    When you ask it "what is on my screen right now", it answers only from what Computer Use actually saw. It does not substitute web search or the built-in browser, and it does not search the web for what is on your screen.

    How it operates

    The agent always works in three steps:

    1. Look first: read the app's UI structure, and take a screenshot when needed;
    2. Act by element or position: click and fill in by UI element first, and click by position on the screenshot only where elements cannot be read;
    3. Look again to confirm: "the click was accepted" does not mean "it took effect", so it looks at the UI again and confirms the result before moving on.

    Steps it can predict, it does in one go. It looks for the app by exactly the name you give; when the same app has several windows open, it picks the frontmost one according to the system's real window order.

    Each step of the run is written in plain words:

    What the run showsMeaning
    Look at NotesRead the UI once, with a screenshot thumbnail; click to enlarge
    Click "Save"Clicked by element
    Type 12 characters / Paste 30 charactersEntered text at the current focus
    Press Ctrl+SPressed a keyboard shortcut
    Menu File → Save AsChose from the app's menu
    Run 3 stepsDid several steps in a row in one go

    The Environment section of the Task details panel on the right side of the session also shows whether this task used Computer Use (Understanding Task Execution).

    Visible, and stoppable

    Preview window

    While the agent is using the computer, a preview window appears at the bottom right of the screen. It shows the last picture the agent saw and the spot of its last click, with the title "HeyS is operating". The preview window does not take focus, and never appears in any of the agent's screenshots.

    ActionEffect
    The enlarge button in the title bar, or double-click the pictureSwitch between the small and large sizes (the large size is about half the screen); your last choice is remembered
    Click the pictureSwitch back to the HeyS main window, jump to this session, and open a large view of this frame that you can zoom into
    StopStop this task immediately. The preview window shows "Stopped — no more actions in this turn": any clicks or typing for the rest of this turn are refused
    Open sessionGo back to the matching session
    HideStop showing the preview window for this turn

    Pause and Cancel task in the session work as well, taking effect between two actions.

    Cursor, blue frame and screen glow

    • The window being operated shows the agent's cursor, the click spot and a breathing glow, with a label next to them saying what it is doing: "HeyS is operating", "HeyS is looking", "Typing", "Waiting for your reply", "Stopped";
    • A blue frame surrounds the window being operated, with the name of the app labeled at its top left;
    • A breathing blue glow runs around the edges of the screen that the window being operated is on, so you know the agent is still at work even when you are not watching that window.

    The blue frame, the status label and the agent's cursor appear only when the target app is in front: while the agent is operating another app in the background, they do not cover the window you are looking at; when you bring the target app to the front, they appear within a second. The glow at the screen edges and the preview window are shown as usual.

    This layer does not intercept your mouse, does not take focus, and does not appear in the agent's screenshots. If you prefer static cues only, turn on Reduce motion in Settings → General.

    Foreground actions

    Some input cannot be delivered from the background, such as keyboard shortcuts when the same program has several windows open, or the address bar of browser-like apps. In these cases the agent first tries ways that do not disturb you (clicking a button in the UI, filling a value into the input field directly); only if that fails does it need to bring the window briefly to the front and send real keyboard and mouse input.

    System and settingHow foreground actions are handled
    macOS, Full control off (default)The agent shows a question card asking for your permission. It acts only after you click Allow foreground once, and one approval covers one time only (a group of consecutive actions counts as one); if you choose Don't allow — try another way, it takes another route. Typing an answer in the input box does not count as approval; you must click an option on the card. Scheduled tasks and Cases have no one to answer the card, so they cannot perform foreground actions
    macOS, Full control onIt no longer asks, and briefly brings the window to the front to act; this also works in scheduled tasks and Cases
    WindowsThere are no foreground actions that need your approval. In apps such as the new Notepad and Paint, menu shortcuts such as Ctrl+O and Ctrl+S briefly switch the window to the foreground to press the keys, then switch back to the original window; when the keys really cannot be pressed, the agent opens the menu and clicks instead
    KylinThere are no foreground actions

    During a foreground action the window briefly jumps to the front, which may interrupt you if you are typing, so Full control is off by default.

    Safety boundaries

    BoundaryDescription
    Off by default, per spaceYou have to turn it on yourself in Settings; configuration pushed by your organization cannot turn it on, nor full control
    Read-only modeLook only, no actions; enforced at the tool level
    Only one task can operate the computer at a timeWhen another task tries to use it, it is told that another task is controlling this computer
    Stop at any timeStop in the preview window, Pause or Cancel task in the session
    Foreground actions confirmed each timeSee Foreground actions (with full control on, it no longer asks)
    Some apps are never touchedSee the table below
    AppDefault
    HeyS itselfNever operated (otherwise the agent might click away its own question card or change its own settings); allowing it has no effect
    System Settings, Keychain, password managersNot operated
    Terminals (Terminal, PowerShell, Command Prompt, etc.)Not operated; for command-line work the agent uses its own command-line tool, which keeps a record and has timeouts

    To allow an app on the default list, or to add apps of your own to block, write this in the current space's configuration file config.yaml:

    tools:
      computer:
        allowApps: ["Terminal"]   # allow an app from the default block list
        denyApps: ["微信"]         # block an additional app (微信 = WeChat)
    Warning

    Once Computer Use is on, it runs fully automatically, and the agent can see and operate the apps on your desktop. Turn it on only when you trust the current task and the current model; when working with sensitive material, you can switch to Read-only first or turn off the main switch.

    FAQ

    SymptomCause and fix
    There is no Computer Use in SettingsRemote connections, CoWork remote windows and the web app do not have it; see the start of this page
    The agent says Accessibility or Screen Recording is not grantedGrant them as described in Permissions and environment check; switch back to the settings page and retry once both show Granted
    On Kylin, it says the system version is too oldThe system's glibc is older than required, so this computer cannot use Computer Use for now
    On Kylin, it can only click by position and cannot read UI elementsThe accessibility bus is not on; fix it as shown in the table in Permissions and environment check
    The click was "accepted" but the UI did not changeSome canvases, games and custom-drawn interfaces do not accept background input; the agent looks again and tries another way, and asks you to do it by hand if necessary
    It says another task is controlling this computerOnly one task is allowed at a time; wait for it to finish or stop it first
    Using it again after it has been idle for a whileThe background control process reconnects automatically; there is no need to restart HeyS
    Asking it to switch to "Desktop 2" on macOSSwitching desktops is not supported (it would change the screen you are looking at); switch there yourself
    The blue frame and the agent's cursor are not visibleThey are not shown when the target app is not in front; bring it to the front. Or they were turned off in Settings
    The blue frame is drawn in the wrong placeThis can happen with multiple displays or across desktops; turn off Show the blue window frame on its own in Settings