PatternsPermission
AX-08
Scoped grants
Give the agent permissions that expire: by time, budget, tool and data.
Scenario: Supplier payments. Agent: Wren, working for Halden, a fictional company.
“Pay the three approved supplier invoices.”
Without the pattern same agent, no safeguard
IdleRequest to Wren
Pay the three approved supplier invoices.
Approved invoices: Atlas Print €840, Pinewood €1,120, Brightline €690.
Press Run scenario to start both panes at once.
With AX-08 Scoped grants
IdleRequest to Wren
Pay the three approved supplier invoices.
Approved invoices: Atlas Print €840, Pinewood €1,120, Brightline €690.
Press Run scenario to start both panes at once.
Problem
Agents get broad, permanent access because it’s easier to set up once. A task that needed to read one folder then runs with write access to everything, forever.
Solution
Grant permissions per task or per period, like a hotel key card: which tools, which data, how much money, until when. Show active grants on the task and let them expire on their own. Asking for more is a visible request, never a silent retry.
Forces
- Narrow grants mean more escalation requests. Suggest the right scope up front.
Anatomy
Numbers match the markers in the simulation. Turn on “Show anatomy”, then run it.
- Grant card: tool, scope, limit, expiry
- Usage meter: how much of the limit is spent
- Escalation request: what, why and for how long
- Revoke: one click, immediate
Microcopy
Grant
Do“Write access to Billing, €500 limit, until 18:00 today.”
Don’t“Full access granted.”
Prevents
Mode confusion. Someone switched on “auto-approve” last month. Nobody remembers, and the agent is now emailing customers without review.
Behaviour by autonomy level
| Level | What happens |
|---|---|
| L0 Suggest | The agent lists the payments and the access it would need. |
| L1 Draft | It prepares the payments under a draft grant; you approve and pay. |
| L2 Ask | You approve the grant before it starts; anything outside it asks. |
| L3 Act and notify | The grant is created for the task; anything outside it asks. |
| L4 Act within bounds | Same as L3, and grants expire on their own when the task ends. |
Metrics to instrument
| Metric | What it tells you |
|---|---|
| Scopes per task | Should fall over time. |
| Escalation approval rate | Low means the agent asks for things it shouldn’t need. |
When not to use it
- Personal sandboxes where nothing leaves the agent’s own workspace.