# Computer Use (macOS) ## What it can do Orca can see and operate other macOS apps with the `computer` tool: list or launch apps, inspect windows, click, type, send keys, and scroll. Use it to check a UI you just built or work in an app without a command-line interface; prefer file and command-line tools when they can do the job. ## Requirements Computer use is available on macOS 14 or later, in the main session of the interactive TUI. Give the terminal running Orca **Accessibility** and **Screen Recording** permissions in **System Settings → Privacy & Security**. Restart the terminal after granting Screen Recording if the permission has not taken effect. Also grant **Input Monitoring** if the driver reports missing listening access when installing the Esc listener; this does not replace Accessibility permission. ## App approval Before Orca first observes or operates an app, it asks for approval, unless a permission rule already decides the call or the session is in `full-auto` (see [Approval modes](#approval-modes)). The panel offers: - `1` **Allow once**: run this call; later calls ask again. - `2` **Allow this app this session**: skip approval for this app until you quit. - `3` **Allow all apps this session**: skip approval for every app until you quit. - `7` **Always allow this app (saved)**: save an allow rule for this app for future sessions. - `5` **Always allow all apps (saved)**: save an allow rule for every app for future sessions. - `4` **Deny**: refuse the call and ask Orca for another way. Outside `full-auto`, terminals and IDEs need approval for that app itself: `1`, `2`, or `7`, or an allow rule whose `pattern` is the exact bundle id. **Allow all apps this session**, `pattern = "*"` or another wildcard, and a whole-tool allow rule do not cover them. Their approval panel does not offer the two all-app options. The saved options write to the user configuration, at `$ORCA_HOME/config.toml` or, when unset, `~/.orca/config.toml`. `7` saves the app's exact bundle id as the rule's `pattern`, and `5` saves `pattern = "*"`: ~~~toml [[permissions.rules]] tool = "computer" pattern = "com.apple.Safari" decision = "allow" ~~~ Text entry into a `[secure]` password field asks separately each time, with only `1` **Allow typing this once** and `4` **Deny**. This applies to `type` and text-entering `key` actions: printable keys alone or with Shift/Option, and `Cmd+V` (also with Shift/Option). Navigation and other non-text shortcuts do not trigger this separate check. App grants, including those for all apps, do not preapprove password entry, and neither does `full-auto`. Patterned allow rules, including exact app ids, wildcards such as `*`, and an explicit `#secure` target, also leave this check in place. Only a whole-tool allow rule for `computer`, without a `pattern`, preapproves it for apps that do not run commands. A matching deny rule still takes precedence; see [permission rules](approval-modes.md#permission-rules). If a point target or a stale observation reveals a password field only during delivery, Orca refuses unapproved input and sends no text. The result instructs the agent to observe again and target the secure field by its element id to request approval on retry. ## App risk levels Keychain Access (`com.apple.keychainaccess`), Passwords (`com.apple.Passwords`), apps whose bundle ids start with `com.1password.`, `com.agilebits.`, or `com.bitwarden.`, and apps declaring the `public.app-category.finance` category are blocked by default. Only an allow rule whose `pattern` exactly equals that app's bundle id lifts this default block; a wildcard or whole-tool allow does not: ~~~toml [[permissions.rules]] tool = "computer" pattern = "com.apple.Passwords" decision = "allow" ~~~ Orca can never operate its own host terminal, regardless of rules; if the host cannot be identified, all listed terminal apps are blocked. Other listed terminals (Terminal, iTerm2, Ghostty, Warp, kitty, Alacritty, WezTerm, cmux) and IDEs (VS Code, apps under `com.todesktop.` or `com.jetbrains.`, Xcode, Zed) warn that they can run commands outside Orca's sandbox. Outside `full-auto`, these apps require their own approval as described above. Finder warns about file access, System Settings about changing settings, and listed browsers (Safari, Chrome, Firefox, Arc, Edge, Brave) about web pages carrying instructions aimed at the agent. The warning appears in the approval panel and in the app's first result in each session, so calls that run without a panel, in `full-auto` or under a rule or grant, still show it. ## Approval modes Plan mode permits only `list_apps` and `observe`; launching, clicking, typing, sending keys, and scrolling are refused. `list_apps` needs no app approval. In `plan`, `suggest`, and `auto-edit`, app calls, `observe` included, ask for app approval unless an applicable rule or grant already allows them. `full-auto` already runs commands on the host, so app calls run there without app approval. Password entry still asks each time, deny and prompt rules still apply, and apps blocked by default stay blocked. ## Observations and screenshots Use element ids from the latest observation when available. If the tree lists omitted elements, use `query` to narrow the results by role, label, or value. A `truncated` observation means the accessibility walk reached its time limit or depth limit, or skipped a stale subtree, and returned a partial tree; a control missing from that tree may still exist. Observe again with `query` or use point targets from the latest screenshot, then inspect the result to confirm the action. Coordinates use screenshot pixels, with the origin at the top left. An app with no content element tree may still list its title-bar buttons; use point targets for its content. Click the `[N image(s) attached]` line under the tool result to preview the screenshot (for example, `[1 image attached]`). Press `q` to close the preview. ## Stop From the first `computer` call until the turn ends, Orca captures `Esc` system-wide. `Esc` interrupts the running turn, including while another app is in the foreground or a screenshot preview is open. ## Background and foreground Orca tries to operate apps in the background. When an action needs the foreground, it briefly switches to the app and then restores the previous foreground app and pointer; the result says when the foreground was used. `launch_app` starts an app or opens a URL/file without requesting activation; an app may still choose to activate itself. A `key` action containing Command always uses this switch, because Command shortcuts sent to a background app do not reach it. To turn off the switch, set this in your user configuration (the default is `true`; project configuration cannot set it): ~~~toml [computer_use] foreground_fallback = false ~~~ Actions that need the foreground, including Command shortcuts, then fail instead of switching apps. ## Disable computer use Add a whole-tool deny rule to your user configuration, without a `pattern`. Orca then leaves `computer` out of the tools available to the model: ~~~toml [[permissions.rules]] tool = "computer" decision = "deny" ~~~ ## Privacy Screenshots can contain private information and are sent to the model provider when using `deepseek-flash` (including the legacy names `deepseek-v4-flash` and `deepseek-v4-flash-vision-exp`) or `auto`. Other model selections receive the accessibility element tree and other text results, with a note in place of the screenshot; tool screenshots are not sent to a separate vision model. ## Not supported yet Dragging and directly setting a field's value are not supported. Computer use is unavailable to subagents, workflow children, ACP clients, and `orca exec`. Recognition of UU Remote's full-screen overlay has been added to allow foreground actions when no other window covers the target app. This path has not yet been tested in an active UU Remote session. Other remote-control apps' overlays may still block foreground actions until the remote session is disconnected.