# The bot's computer

Every bot has a real computer with a browser, a terminal, files and a desktop, so it can do work
that needs more than a chat.

## Watch it work

On web and desktop, select the bot's name at the top of its chat and find **Computer** in the bot
panel. The preview shows the running screen beside the chat. Choose **Open** on the preview for a
full-window view, or **Wake** if the computer is asleep. The computer also starts when the bot needs
it and goes to sleep when idle. In the full-window view, choose **Save screenshot** to download a
picture of what the screen shows right now, such as a code or an error you want to keep.

On mobile, tap the bot's name at the top of its chat to open its profile, then tap **Computer**.

## Take control

Choose **Take control** to use the screen yourself, for example to sign in to a site. The header
shows **You have control** until you choose **Release control** (**Release** on mobile).

When the bot hits something only you can do, such as a CAPTCHA or a code texted to your phone, it
asks you to take over. The header shows **Needs you**. Do the step, then choose **I’m done**, or
**Skip** to let the bot carry on without it.

> [!TIP]
> Want the bot to sign in by itself next time? Ask it to save the login. See
> [Reusable credentials](/docs/bot-secrets/).

## Team or Private

In the bot's settings under **Advanced**, **Computer** is **Team** or **Private**.

- **Team** (the default): bots in the [space](/docs/spaces/) share one Team Computer, with the same
  files and installed tools. Each bot gets its own screen and browser, and sites you sign in to are
  carried over to the other bots.
- **Private**: the bot gets a computer of its own. Use it when files or sign-ins must not be shared
  with other bots.

## Files

Bots save their work on the computer and send you the results as files in the chat. Every file a bot
has sent is also under **Artifacts** in the account menu.

To have a bot react to files changing, use a [routine](/docs/routines/) that watches a folder.

## Fix a computer

On web and desktop, open the bot's computer. If the screen cannot connect, try **Retry screen**.
If a repair is available, its button appears with the error.

On mobile, open the bot's profile and choose **Edit**, then **Advanced**. A repair action appears
when the computer is in an error state.

- **Recover computer** rebuilds the computer and restores the last saved workspace. Unsaved work may be lost.
- **Reset computer** restores the last saved workspace. Unsaved work is lost.

## Use your own computer

In the desktop app, bots can also run commands and use apps on the computer the
app is installed on. Turn on **Let bots use this computer** in **Settings → Computers** under
**Your devices**. This works with Debot Cloud, an HTTPS server you connect to, and a
loopback server.
Using apps on screen works on Mac and Windows; on a Mac, allow Debot under **Accessibility** and
**Screen Recording** in System Settings.

In every [approval mode](/docs/approvals/), a bot asks before it first uses each app in a space, and
on a connected server before its first command there too, unless a Block rule refuses it. **Allow
in this space** covers the rest of that space, in any chat. Bots use your apps only in chats you
start with your own bots, never from routines or other people's messages.

> [!WARNING]
> A bot with access to your computer can read your files and run programs as you. Only turn it on
> for a computer you would let your bots use unattended.
