Concept / intent

Require human approval before an AI agent acts

Put a person's yes in front of the actions that carry real consequences, and let everything else run. You start in shadow mode with nothing blocked, see what your agent would have done, then switch the gate on.

request_clearancecb.guard({ action }, fn)refund.createcontent.publishcode.deploy
request_clearance policy v12 cleared sealed to record

The problem

Most teams pick one of two bad defaults. Either the agent runs flat out and you hope the one refund.create in a hundred that's wrong never lands, or you take its hands off anything that matters and it stops being worth the tooling. The thing you actually want sits between them: require human approval before an AI agent acts on the consequential calls, and only those.

The reason people don't build that step is they've seen the lazy version. A blanket "confirm everything" prompt buries a reviewer in twelve pings an hour, the agent stalls waiting on each one, and someone quietly turns it off by Friday. So the bar is higher than "add an approval". You need the routine to clear untouched, the rare payout.send or code.deploy to wait for a named person, and proof the line sits in the right place before anything is ever held.

How ClearedBy handles it

  1. 01

    The agent asks first, and waits

    Wrap the action it shouldn't take alone. Drop in the request_clearance MCP tool, or put guard() around the function. The call carries what the agent wants to do plus its context, and it blocks until a verdict comes back.

  2. 02

    Run it in shadow mode before you block a thing

    Switch it on with no card and nothing held. Every action gets scored against your draft policy and recorded, so you can read off exactly which would have cleared and which would have waited for a person. Tune the rules against real traffic, not guesses.

  3. 03

    Go live, and the split happens in milliseconds

    Routine actions clear instantly. The consequential few stop and route to the person you named, who clears, rejects, or sends them back from the queue, Slack, or their phone. Nothing fails open: if the policy is unsure, it holds.

  4. 04

    The verdict is sealed to the person who made it

    Cleared, auto-cleared, or rejected, each one lands on a hash-linked, tamper-evident record bound to the reviewer's passkey. The agent only gets a short-lived credential after approval, so there's no acting first and explaining later.

What the gate sees in shadow mode
code.deploy · service:checkout · prod · deploy-bot → would hold: touches payments path · (shadow: not blocked) · routed to A. Okafor

FAQ

Doesn't requiring approval mean a human now signs off on everything?

No, and that's the whole point. Your policy clears the routine on its own and sends only the consequential few percent to a person, so the queue stays small enough that people actually keep using it.

Why begin in shadow mode instead of just turning the gate on?

Shadow mode records and scores every action without blocking any of it, so you see what would have been held before a single call waits on someone. It's how you check the line is drawn right rather than finding out in production.

What does the agent do while an action is held?

The approval call blocks until there's a verdict, so the agent can't move past a held action or quietly skip it. If the policy can't decide, it holds rather than letting the call through.

Can a jailbroken or misbehaving agent get around the gate?

It can't act without a short-lived credential, and that credential is only issued after the action clears. Prompt-injecting the agent doesn't help, because the permission to act lives on ClearedBy's side, not in the model.

Will I be stuck approving the same kinds of action forever?

No. As an action type builds a track record of clean clears, ClearedBy proposes loosening the rule so it moves to auto-clear, and the share that needs a human shrinks over time.

Related use cases

Let your agents run. Inside the rules you set.

Put a person's yes in front of the actions that carry real consequences, and let everything else run. You start in shadow mode with nothing blocked, see what your agent would have done, then switch the gate on.