# System map

Where every part of Abazi sits, which parts stay fixed for every rail, which part swaps, and what each part holds.

<ShortProductTruth>**One core, many rails.** Every payment runs through the same fixed core of Catalog, Shield, policy engine, budget, signer, ledger and proof. Only the rail adapter at the edge changes with the way of paying.</ShortProductTruth>

## The map [#the-map]

Hover over a part, or move to it with the keyboard, to see what it holds and which parts it talks to.

<SystemMap />

## Zones [#zones]

| Zone | What sits there | What it holds |
| --- | --- | --- |
| Agent | The agent, connected over MCP, JSON-RPC, REST or an SDK | An Abazi agent credential. No wallet key, no card number, no spending rules. |
| Owner | People in the Console with passkeys, and the owner's own wallet | Passkeys that sign mandates and approvals; on Solana, the USDC itself. |
| Abazi core | API and MCP server, orchestrator, Catalog, Shield, policy engine, budget, ledger, proof | Rules, prices, reservations, postings and receipts. No signing keys. |
| Signer | The signer (executor) | Signing keys, the per-agent spending-wallet keys and card numbers. Nothing outside this zone signs. |
| Rail adapters | Stablecoins over x402, direct USDT, virtual cards | No keys. Each one turns a signed payment into a settlement on its rail. |
| Networks and processors | x402 facilitators, the blockchain networks, the card issuer | Balances, transactions and card authorizations. |
| Merchant | Any endpoint that answers with an x402 402 response, or a card checkout | Its payout address and its resource. |
| Public | The receipt verifier | Nothing. It reads a receipt, the published keys and the on-chain anchor. |

## Fixed and swappable [#fixed-and-swappable]

The core never changes with the rail. The same mandate, the same evaluation order and reason codes, the same three-level budget reservation, the same signer recheck, the same ledger postings and the same receipt apply to an x402 USDC payment, a direct USDT transfer and a virtual card authorization.

The rail adapter is the only part that swaps. Every adapter offers the same five methods, so adding a rail does not touch the policy, the budget or the receipts. See [Rail adapters](/docs/architecture/rail-adapters).

The rails, networks and assets the adapters cover today:

<RailMatrix />

## What the map does not show [#what-the-map-does-not-show]

| Part | Where it is described |
| --- | --- |
| The order of steps for one payment | [Payment lifecycle](/docs/architecture/payment-lifecycle) |
| What crosses each boundary and who can sign | [Trust zones](/docs/architecture/trust-zones) |
| Webhooks and events sent to developers | [Events and webhooks](/docs/webhooks) |

## Failure cases [#failure-cases]

| Part fails | What happens |
| --- | --- |
| A facilitator for one network is down | Abazi fails over to the next facilitator for that network, or picks the next allowed network that is funded and healthy. |
| The signer refuses to sign (pause switch on, mandate revoked, fingerprint changed) | The payment is denied with a reason code; nothing is sent. |
| The network does not answer in time | The payment goes to reconciling and the money stays reserved until the network gives an answer. |
| The anchor transaction is not final yet | The receipt exists and is signed; its anchor check reads PENDING until the memo is finalized. |

## Next steps [#next-steps]

<Cards>
  <Card title="Payment lifecycle" href="/docs/architecture/payment-lifecycle" description="Follow one payment through every state, including approvals, denials and unknown outcomes." />
  <Card title="Trust zones" href="/docs/architecture/trust-zones" description="See which zone holds which secret and what crosses each boundary." />
  <Card title="Rail adapters" href="/docs/architecture/rail-adapters" description="Switch between rails and read the five-method contract every adapter keeps." />
</Cards>

