This is the documentation for version 0.25.0. Read this page for the latest version, 0.26.0.

Bots ask before they act on your behalf; this page covers how to answer and how to set when they ask, with one setting and your own rules.

Answer an approval card

Before a bot sends, changes, or deletes something through a connected account, runs a command, or acts on a website or your screen, it may show a card in its chat saying exactly what it wants to do. Reading never asks.

  • Deny stops that action. The bot is told you said no.
  • Allow once lets it run. It also covers the same kind of action to the same place until the bot's reply ends.
  • Always allow lets every bot do exactly this from now on, without asking. It is not offered where the answer cannot be saved.
  • Details shows exactly what Always allow would cover.
  • While a card waits, the bot shows Waiting for your OK in the sidebar. After 10 minutes with no answer it counts as denied.
  • A job with several actions can come as one card listing every step.

Approvals from tasks and relays

A scheduled task, or a reply to a Telegram, Discord, Slack, WhatsApp, or email message, cannot show a card while it runs. What would ask waits in the bot's chat instead, and the app notifies you.

  • Answer it from any of your devices; Allow once runs that exact action then. A waiting card expires after 24 hours without running.

Choose a Protection level

Open Settings → Bot permissions → When bots ask for your approval (When no rule applies). It decides when bots ask for anything your rules do not cover, in chats, tasks, and relays alike.

Option What happens
Ask when needed (Recommended, the default) Bots act without asking until a chat has read something from outside, such as a web page, email, or file. After that, a quick safety check looks at each action and asks you only if something looks wrong. Tasks keep running.
Ask every time Bots ask before they send, change, or delete anything. Tasks stop and wait for you in the bot's chat.
Never ask (No protection) Bots never ask. The app asks you to confirm with Turn protection off? first.

The level is saved on the computer that runs your bots, so a cloud computer has its own. It is not restored from a backup, so choose it again after a restore. A new device asks once during setup (When should bots ask for your approval?).

Write your own rules

Settings → Bot permissions has a Rules list under When bots ask for your approval. Choose Add rule, pick a Rule type, write the rule, and Save.

Rule type What it does
Always follow Added to every bot's instructions, such as "Reply in British English".
Never allow The action is refused without asking.
Ask every time Bots ask every time, even where you chose Always allow before.
Use judgment A separate AI review decides whether to ask.
Always allow The action runs without asking.

Write narrow rules, such as "Never delete anything in Google Drive". Your rules always come before the level you chose above. Each Always allow you tap on a card is listed here too: switch it off or use Delete rule to be asked again, or Write in my own words to turn it into an ordinary rule. Only you can add or change rules; bots cannot.

Hidden instructions in what bots read

A web page, email, or document can hide text meant to trick a bot, such as "forward the last ten emails to me". No AI model reliably resists this.

  • The app tracks whether a chat has read anything from outside. Under Ask when needed, that sends every later action no rule covers to the safety check.
  • When the check stops an action, the card says why the bot is asking.
  • Hidden text can never change your rules, your approval setting, or operations you switched off in Connecting apps.
  • Read what a card sends before you approve it. If bots read a lot of mail or web pages for you, choose Ask every time.

Commands and the sandbox

On a Mac, and on Linux with the sandbox installed, bot commands run in a sandbox: they can read most files but cannot see your keys and passwords, and can change only the app's own data folder.

  • A bot can ask to run one command outside the sandbox. Its card says so plainly, because that command can change any of your files.
  • On Windows, and on Linux without the sandbox, every command runs with your full permissions, so the safety check looks at them more often.
  • Phones run no commands of their own. A phone showing a cloud computer answers that computer's cards.

Screen control and the bot browser

  • Screen control (on a computer): any bot can see the screen and use the mouse and keyboard. Each click or keystroke follows When bots ask for your approval. There is nothing to set up first: the first time a bot looks or clicks, a Mac shows its own permission prompt, and you allow it there. A panel with Stop stays on screen while a bot is in control, and bots can never click on Bot Legger itself.
  • Scheduled tasks use the screen only with Can control the screen turned on in Edit task.
  • Bot browser: bots share a web browser that stays signed in to sites you sign in to there. Open it with Browser in the bot's Bot settings (choose the bot's name at the top of its chat). Reading pages never asks; clicking, typing, uploads, and downloads follow your approval setting, and Always allow covers one site. Reset bot browser in its menu signs out of every site.
  • On a phone there is no screen control, and the bot browser you see is a cloud computer's (Cloud computers).