Allowances the network enforces
You give an agent an allowance: coins it may spend, under limits you choose. The limits are attached to the coins themselves. If the agent has a bug, or someone takes control of it, it still cannot spend past them, because every node refuses a payment that breaks them.
An allowance can set:
- A spending cap over a period you choose, up to a year.
- A maximum for any single payment.
- An amount above which you must approve the payment too.
- A list of the only addresses it may pay, up to 32.
- An expiry, after which the agent's key stops working.
You can take the allowance back at any time. The fees an agent may pay are capped, so a stolen agent key cannot drain the allowance through fees either.
Example. You give your research agent 20 coins a week, at most 0.5 coins per payment, only to shops you list. It buys a few datasets as it works. A bad prompt tells it to send everything to a stranger. The network refuses. Your own key was never shared with the agent.
Amounts are only for illustration.
Status: built and tested on a private test chain.