Topic 3 of 5 · 3 min read
Spending limits and approval checkpoints
Goal: Set a spending cap, a confirmation step and an undo option for an agent purchase, and spot a run log where the agent skipped one.
Before an agent pays for anything, set three controls: a cap on how much it can spend, a confirmation step you must approve, and a way to undo the purchase. Each control covers a different failure. Together they keep a mistake small.
Check yourself · 1 of 3
Which cap is hardest for an agent to exceed by mistake?
Why it matters
Agents make ordinary mistakes: they pick the wrong size, add a warranty nobody asked for, or buy twice because a page reloaded. They can also be misled by text on a web page. A cap limits the loss, a confirmation catches the mistake before it happens, and an undo option fixes what got through.
The three controls
- A spending cap. The strongest cap is outside the agent: a prepaid or virtual card with a fixed limit, or a gift card. A cap written only in the prompt is a request, not a barrier. The agent can misread it, and a page can argue against it.
- A confirmation step. The agent must show the basket, the total with fees and delivery, and the merchant, then wait for your yes. Put this in the brief and check that the tool really stops. Some tools ask before purchases by default, but settings differ, so test with a cheap errand first.
- An undo option. Prefer merchants with free returns or free cancellation, and ask the agent to note the return policy in its report. Avoid final-sale and non-refundable items for agent purchases.
Reading the run log
Most agent tools show the steps they took. After an errand, read the log for the order of events. The question is simple: did the confirmation happen before the payment? A log where "clicked Pay now" appears before "asked the user to confirm" means a control was skipped. That is a reason to tighten the setup, not to trust the tool more.
Before and after
Before: "Buy a birthday gift for my sister, around 50 pounds, and have it delivered."
There is no hard cap, no confirmation and no return rule. The agent may go over 50 pounds with delivery and gift wrap.
After: "Find three gift ideas under 50 pounds including delivery, from shops with free returns. Show me the basket and total. Do not pay. I will pay myself with my virtual card."
What goes wrong
- Cap in words only. The agent treats "around 50" as flexible and adds delivery on top.
- Hidden extras. Insurance, express delivery or a subscription is added as a default tick box.
- Duplicate orders. A page error leads the agent to submit the same order again.
- Auto-approve habits. After a few good runs, people stop reading the confirmation screen.
Examples
A purchase setup
Cap: a virtual card loaded with 50 pounds.
Confirmation: the agent shows basket, total with delivery and the merchant, then waits for my yes.
Undo: free returns within 30 days, stated in the agent report.
A run log that skipped a control
- Opened shop, searched "desk lamp".
- Added Model X to basket.
- Clicked "Pay now" with saved card.
- Told the user the order was placed.
The agent never asked for confirmation. The fix is to remove the saved card and require the stop before step 3.
Key points
- Use three controls together: a cap, a confirmation step and an undo option.
- A cap outside the agent, such as a virtual card limit, is stronger than a cap written only in the prompt.
- The confirmation screen should show the merchant, the basket and the total with fees and delivery.
- Read the run log to check that the confirmation came before the payment.
- Prefer merchants with free returns or cancellation for agent purchases.
Common mistakes
- Putting the cap only in the prompt and trusting it as a limit.
- Not checking delivery, fees and add-ons in the total.
- Letting the agent use a saved card that has no limit.
- Buying non-refundable or final-sale items through an agent.
Check yourself · 2 of 3
In an agent run log, which sequence shows a skipped control?
Check yourself · 3 of 3
Why should the confirmation screen show the total with fees and delivery?
Practice items, not counted towards your mastery.
Start here
- ChatGPT agent (OpenAI Help Center) (opens in a new tab)DocsFree
OpenAI's description of what its agent can do on websites and when it asks you to take over.
- Claude Help Center: get started with Claude in Chrome (opens in a new tab)DocsFree
Anthropic's guide to its browser agent, including permissions and safety settings.
- LLM01: Prompt Injection (OWASP) (opens in a new tab)StandardFree
The standard description of prompt injection, including hidden text in pages an agent reads.
Where to go in your country
- Citizens Advice: consumer rights (opens in a new tab)DocsFreeUK
Plain UK guidance on refunds, cancellations and complaints that applies to online purchases.