The unified payment interface for autonomous AI agents.
Agents need to pay for things. APIs charge per call, tools cost money, and sub-agents bill their orchestrators. In 2025 that volume exploded, and two incompatible protocols emerged to handle it: x402 (Coinbase) and MPP (Stripe + Tempo). Grace Protocol puts a single router in front of both.
You write grace.pay() once. We figure out which protocol the payee requires, route the request, settle on Solana, and record everything on-chain. No lock-in, no fragmentation, no separate database for your audit trail.
| Repo | Description |
|---|---|
protocol-dashboard |
Next.js dashboard, and frontend site |
protocol-docs |
Developer documentation and integration guides |
protocol-program |
Solana program powering the protocol |
Every agent gets a non-custodial Solana wallet provisioned through a Program Derived Address. Funding it, setting a spend policy, and wiring up your agent takes one SDK call each. From there, Grace handles protocol detection and settlement automatically.
Spend policies travel with the agent. You cap daily budgets, allowlist domains, set per-call limits, and rate-limit by time window. The gateway enforces lightweight policies on every request. High-value transactions (over 10 USDC) get a second check directly on-chain.
Multi-agent chains are fully traceable. Sub-agent payments carry a parent_payment reference, so you can reconstruct the full cost tree for any orchestrated workflow.
Grace Protocol settles on Solana because the fee-per-account-state model fits parallel agent workloads well and finality is fast enough for interactive use cases. Typical transaction cost is under $0.001. Finality lands under one second today and we are targeting under 150ms once Alpenglow ships.
The on-chain program is written in Rust with the Anchor framework. The dashboard reads directly from chain state, so what you see in the UI reflects the actual ledger with no intermediary database.
The quickstart guide walks through provisioning an agent wallet, setting a spend policy, and making your first payment in about five minutes.