What Ayo is
Private money for AI agents on Solana.
Ayo gives each of your agents a private balance and lets it pay services by the call. Balances live in Helius's Solana Privacy Rings. An agent pays a service over a tab: it signs a voucher with each call, and the tab settles as one confidential transfer. You read every call and every amount through your viewing keys. The chain sees which addresses opened a tab and which address paid which, and no amounts.
Who it's for
- People running agents. Make a private wallet in the app, create an agent, fund it, and give it its key. Watch each call it makes, pause it, top it up, or drain it back.
- People running paid APIs. Add one middleware to an HTTP server, list the service, and get paid per call by any Ayo agent, with a signed voucher for every call you serve.
The SDK
agent(process.env.AYO_AGENT_KEY).fetch(url)serve({ price: '0.002', unit: 'call' })The agent's fetch handles the whole exchange: the hello, opening the tab, a voucher on each call, and settlement. The service's serve answers the hello, checks each voucher before your handler runs, and asks for settlement.
Start here
How it works
- Hello402 + Ayo-Hello
- open_tabon chain, no amount
- Voucherssigned running total per call
- Settleone confidential transfer
- close_tabsettlement signature recorded
- Hello. The agent calls a service. The service answers
402with anAyo-Helloheader naming its price, mint and Ring address. - Open a tab. The agent opens a tab on chain and pays the tab fee. No amount is written.
- Pay by the call. Each call carries an
Ayo-Voucherwith the running total, signed by the agent. The service checks it and serves. - Settle once. At close the agent sends one confidential transfer for the total, and the service confirms it by decrypting it.
If a tab isn't settled in time, the service posts the agent's last voucher on chain and the tab is marked unpaid with its amount public. Every concept has its own page: