WORKING MACHINES GUIDE

AI agent permissions: what to allow, block and ask about

PUBLISHED DECEMBER 3, 2026 / REVIEWED DECEMBER 3, 2026

Give each AI agent the narrowest set of actions and accounts its job needs, enforce that set where actions are executed, and ask a person before the few actions that are hard to undo. In Working Machines that means an API key with its own access lists, apps marked read only, a list of domains agents may send to, and rules that hold sending, deleting and access changes for approval.

01

Start from the job, not the app

Connecting an app gives an agent everything that connection can do. Most jobs need far less. Write down what the agent does in a normal week: which records it reads, which it changes, and whom it contacts. That list is the permission set; everything else should be refused.

Separate reading from changing early. A research agent that only reads can be given whole apps. An agent that changes records needs named actions. An agent that contacts people needs a limit on whom it can reach.

  • List what the agent reads, changes and sends
  • Treat everything not on the list as refused
  • Give each agent its own key, so its limits and its record are its own
02

Narrow each key to its actions and accounts

A Working Machines API key has three lists: the actions it may use, the actions it may never use, and the connections it may use. An entry is one action, such as outlook.send_email, or a whole app, such as outlook.*. The owner edits the lists on the API Key page of the dashboard.

A call outside the lists is refused before anything reaches the app. An action outside the allowed list is answered action_not_allowed, an action on the blocked list is answered action_blocked, and a connection that is not allowed is answered connection_not_allowed. Deleting a key deletes its lists with it.

  • Allowed actions: what this key may run
  • Blocked actions: what it may never run, even inside an allowed app
  • Allowed connections: which accounts it may act as
03

Make apps read only

Some apps should never be changed by an agent: the finance system, the identity directory, the production database. Marking an app read only lets agents search and read it and refuses every change.

A refused change is answered read_only_app, and nothing reaches the app. The setting is part of the account's rules, so every key and sign-in follows it, including a key created later. A key you give rules of its own follows those rules instead, so list the read-only apps there too.

  • Reading and searching keep working
  • Every change is refused with read_only_app
  • Every key follows it, unless it has rules of its own
04

Limit whom an agent can reach

An agent that can send email can send it anywhere. A list of allowed domains limits its emails, calendar invites and shared files to people you chose. A listed domain covers its sub-domains, and the rule counts everyone a message would reach, including people the agent did not name, such as the sender of the message it answers.

A call that would reach anyone else is refused with recipient_not_allowed. A link that anyone can open is refused too. Messages to Teams or Slack channels are not checked by this rule, so limit those with the key's action lists.

  • Covers email, invites, shared files and links
  • Refused with recipient_not_allowed
  • Does not cover Teams or Slack channel messages
05

Keep sensitive values out of results

Permission to read a record is permission to read all of it, including the bank account number in a note field. Hiding replaces sensitive values in a result before the agent sees it: bank account numbers, card numbers, passwords and keys, phone numbers and email addresses, plus any fields you name.

This is a safety net, not a guarantee. It works on the text a result returns. File contents are not checked, and some uncommon formats are not recognised. Use it to reduce what leaks by accident, not as the reason to connect data an agent should not see.

  • The agent gets a marker, never the value
  • The log records how many values were hidden, not the values
  • File contents are not checked
06

Check what your limits would do before they apply

A permission set written at a desk is usually wrong in both directions. Record only mode runs every call as before and records what the rules would have refused or held. Read the Runs page after a day of real work, widen what blocked legitimate work, and tighten what nobody needed.

When the record looks right, switch to Enforce. Each call then logs its outcome: allowed, refused, held or approved, with the name of the key that made it.

  • Record only first
  • Adjust the lists from what really happened
  • Enforce when refusals in the record are the ones you want

Primary references

The protocol and security guidance in this article is grounded in the following primary documentation.

APPLY THIS GUIDE

Connect the agent you already use.

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS