Trust zones
Which part of Abazi may hold which secret, which part may sign, and exactly what crosses each boundary between the agent, the core, the signer, the owner, the merchant and the public.
Six zones
| Zone | Holds | Can do | Cannot do |
|---|---|---|---|
| Agent | An Abazi agent credential | Ask to buy, check status and spending, fetch receipts | Sign, move funds, change rules, see a card number or a key |
| Abazi core | Mandates, prices, budgets, ledger, receipts and the receipt signing key | Decide, reserve, record, issue receipts | Sign a payment: it holds no payment keys |
| Signer | Payment signing keys, per-agent spending-wallet keys, card numbers | Recheck and sign one payment at a time | Decide on its own: it signs only a reserved, allowed payment |
| Owner | Passkeys; on Solana, the USDC itself | Sign mandates, approve, pause all payments, remove the on-chain permission, sweep spending wallets | Be bypassed: a hard cap or budget cannot be lifted by anyone, the owner's approval included |
| Merchant | Its payout address and resource | Ask for payment with a 402 response, deliver, refund | Change the price or payout address Abazi pays without being caught by the Catalog check |
| Public | Nothing | Verify any receipt it has a link to | Change anything |
Signer isolation
Only the signer, also called the executor, loads payment signing keys. The rest of Abazi gets addresses and signatures from it, never keys. Card numbers are fetched from the card issuer just in time inside the signer and passed to the merchant's checkout server to server; they are never stored and never reach the agent. The seed for the spending wallets built on Tether's Wallet Development Kit stays inside the signer zone.
Before it signs, the signer checks again, from the database and not from the request:
- Payments are not paused, for the organization or for everyone.
- The agent is active and its mandate version is still in force and not expired.
- A reservation for this payment is held.
- The purchase fingerprint (rail, merchant, payout address, asset, network, amount, URL and request body) is the one that was decided.
If any check fails, it refuses with a reason code such as KILL_SWITCH_ACTIVE or APPROVAL_INVALIDATED, and the payment is denied without anything being sent.
Where the money sits
On Solana, the owner's USDC stays in the owner's account. The owner grants Abazi's signer a capped SPL delegation. Abazi can spend only up to that cap, and the owner can remove the delegation in the wallet at any time.
On EVM networks and Tron, each agent pays from its own spending wallet held by Abazi's signer. The owner funds it with only what the agent may spend and can sweep it back.
On virtual cards, the money sits in the card program at the card issuer, Lithic, and each authorization comes back to Abazi's policy.
See Custody and keys.
What crosses each boundary
| Boundary | What crosses | What never crosses |
|---|---|---|
| Agent → core | A purchase request (service or URL, task, idempotency key) with the agent credential | Prices, payout addresses or limits from the agent: the Catalog and the mandate supply them |
| Core → agent | Status, decision, reason code, next action, receipt id, the purchased resource | Approval links, keys, card numbers |
| Owner → core | Mandates and approvals, each signed with a passkey; the pause switch | The owner's wallet keys |
| Core → signer | The id of an allowed, reserved payment | A request to sign anything else |
| Signer → rail | One signed payment, or a card number to the merchant's checkout server | Keys |
| Merchant → core | A 402 response with payment requirements | A price or payout address that overrides the Catalog: a mismatch is denied with PAYTO_MISMATCH or AMOUNT_MISMATCH |
| Core → public | A receipt, the published receipt keys, the on-chain anchor | The organization's database |
Example
A merchant's 402 response starts asking to be paid at a different address than the one in its Catalog listing. The agent cannot see or choose payout addresses, so it simply asks to buy. Abazi compares the 402 response with the listing at step 2 and denies the purchase with PAYTO_MISMATCH. The merchant's trust tier resets to UNKNOWN and a risk event is recorded. Nothing was signed, and no key was ever within the agent's reach.
Failure cases
| Situation | What protects the owner |
|---|---|
| An agent credential leaks | It can only ask to buy within the mandate; the owner rotates or revokes it. |
| The agent is manipulated by injected text | Shield flags it at steps 3 or 5; the policy, not the model, decides. |
| An approval link is forwarded | Approving needs the approver's passkey; the link expires after 10 minutes and works once. |
| The core is asked to pay something that changed after approval | The signer's fingerprint recheck refuses it. |
Next steps
Payment lifecycle
The states one payment passes through, from the agent's request to the receipt, including approvals, denials and payments whose outcome is not yet known.
Rail adapters
The five-method contract every rail adapter keeps, how Abazi picks a network in a fixed order, and how x402 facilitator health and failover work.