Architecture

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.

View as .mdUpdated
Your wallet. Not our vault. The agent holds a credential, not a key. The core decides but cannot sign. Only the signer signs, and only after it has checked the decision again.

Six zones

ZoneHoldsCan doCannot do
AgentAn Abazi agent credentialAsk to buy, check status and spending, fetch receiptsSign, move funds, change rules, see a card number or a key
Abazi coreMandates, prices, budgets, ledger, receipts and the receipt signing keyDecide, reserve, record, issue receiptsSign a payment: it holds no payment keys
SignerPayment signing keys, per-agent spending-wallet keys, card numbersRecheck and sign one payment at a timeDecide on its own: it signs only a reserved, allowed payment
OwnerPasskeys; on Solana, the USDC itselfSign mandates, approve, pause all payments, remove the on-chain permission, sweep spending walletsBe bypassed: a hard cap or budget cannot be lifted by anyone, the owner's approval included
MerchantIts payout address and resourceAsk for payment with a 402 response, deliver, refundChange the price or payout address Abazi pays without being caught by the Catalog check
PublicNothingVerify any receipt it has a link toChange 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:

  1. Payments are not paused, for the organization or for everyone.
  2. The agent is active and its mandate version is still in force and not expired.
  3. A reservation for this payment is held.
  4. 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

BoundaryWhat crossesWhat never crosses
Agent → coreA purchase request (service or URL, task, idempotency key) with the agent credentialPrices, payout addresses or limits from the agent: the Catalog and the mandate supply them
Core → agentStatus, decision, reason code, next action, receipt id, the purchased resourceApproval links, keys, card numbers
Owner → coreMandates and approvals, each signed with a passkey; the pause switchThe owner's wallet keys
Core → signerThe id of an allowed, reserved paymentA request to sign anything else
Signer → railOne signed payment, or a card number to the merchant's checkout serverKeys
Merchant → coreA 402 response with payment requirementsA price or payout address that overrides the Catalog: a mismatch is denied with PAYTO_MISMATCH or AMOUNT_MISMATCH
Core → publicA receipt, the published receipt keys, the on-chain anchorThe 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

SituationWhat protects the owner
An agent credential leaksIt can only ask to buy within the mandate; the owner rotates or revokes it.
The agent is manipulated by injected textShield flags it at steps 3 or 5; the policy, not the model, decides.
An approval link is forwardedApproving needs the approver's passkey; the link expires after 10 minutes and works once.
The core is asked to pay something that changed after approvalThe signer's fingerprint recheck refuses it.

Next steps

On this page