What Permissions Should an AI Agent Have? A Least-Privilege Guide for Beginners
Published 2026-12-02 by hackerdb Labs. Unofficial; not affiliated with Grok Bot, xAI or SpaceX.
Every connected app, routine and teammate is a permission. Most automation trouble is not clever hacking; it is too much access granted once and forgotten. This guide gives you a simple way to decide what an AI agent may do. It applies to Grok Bot and other assistants with connectors and scheduled tasks.
The idea: least privilege
Least privilege means giving an agent the minimum access needed for the task you can name. If you cannot name the task, do not connect the app yet.
Five permission levels
| Level | The agent can | Example |
|---|---|---|
| 0 Think | Chat only | Brainstorm, rewrite pasted text |
| 1 Read named | Read specific named pages, folders or inboxes | Summarise a folder |
| 2 Write inside | Edit its own pages in your workspace | Update a team board |
| 3 Draft outside | Prepare messages or changes for you to approve | Email drafts |
| 4 Act outside | Send, post, buy, merge or delete without a check | Auto-reply (rarely a good idea) |
Start at level 1. Move up one level at a time, with a written reason.
The approval ladder
For each action pick the lowest rung that works:
- Never.
- A human does it.
- A human approves the exact text.
- The agent acts and notifies you (only for low-risk, reversible actions).
- Silent (avoid).
Irreversible and external actions should sit on rungs 1 to 3.
The blast-radius question
For every agent, ask: if it followed a malicious instruction, what is the worst it could do with its current access, who would be affected, can it be undone, and how would I notice? If the answer worries you, lower the level.
Practical defaults
- Email: read-only, drafts only.
- Calendar: read-only.
- Files: read-only, named folders.
- Code: read-only; humans merge and deploy.
- Browsing: reading only; never log in or submit forms.
- Payments: no access.
- Separate agents for reading untrusted text and for acting.
Review rhythm
Quarterly: list every agent, connector, routine and teammate; remove what is unused; lower anything broader than the current task needs; rehearse how to pause routines and disconnect each connector.
Common mistakes
- Granting broad access "to see what it can do".
- One super-agent with every connector.
- No end dates on routines.
- Letting many teammates edit pages that agents read: those edits are effectively instructions.
Next steps
A fill-in permissions matrix, a 40-check list and safe-automation patterns are in the pack below, with a free sample.
Frequently asked questions
What does least privilege mean for an AI agent?
Give the agent only the access it needs for a named task, and no more: read-only before write, drafts before sending, and no payment or deletion ability unless there is a very specific reason.
Should an AI agent be able to send email on its own?
For most people, no. Let it draft and approve the text yourself. Auto-sending is only suitable for narrow, reversible tasks with caps and a review date.
How often should I review agent permissions?
Quarterly at minimum, and whenever you add a connector, teammate or routine.