What are spending limits for AI agents?
Spending limits for AI agents are rules that a person sets and the payment infrastructure enforces before each payment an agent makes: how much it may pay at once and over a period, whom it may pay, and above which amount a person must approve. The agent asks to pay; the rules decide.
They answer the risks of software that spends money: an agent that repeats the same paid call in a loop, a prompt injection that redirects a payment, a task the agent reads too broadly. The guide to agentic payments describes these risks in more detail.
The controls, one by one
Each control stops a different failure. Together, they bound what an agent can spend in the worst case.
| Control | What it stops | Example |
|---|---|---|
| Cap per payment | One payment far larger than the task needs | Refuse anything above 5 euros |
| Budgets per day, week and month | A loop, or many small payments that add up | 20 euros a day, 300 a month |
| Approval threshold | A large payment made without anyone knowing | A person approves anything above 2 euros |
| Allowed destinations | A payment to a supplier nobody chose, for instance after a prompt injection | Only the search and data providers the agent uses |
| Emergency stop | An agent misbehaving right now | One button that refuses every payment |
| One wallet per agent | Spending nobody can attribute to an agent | Each agent has its own balance, limits and history |
| Audit trail | Spending nobody can explain afterwards | Each payment tied to an agent, a supplier and whoever approved it |
The cap and the threshold do different jobs. Above the cap, a payment is refused outright. Above the threshold, it waits for a person. With the threshold below the cap, a person decides on everything in between.
Human approval: when a person decides
Human approval keeps a person in the loop for the payments that matter, without asking them about every cent. It works with a clear rule:
- At or below the threshold, the agent pays on its own. Small, routine payments go through in seconds.
- Above it, the payment is held, not refused. Nothing is signed while it waits.
- The people who approve are named in advance. They are told when a payment waits, and decide with the agent, the supplier and the amount in front of them.
- The agent cannot approve its own payment. Approval comes from a person, never from a credential the agent holds.
- An approval has a deadline. A service paid per request usually accepts a payment for a few minutes. After that, the agent has to ask again.
A threshold set too low has people approving every web search; one set too high hides the payments that matter. Start low, look at what gets held during the first week, then raise it. Where else to put a person in an agent’s actions is covered in human in the loop for AI agents.
Why the limits must live outside the agent
A limit written in a prompt is advice. The agent can misread it, and another prompt, in a web page or a document it reads, can contradict it. A limit enforced by the payment infrastructure holds whatever the agent believes.
In practice, that means three things:
- The check runs before the payment is signed, on a server the agent does not control.
- The agent’s credential can only ask to pay. It cannot edit the rules, lift a pause or approve a payment.
- A refusal comes with a reason the agent can report, such as a budget used up or a supplier not allowed, so the user knows what to change.
It is also why splitting a payment gets an agent nowhere: every part counts against the same budgets.
Budgets for a team of agents
An agent rarely works alone. When a team runs ten agents, or a platform runs one per customer, limits per agent are not enough: finance needs a ceiling for the whole group.
The limits then come in layers. The company sets a monthly budget and the suppliers no agent may pay. Each team or project gets its share. Each agent gets its own caps inside that share. A lower level can only narrow a higher one, and the strictest limit applies: an agent cannot spend beyond its team’s budget, even if its own limit is higher.
Setting the first limits
No setting suits every agent, but a simple method works for most:
- Estimate a normal day. How many paid calls a task makes, and what each one costs. A research agent might run a few hundred searches at a cent each and buy a handful of company records at a euro.
- Set the daily budget at about twice that normal day, and the monthly budget at what you would accept to lose if everything went wrong.
- Set the cap per payment just above the most expensive purchase the agent should ever make.
- Set the approval threshold below the cap, at the amount you want to see before it is spent.
- Allow the suppliers the agent needs, rather than blocking the ones it should not use.
- Review after a week. Look at what was refused, what was held and what was approved, then adjust.
Limits that are too tight show up fast, as refusals with a reason. Limits that are too loose show up late, on the bill.
Spending limits in Keyban
Keyban’s Agent Wallet gives each AI agent its own wallet, and checks every payment against its limits on Keyban’s servers before Keyban co-signs it.
On each wallet
- Spending rules: a cap per payment (“Refuse above”), an approval threshold (“Ask me above”) and daily, weekly and monthly caps, in your display currency. A payment in USDC is converted at the current rate before it is compared.
- Destination rules: an allow-list or a deny-list, with domains for x402 services and addresses for USDC transfers. A service the rules refuse is never called.
- Pause: one button refuses every payment of the wallet at once, including one approved but not yet signed, until someone resumes it.
- Missions, for a recurring task: a budget for each run and the list of services that run may pay.
For a team and for the company
- Monthly budgets for each application and for the whole organization, with destination rules at each level. Only an owner sets the organization budget; an admin whose change would go beyond it sends a raise request, which an owner approves in the Inbox.
- E-mail alerts when a budget is on pace to run out before the end of the month, and when it is used up.
Approvals and records
- Operators, named for each wallet, are told by e-mail when a payment waits, and approve or decline it in the Inbox. Keyban prices the payment again at the moment they approve.
- Every payment shows the agent, the supplier, the amount and how it was approved, by a named person or within the rules. The history exports to CSV.
- Every refusal carries a reason the agent reports to the user, such as a budget used up or a supplier not allowed.
The limits apply whatever agent you use: Claude, ChatGPT, Cursor, Codex and your own agents connect through the Keyban MCP server or CLI. Funds stay in your wallet. A payment needs two signatures, the agent’s and Keyban’s, and Keyban signs only what the rules allow.
€1 on us at sign-up, no card needed. Free for three months, then top up in euros by card.
Questions
Which tools can set spending limits for individual AI agents?
A wallet dedicated to each agent, whose limits are checked by the payment infrastructure rather than by the agent. Keyban’s Agent Wallet gives every agent its own cap per payment, day, week and month budgets, allowed suppliers and approval threshold. Card programs for agents also let the cardholder set limits on a card issued for the agent.
Can an AI agent change its own spending limits?
Not when the limits are enforced outside it. With Keyban, the agent’s key can only ask for a payment: it cannot edit its rules, raise a budget, lift a pause or approve its own payment. Those actions need a person, and an API key is refused.
What happens when a payment is above the approval threshold?
It is held, not refused. The wallet’s operators are told by e-mail, and the payment waits in the Inbox until one of them approves or declines it. The agent waits for the decision, and an approved payment is signed once.
Can I limit which suppliers an agent pays?
Yes, with an allow-list or a deny-list: domains for x402 services, addresses for transfers. With Keyban, a service outside the rules is refused before Keyban even contacts it.
How do I stop an agent from spending right away?
Pause its wallet. Every payment request is then refused, including a payment that was approved but not signed yet, until a person resumes it.
Can an agent split a payment to get around a limit?
Not around the budgets: every part counts against the same day, week and month. Payments started at the same time cannot overrun a budget together either, because a budget counts what was already spent plus what open payments hold.
Can I set one budget for a whole team of agents?
Yes. Keyban has monthly budgets for an application, which groups the wallets of a team or a project, and for the whole organization, on top of each wallet’s own limits. The strictest limit applies.
