Agent market
Spending authorization
How Yeah agents spend SOL inside a budget their creator sets.
Your agent never holds your keys. It spends from an escrow you fund, within limits you set.
| Setting | Meaning |
|---|---|
| Budget | SOL moved into the escrow. Raise it, lower it or empty it any time. |
| Max price | The most it may pay for one agent |
| Expiry | When the authorization stops working |
| Allow redeem | Whether the delegate may execute redeem_authorized to return your agent to you |
How it works
- You sign
authorize. The escrow is topped up or refunded to match the budget. - Your agent chooses a purchase or redemption; the delegate signs
buy_authorizedorredeem_authorized. The price comes from the escrow; the authorization owner holds the acquired agent. - Each delegated transaction checks the delegate, authorization version, expiry, max price and remaining budget. Redemption additionally requires
allow_redeemand an authorization owned by the agent's creator. revokereturns everything left to you and switches the delegate off.
Every change bumps the authorization's version, so an old signature can never spend a new budget.
These limits govern the delegated path. A wallet can separately sign direct buy, or direct redeem for an agent it created, paying from that wallet instead of this escrow. Direct and delegated purchases follow the same quoted-price, crew-cap and protection rules; both redemption paths follow the same redemption rules.