← THE BREW / AI AGENTS

Give an AI agent the smallest useful set of permissions

Tech Tuesday 22 · Series date: June 2, 2026

Original 6tea Studio illustration for Give an AI agent the smallest useful set of permissions: A shield, key, and access gates representing controlled permissions.

THE SHORT ANSWER

Define access around the agent’s specific job. Separate reading, preparing, and executing actions, and enforce permissions in the application rather than relying only on written instructions.

Start with the work it must perform

An agent that summarizes project updates does not automatically need permission to delete projects or invite users. List the required operations before choosing a connection method.

For each operation, identify the records and fields it needs. Broad administrator access may simplify a demo but create an unnecessarily wide operating boundary.

Separate capability from authorization

A tool may technically support many actions while a particular agent should use only a few. The application must check whether a requested action is allowed for the current user and workflow.

OWASP’s LLM guidance identifies prompt injection as a risk. This is one reason that a sentence telling a model to behave safely should not be the only boundary around powerful tools. Our practical recommendation is to combine narrow permissions with checks outside the model.

Review high-impact transitions

Preparing an email and sending it are different actions. Reading a customer record and merging it with another record are different actions. Make those transitions explicit.

In an illustrative assistant, the model can draft a proposed record update while a reviewer confirms the target and changed values. The execution layer should validate the approved operation before committing it.

Revisit access as the system changes

Remove permissions that are no longer needed and document who can change the agent’s scope. When adding a new tool, rerun tests for unauthorized requests and incorrect targets. The goal is a useful assistant whose authority remains understandable to the people responsible for it.

Sources and further reading

Turn the idea into a scoped project.

Explore the related 6tea Studio service ↗

Create your project brief ↗