Permissionn
Blog

Browser agents can now ask before they pay

Agents that shop in Kernel, Browserbase, Browser Use, Anchor, Notte or your own Chromium can now check every purchase with Permissionn. The payment waits in the browser while the person approves, with a screenshot of the cart.

More and more AI agents shop the way people do: in a browser. Developers run them on Kernel, Browserbase, Browser Use, Anchor and Notte, or in their own Chromium, and the agent clicks through a store’s checkout like anyone else. That works well until the agent gets it wrong. In a Visa study reported by CNBC, agents from 22 models failed about 43% of shopping tasks, and in more than half of those failures bought something the customer hadn’t asked for.

The moment that matters is the payment

An agent can browse, compare and fill a cart as much as it likes. What needs a second look is the one request that pays: the card details going to the payment processor, or the confirmation that charges them. So that is the request Permissionn now holds.

What’s new

  • The payment waits in the browser. With our Node.js and Python kits, the request that pays (to Stripe, Adyen, Braintree, PayPal, Shopify, Square, Worldpay, Cybersource and seven more) is held until Permissionn allows the purchase you expected. A payment nobody expected never reaches the processor, even if the agent clicks Pay first.
  • Limits for every purchase. Per payment, per day, the amount above which the agent asks first, and the websites it may pay. Planted instructions in the page and carts that drift from what the person asked for are stopped.
  • The person sees the cart. Above the ask-first amount, a screenshot of the checkout goes to the person with the request. They approve with a passkey or Face ID, by push, text or email, or in your own app. An approval is good once, for that amount at that store.
  • Proof for disputes. Every decision is signed and kept, with the screenshot’s fingerprint, so “I didn’t order that” is answered with what the person approved.

A few lines of code

Connect Playwright to your browser session over its CDP URL, tell Permissionn what the person asked for, and let the agent shop:

import { holdPayments } from '@permissionn/sdk/browsers';

const hold = await holdPayments(pn, context, { onApproval: tellTheUser });
hold.expect({ amount: 64.90, currency: 'USD' });   // what the person asked for
await runAgent(context);                          // its payment waits for Permissionn
await hold.paid();

Browser Use agents get an action that asks before paying, and the agent is told to go ahead, to wait for the person, or that it may not.

What Permissionn doesn’t do

It never sees or stores card numbers, and it never moves money. It decides whether a payment request may leave the browser; the card goes to the store’s processor exactly as it always would. If Permissionn can’t be reached, the payment is held, never let through unchecked.

See the code for each browser on the browser agents page, or get started.

See who is already at your door

Point Permissionn at one route and your agent report starts filling in from the first request.