Guide
Credentials and permissions
Scope credentials per agent with service accounts, PATs, and API scopes, then set permissions per tool.
updated Nov 25, 2026
Trust is easier to check than to promise. Two settings carry all of it: what an agent can reach (credentials) and what it can do (permissions). Both are set per agent, and both are visible any time.
Credentials: scope per agent
Credentials never come from your personal login. For each platform, create a dedicated credential and hand it to exactly one agent:
- Service accounts, when the platform supports them
- Personal access tokens (PATs) for developer tools
- API scopes, narrowed to the least the job needs
A mail agent that reads and drafts does not need send. A web watcher needs no account at all. If a credential is ever wrong, you know which agent used it, and you rotate one credential instead of your whole account.
Secrets are encrypted and scoped to your organization. Agents use credentials; you read them back as scope lines like mail: read, draft.
Permissions: a checkbox per tool
Every tool an agent could call is a checkbox:
-
mail.read -
mail.draft -
calendar.read -
mail.send -
mail.delete
Checked is allowed, unchecked is blocked. Start with reads checked and writes off. Allow a write when a task proves it needs one. Keep destructive tools unchecked until you explicitly allow them; an unchecked tool is one the agent cannot call, no matter what its instructions say.
Check the log
Permissions are the boundary, and the log is the receipt. Every action an agent takes lands in a log you can read, so “what did it touch” is always answerable.