Computer Use

For tasks that leave the terminal: DCode sees the screen and works real apps.

On this page

Some tasks leave the terminal. With Computer Use, DCode sees your screen and works the apps on it: it clicks, types and reads what is really there. It runs in the desktop app on Windows, and on macOS 12 or later.

What it is for

  • Testing a change to an app by using the app, not only by reading its code.
  • Tools with no API or command line: internal dashboards, desktop software, older systems.
  • Repetitive work in an app that you would rather describe once than click through again.

When a task does not need the screen, plain work in the project is faster. For web pages, DCode has its own browser (Browser and Passwords).

Turn it on

Computer Use is on when you install DCode. To check or change it, open Settings, Computer Use:

  • Enable Computer Use turns on Computer Use with its tools and skills. After you turn it off, restart DCode for conversations already open.
  • Show Computer Use button in the composer puts a Computer Use button beside the message box. It is off at first.

Then describe the task in the chat, for example "open the settings window of the app and check that the dark theme applies".

The two macOS permissions

On a Mac, Computer Use needs two permissions in System Settings:

  • Accessibility, so DCode can click and type in apps for you.
  • Screen Recording, so DCode can see what is on screen.

The first-run tour asks for them, and you can give them later. If a task needs them first, DCode asks Computer Use needs macOS permissions; choose Authorize and follow the guide. If the permissions are given but Computer Use still does not work, use Restart Helper, then Restart DCode.

What needs your yes

Whether DCode asks before it works the screen depends on the permission mode (Permission modes). When it asks, the card offers:

  • Allow: go ahead this time.
  • Always allow Computer Use in this project: do not ask again for Computer Use in this project.
  • Deny: DCode does not do it.

Watch what DCode does, and stop the task when you would not do a step yourself. Passwords, banking and anything you would not hand to a colleague are better done by hand.

Crews and the screen

When a crew works, only one agent uses the screen at a time. The others wait their turn, and their cards say Waiting for the screen (Crew).

Where it is not available

  • Linux desktops. Use a local Windows or macOS workspace.
  • Remote workspaces over SSH, WSL, Docker and the like.
  • macOS older than 12. DCode says Computer Use requires macOS 12 or later; update macOS first.