Open app

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.ts
agent(process.env.AYO_AGENT_KEY).fetch(url)
server.ts
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

  1. Hello402 + Ayo-Hello
  2. open_tabon chain, no amount
  3. Voucherssigned running total per call
  4. Settleone confidential transfer
  5. close_tabsettlement signature recorded
One tab, from the first call to the settlement.
  1. Hello. The agent calls a service. The service answers 402 with an Ayo-Hello header naming its price, mint and Ring address.
  2. Open a tab. The agent opens a tab on chain and pays the tab fee. No amount is written.
  3. Pay by the call. Each call carries an Ayo-Voucher with the running total, signed by the agent. The service checks it and serves.
  4. 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: