How it works

A limit the chain keeps.

A budget is an account your agent can pay from and cannot empty. Solana’s token program holds it to the limit on every payment, and you hold the switch.

01

The money sits in an account the budget owns.

You fund a budget from your wallet. The USDC goes into a token account that belongs to the budget itself: no wallet key signs for it, and neither does the agent’s.

The agent key is named on that account as its delegate, approved for one amount. That amount is all the key is worth.

Your wallet

Owns the panel

Signs to fund, change, switch and withdraw.

The budget account

250.00USDC

Holds the money. Owned by the budget.

The agent key

Holds no money

Approved to move up to 50.00 a day out of the account.

02

The limit is an allowance on that account.

You set a limit and a period: 50.00 a day, 2.00 an hour, 500.00 a week. Breaker approves the agent key for exactly that much, using the token program’s own approval.

The limit and the balance are separate. A budget can hold a month of money behind a daily limit.

2.015 / 50USDC per day

Live

47.985 remains today. The account holds 250.00.

03

Every payment lowers it, and none can pass it.

A payment is an ordinary token transfer signed by the agent key. The token program takes the price off the allowance and refuses any transfer above what is left. Be the agent: pay until it trips. Then be the owner.

The agent calls a paid API

The owner, or the clock

research

Period 1 · 2 USDC per hour

Live

1.18 / 2USDC

The agent key can pay up to what remains this period.

  1. inference.example0.42USDC
  2. search.example0.06USDC
  3. inference.example0.42USDC
04

At the limit, the budget trips.

When a price is above what remains, the SDK stops before it signs and tells the agent when the budget resets. Nothing is sent and no money moves. A smaller price that still fits goes through.

Trip, in the docs

50.00 / 50

Tripped

BudgetTripped · resets at 14:20 UTC

05

When the period ends, it rolls.

One transaction closes the period with what it spent and approves the full limit again. Breaker’s keeper sends it for every budget at its boundary, on the chain’s own clock.

Each closed period stays in your ledger, so a week of an agent’s spending reads at a glance.

Mon 14:20
50.00 / 50
Tue 14:20
31.20 / 50
Wed 14:20
43.05 / 50
Today
2.015 / 50
06

The rest is yours to change at any time.

Every control is one transaction from your wallet, and each one comes down to what the agent key is approved for next.

ResetThe full limit again, now.
ChangeA new limit, period or expiry.
FundMore money in the account.
WithdrawAny amount back to your wallet.
Rotate keyA new agent key; the old one pays nothing.
Close budgetThe whole balance and the rent back to you.

One press stops an agent.

Switching off revokes the agent key in one transaction, and it holds from the next slot. Every budget has a switch, and the panel has one for all of them.

Live. The key can pay what remains of its limit.

In the agent, it is one call.

The SDK behaves like fetch. When a service answers 402 Payment Required, it pays the price from the budget and asks again.

breaker({ budget, key }).fetch(url)

Services change nothing: a budget payment is a standard x402 payment, settled by the service’s own facilitator.

Quickstart
0.48 / 1USDC per hourLive
  1. GET search.example/q
  2. 402 Payment Required · 0.06 USDC
  3. paid from the budget · signed by the agent key
  4. 200 OK

Open a panel. Add your first budget.