Developer docs · 3 of 4

Grants, scopes and revoking

about 6 minutes · beta, checked against the code on 13 November 2026

The lifecycle

Every agent permission at primitive goes through the same stages: request → scope → approval → use → receipt → expiry or revocation. pass and paper share the idea but differ in the detail, so this page covers both.

1. Request

The agent never says who it is in a request. pass and paper take that from the connection you approved.

  • pass: the agent calls pass_use_credential with a grant and a login. It can't ask for new access itself. You give access in pass.
  • paper: the agent calls tools such as find, open and edit, and the connection's scopes decide what's allowed.

2. Scope

passpaper
WhatOne login, or a whole vaultKinds: documents, sheets, slides, forms, sites
ActionUse onlyRead, or read and edit. Never move items to the bin.
How long1 hour to 30 days per grant1, 7 or 30 days per connection
How oftenMax uses (one is allowed)No limit within the time
ExtrasPurpose, spend caps, allowed sitesForm responses, off by default

In pass, a passport sets each login to Allowed, Ask or Never. That's separate from a grant's time and use limits. When pass hands an agent's work to a sub-agent, the sub-agent can only get less: at most three levels deep, an hour and one use by default.

3. Approval

  • pass: agents need your approval for every use, even on an Allowed grant. Each approval is tied to one grant, one run and one purpose, and is used once. The request lapses after 10 minutes.
  • paper: edits that add or change content save straight away and can be undone. Deleting, rewriting a whole document and undoing wait for you, for up to 10 minutes.

4. Use

In pass the check happens twice: the server checks the grant, its revision, the use count and caps in one step, and the extension checks the tab, the site match and the lock in your browser. If anything doesn't match, it stops before the password is touched, and the refusal gets a receipt too.

In paper every edit names the version it read, so a stale edit is refused rather than written over someone else's work.

5. Receipt

pass receipts are signed and chained, and you can export them. paper records each agent action with before-and-after versions on our server. A screen for browsing them is still to come.

6. Expiry and revocation

Grants end on their own when time or uses run out. You can end them sooner:

  • pass: one grant, one agent or Stop all agents. Every use checks live state, so revocation applies to the very next use.
  • paper: Disconnect in Connected AI ends the connection and every token at once.

Nothing can undo what already happened: a filled login stays filled, and a saved edit stays saved.

← Let an agent use a pass loginRun the process yourself →