AI agent permissions and authorisation, decided per action
A scope says what an agent may touch. It can't tell a £6 refund from a £6,000 one. ClearedBy decides authorisation per action against your policy, and the agent only gets a credential once the action is cleared.
The problem
Agent permissions are usually one static grant. An OAuth scope or API key that says "this agent can issue refunds" or "this agent can deploy". The token has no idea whether the refund is £6 or £6,000, whether the deploy targets a docs site or payments-api in prod, whether the reply is a thank-you or a response to a legal threat. Once it's handed over, every action inside that scope is pre-authorised. Your only knobs are grant it or revoke it.
That binary is the problem. Standing access fires the instant the model decides to use it, and you find out afterwards. What you actually want is authorisation judged per action, against the real parameters — amount, target, channel, blast radius — with the consequential few routed to a named person. Scopes can't do that. And an approval check written into the agent's own code is skippable the moment the agent, or a prompt injection riding it, decides to skip it.
How ClearedBy handles it
-
01
The agent asks before it acts
Rather than carrying a broad token, the agent calls request_clearance with the actual action and its parameters: refund.create for £842 on order #1180, or code.deploy to payments-api in prod. The call blocks until there's a verdict. You can also wrap any function with guard() so the gate sits inline.
-
02
Policy clears the routine, holds the rest
Actions that sit inside your rules clear in milliseconds. Anything that crosses a line — over a threshold, a sensitive target, a pattern that looks off — gets held for a named reviewer instead of being waved through on scope alone.
-
03
A person decides what scope can't
Held actions land in a fast queue, in Slack, or on a phone, where someone clears, rejects, or sends back. The agent receives a short-lived, action-scoped credential only after a clear. Nothing is pre-issued and sitting around, so there's no standing token to leak or misuse.
-
04
Every verdict is sealed to a name
Auto-cleared, cleared, or rejected, each decision is written into a tamper-evident, hash-linked record bound to the human who signed it with a passkey. Months later you can show exactly who authorised payout.send and on what basis.
code.deploy · service: payments-api · env: prod · deploy-bot → held: scope permits deploy, but prod payments needs sign-off · routed to A. Okafor → credential issued on clear
FAQ
How is this different from OAuth scopes or API key permissions?
A scope is a static grant: once given, every action inside it is pre-authorised whatever the amount, target, or context. ClearedBy judges each action against its real parameters at call time and holds the consequential ones for a human before any credential exists.
Do I have to rip out my existing permission system?
No. ClearedBy sits in front of it. Keep your scopes and keys for what an agent is allowed to touch; ClearedBy decides whether this specific call should go through, adding a per-action human gate on the slice that matters.
What actually stops the agent acting without authorisation?
The credential is only minted after a clear, and it's short-lived and scoped to that one action. There's nothing standing for the agent to reuse, so a misbehaving agent or a prompt injection has no token to grab.
Can different agents and action types carry different authority?
Yes. Your policy is set per action type and context, so an agent might clear small refunds on its own but always need sign-off for payout.send or a prod deploy. Authority lives in the policy, not in one blanket scope.
Can I prove who authorised a given action later?
Every verdict is sealed into a hash-linked record tied to the person who signed it via passkey. Each authorisation is attributable and ready for an audit, with no editing after the fact.
Related use cases
Let your agents run. Inside the rules you set.
A scope says what an agent may touch. It can't tell a £6 refund from a £6,000 one. ClearedBy decides authorisation per action against your policy, and the agent only gets a credential once the action is cleared.