# Set guardrails before an AI agent gets access

> Researched. Small business · Beginner · Operations. Updated 2026-11-02.

Canonical page: https://www.aisetupsthatwork.com/setups/set-guardrails-before-giving-an-ai-agent-access/

## What it does
Write a one-page rulebook for an AI agent before it touches your accounts: what it can read, what it can only draft, what always needs your approval, and what it must never do.

## Who it's for
Owners who want an AI agent on their inbox, calendar, store or files but are nervous about letting it loose. No coding needed.

## Tools
- ChatGPT or Claude to draft the rulebook
- The agent or assistant you plan to connect
- A note or doc where the rulebook lives

## Steps
1. List every account the agent would touch: email, calendar, files, store, bank, social. Next to each, write the worst thing it could do there.
2. Sort every action into four buckets: read, draft for you, do after your approval, never. Sending, paying, deleting and changing settings start in the approval or never bucket.
3. OpenAI says ChatGPT agent, once signed into sites or apps, can access sensitive data like emails, files or account settings and perform actions. Treat every connection as access to that whole account.
4. Give the agent the narrowest access the tool offers. Anthropic says its Google Workspace connectors ask for approval before sending, replying or forwarding by default; keep that default on.
5. Use the prompt below to turn your buckets into a short rulebook, then paste it into the agent's instructions or project.
6. Test it on a harmless task and ask the agent to repeat back what it is not allowed to do.
7. Once a week, read what the agent did and move any action that surprised you one bucket stricter.

## Copy-paste prompt
Adapt bracketed fields to your situation.
```text
Turn my notes into a one-page rulebook for an AI agent that helps run my business. Use only what I list.

Accounts it will touch: [EMAIL, CALENDAR, FILES, STORE...]
Read only: [WHAT IT MAY READ]
Draft for me to review: [WHAT IT MAY DRAFT]
Only after I approve: [E.G. SEND, BOOK, REFUND]
Never: [E.G. DELETE, PAY, CHANGE PASSWORDS, POST PUBLICLY]

Format:
- 4 short sections with those headings
- A final rule: if a task is not covered, stop and ask me
- Plain sentences, under 250 words

Do not add permissions I did not list.
```

## Guardrails
- What it touches: Chat input you provide (ChatGPT or Claude to draft the rulebook; The agent or assistant you plan to connect).
- Needs your OK: Send, pay, publish, and account changes stay with you. Treat agent output as drafts first.
- Safety level: Read-only
- Connecting the agent to an account with more power than the job needs, like a shared admin login.
- Writing rules the agent never sees because they live in a doc it is not given.
- Forgetting to check the agent's actions after the first week.

## Tips
- Start strict and loosen later. Moving an action from approval to allowed is easy; undoing a sent email is not.
- Keep the rulebook where the agent reads it every time, such as its project instructions.
- Use a separate account for the agent where the tool allows it, so its access is easy to see and revoke.

## Estimates (labeled, not measured)
- Time saved: About 30 minutes once, before you connect anything.
- Money saved: Not stated in sources.
- Tool cost: Free tiers can run the checklist. Connecting an agent to your accounts may need a paid plan; prices: Not stated in sources.

## Sources
Summaries use the public sources below, not independent verification.
- OpenAI: https://help.openai.com/en/articles/11752874-chatgpt-agent (ChatGPT agent: when signed into sites or apps it can access sensitive data like emails, files or account settings and perform actions (read 2026-11-02 from the official help page via search))
- Anthropic: https://support.claude.com/en/articles/10166901-use-google-workspace-connectors (Use Google Workspace connectors: Gmail drafting, approval before send, reply or forward by default (read 2026-10-31 through a page fetch tool, not a direct browser open))
- OpenAI: https://help.openai.com/en/articles/11487775-connected-apps-in-chatgpt (Connected apps in ChatGPT: connect apps from settings; availability depends on app, plan, region, workspace and role (read 2026-10-31 through a page fetch tool, not a direct browser open))

## Get the free starter pack
Five beginner copy-paste AI setups, free by email: https://www.aisetupsthatwork.com/starter-pack/?utm_source=ai-agent&utm_medium=markdown&utm_campaign=setup-set-guardrails-before-giving-an-ai-agent-access

Related:
- [Make your AI agent stop for approval](https://www.aisetupsthatwork.com/setups/make-your-ai-agent-stop-for-approval-before-it-sends/index.md)
- [Give each AI agent its own email](https://www.aisetupsthatwork.com/setups/give-each-ai-agent-its-own-mailbox/index.md)
- [Grok Bot shared-computer security audit](https://www.aisetupsthatwork.com/setups/grok-bot-shared-computer-security-audit/index.md)
