Insights

AI Agents on the XRP Ledger

The hard part of letting software trade or pay for you is the key. Since October 2026 the XRP Ledger can give an agent a key of its own that can only send the kinds of transaction you chose, and take it back with one transaction.

A key that can only do some things

With Permission Delegation, your account names another account as its delegate and lists what it may send on your behalf (xrpl.org). Some permissions cannot be handed over at all, “especially permissions that would allow the delegate to change cryptographic keys or grant additional permissions”. It switched on for everyone on 8 October 2026 (amendments).

Your account
Holds the funds. Its key stays with you, offline if you like.
DelegateSet
allows: Payment, OfferCreate
The agent’s account
Signs with its own key, on the server the agent runs on.
signs “for”
your account
The ledger
Applies a transaction only if its type is on the allowed list. Anything else is refused.
If the agent’s key leaks, the damage stops at what it was allowed to send. One more DelegateSet from your account takes the permission back.

Steps that happen together or not at all

An agent often needs several steps: open a trust line, buy, move the result. A Batch transaction carries up to eight of them (rippled) and the ledger applies them as one, so a half-finished sequence cannot leave funds stranded (xrpl.org). Batch switched on on 9 October 2026.

Paying per request

Agents that pay other services per call can use payment channels: XRP is set aside once, and each payment is a signed claim exchanged off the ledger, with only the final amount settled on it (xrpl.org). Thousands of tiny payments need only a few ledger transactions: open the channel, claim, close.

What an agent pays, and what it cannot buy

  • Fees: 10 drops (0.00001 XRP) a transaction, rising only when ledgers are full (xrpl.org; how far, measured).
  • No paying to go first: inside a ledger, order is shuffled rather than sold, so a faster or richer bot cannot buy its place ahead of yours (how).
  • Reserves: the agent’s own account needs 1 XRP to exist, plus 0.2 XRP for each item it owns (reserves).

Reading the ledger

An agent that trades needs prices, order books and pool depth. Any XRP Ledger server answers raw questions; xrpl.to’s MCP server hands an AI assistant ready-made tools for prices, holders, order books, pools and swap quotes, and the AI chat uses the same data in the browser.