Safety and permissions
Bots act for you, so every safeguard starts from one rule: a bot never has more than you do. On top of that, you decide what it may do without asking, which data it may send out, and who can read its messages.
Who a bot is
Section titled “Who a bot is”Each bot has its own identity. Everything it does is recorded under its name, and wherever it appears, its avatar carries your picture in a corner so everyone can see whose bot it is. Its usage is billed to you.
A bot isn’t a user account: it has no password, no roles of its own and never shows up in user lists. When you delete a bot, past messages and records still show who did what.
What a bot may do in an app
Section titled “What a bot may do in an app”In each app, a bot works with your current role. Lose access to an app and your bots lose it too. For each app you attach, you can narrow the bot further:
- Read only: look at files, tables, boards and events.
- Read + call events: the same, plus calling the app’s events.
- Full (your role): everything your role allows.
- Custom: pick from 21 permissions, limit files to folders or make them read-only, and allow only certain tables, boards or events.
These restrictions apply in every chat, your own included. In a room, the room limits narrow them again.
Your role ∩ the bot's limits ∩ the room's limits
A bot never gets more than you have. Tick what your role allows, then narrow it for the bot and the room.
| Permission | Your role | Bot | Room | Result |
|---|---|---|---|---|
| Look at files | Allowed | Allowed | Allowed | |
| Add and change files | Not allowed | Not allowed | Not allowed | |
| Look at tables | Allowed | Allowed | Allowed | |
| Add and change table rows | Not allowed | Not allowed | Not allowed | |
| Look at boards | Allowed | Allowed | Allowed | |
| Run boards | Not allowed | Not allowed | Not allowed | |
| Edit boards | Not allowed | Not allowed | Not allowed | |
| Look at events | Allowed | Allowed | Allowed | |
| Call events | Allowed | Not allowed | Not allowed | |
| Edit events | Not allowed | Not allowed | Not allowed |
“Full (your role)” passes your role through unchanged. Some rights are never given to a bot, whatever your role: owner and admin rights, reading roles, editing the app's details, settings or routes, and reading analytics.
Apps that don’t allow bots
Section titled “Apps that don’t allow bots”An app’s owner can keep every bot out: turn off Allow bots in the app’s settings, next to visibility and forking. From the next request on, every bot is refused there, including bots already attached to the app and bots that reach it through their owner’s profile. The bot gets the reason as a sentence it can pass on (“The app ‘CRM’ does not allow bots; ask its owner”), and the bot editor marks such apps so you can’t attach them. Members keep their own access. Turn the switch back on and bots work there again with the rights they had.
On the server this is checked on every request a bot makes. For bots running in the desktop app, the desktop applies the setting it synced with the app (for an app that lives only on your computer, the setting you chose there); a credential the server already handed a bot stays valid until it expires.
Approvals
Section titled “Approvals”Tools with consequences stop and ask before they run: sending mail to a new domain, calling a new website, running a program on the command line, opening a site in the browser, taking the screen, messaging a person, running a skill’s code and changing the bot’s own settings. Each ability on the Capabilities page says when it asks.
You answer with:
- Allow once: this exact call runs; the next one asks again.
- Always allow: calls of the same kind run from now on. The approval is narrow on purpose: allowing reads from one site doesn’t allow writing to it or reading another site, and allowing
gitdoesn’t allow any other program. - Deny: the call is refused and the bot is told not to retry it.
Answer an approval card
Pick what the bot wants to do, then answer the card.
Scout wants to read news.example.com/feed.xml
web_requestAlways allow stores web:news.example.com:read.
While you're in the chat, the card appears right in the conversation and the bot waits for your answer.
Review and revoke standing approvals in the bot’s details under Allowed actions. Cards waiting for you collect under Needs you and arrive as push notifications.
Some actions always ask. A bot changing its own settings, Flux creating, changing or deleting one of your bots, a bot asking you for a secret or inviting someone into a room can’t be allowed for good, and Auto mode never approves them. Deleting a table, dropping a knowledge index and deleting files are never approved by inference.
Auto mode. In a chat you’re watching, Auto mode runs tools and applies changes without asking each time, except for the actions above. Use it when you’ll review the result afterwards.
After reading the web. A web page can contain instructions meant for the bot. So once a turn has read web pages, calls that reach a website ask again, even when you always allow them and even in Auto mode or with Approve automatically: writing to a site, sending a secret, reaching a private network and opening a site in the browser. Reading from a site you always allow still runs without asking. For a site you haven’t allowed yet, choose Always allow on the card and later turns read from it without asking.
Background turns. When a schedule, webhook or mail wakes the bot and nobody is watching, the bot’s decision model checks whether your own messages or the bot’s instructions clearly cover the exact call. A yes runs that one call and is never saved as an approval. Content from the trigger itself, such as the text of a mail, never counts as permission. Otherwise the turn pauses until you answer, for up to 7 days.
Data labels
Section titled “Data labels”Every bot carries a label for the most sensitive data it may handle: Public, Internal, Confidential or Restricted, plus whether it handles personal data. Files, tables and other resources can carry the same labels.
The label shapes the bot’s instructions, and it is enforced where data could leave:
- During a turn, the bot tracks the most sensitive label among everything it read, sub-tasks included.
- Once that is above the bot’s own level, the tools that send data out refuse for the rest of the turn: sending and replying to mail, web requests, calls to connected services, and image generation.
- A bot labelled above Internal can’t send prompts to an external image model at all.
- Files and results it creates keep the highest label of what they were made from.
Can this leave the bot?
Once a turn has read data labelled above the bot's own level, the tools that send data out refuse for the rest of that turn.
Data without a label counts as public. Sub-tasks count toward the same turn. The personal-data flag is shown to the model but doesn't block tools.
Secrets
Section titled “Secrets”Bots often need API keys or passwords. Secrets are built so that people can write them but nobody can read them back, and the model never sees them:
- Add secrets in the editor’s Secrets step, or answer a bot’s request with the masked field on its approval card.
- The bot refers to a secret as
{{secret:NAME}}. Its host swaps in the value at the moment of use, for example in a web request header, a command or a browser form. - Secret values are encrypted with a key unique to the bot. Only the bot itself can read a value, and only during a running turn. Every read is logged.
- Values that show up in command, browser or screen output are scrubbed, including URL-encoded and base64 forms.
- Web requests send secrets over https only, and each secret is approved per site.
A bot holds up to 50 secrets of up to 16 KB each. Bots that live only on your computer keep their secrets encrypted with a key in your system keychain.
End-to-end encryption
Section titled “End-to-end encryption”Bots on the desktop app or a device can switch on End-to-end encryption. Your 1:1 chat with the bot then becomes end-to-end encrypted. The bot’s host and each app you’re signed in to (desktop, phone or browser) hold their own private key. Every message is sealed for each of those keys, so the server stores it but can’t read it. The bot’s details show its key fingerprint and let you rotate the key.
- An app can read the messages sealed after it first opened your chats while signed in. Older messages show as Encrypted message there.
- Switching encryption off makes new messages readable to the server again. Messages that are already encrypted stay encrypted.
Because the server can’t read encrypted conversations:
- Cloud bots can’t hold the ability or answer in encrypted conversations.
- Encrypted chats have no file attachments, and encrypted rooms have no invite links and no room memory.
- Calls in an encrypted chat need a speech-to-text model installed on your device. Hosted speech models run behind the server, so an app without its own model shows no call there, and bots speak only with a voice installed on the device. What is said is sealed like a message. The server only learns that a call started and ended, so it can ring the others.
- Secrets sealed for a bot’s host can’t be used by turns that run in the cloud.
A bot that answers with a hosted model sends each turn through the server to that model, so the model’s provider reads what the bot sends it. Bots on a device always use hosted models. Encryption keeps their chats unreadable in the server’s storage and inbox, not from the model.
Limits that keep costs in check
Section titled “Limits that keep costs in check”| Limit | Default |
|---|---|
| Turns a non-owner can start per bot | 20 a day |
| Turns bots start for each other | daily cap by plan |
| Outgoing mail | 500 recipients per bot, 2,000 per account a day |
| Incoming mail | 200 per bot a day |
| Webhook calls | 30 a minute per webhook |
| Generated images | 50 per bot a day |
The Usage & limits view shows each bot’s AI cost, calls and runtime against monthly limits, overall and per room. Lower them any time; limits set by your organization apply on top.
Read a reply’s model usage
Section titled “Read a reply’s model usage”Select the usage badge below a reply to inspect its model calls. Prompt cache shows input tokens read from the provider’s cache and tokens written for later reuse. Cached tokens are already included in input usage. The percentage covers calls with reported cache counts; missing measurements stay marked Not reported.
Context window shows the latest request’s input size and the room reserved for output. It uses the provider’s input count when available and labels estimates. Compaction shows when the bot summarized earlier context, its estimated size before and after, and how long the work took. Summary and memory model calls are included in reported usage. Background memory work appears with the next reply after it finishes.
For hosted calls, Cost and token details in your account’s usage view also shows the provider’s cache counts alongside the operation’s costs. A cache write prepares content for reuse; it does not by itself establish a saving.