# Infrastructure

The technologies Abazi is built with, across web3, traditional finance, AI and the platform underneath, and what each one does inside the product.

Abazi joins two financial worlds in one product: stablecoins on public networks and card payments through an issuer. It is built on <PlatformCount of="technologies" /> technologies, each chosen for one job. This page names every one and says exactly what it does inside Abazi.

## Built with: web3 [#built-with-web3]

<InfrastructureGrid world="web3" />

- **Solana** carries non-custodial USDC payments through a capped SPL token delegation, the memo transaction that anchors every receipt hash, the Solana Attestation Service record for verified merchants, and the on-chain recurring delegation behind installments and subscriptions.
- **Tether** provides WDK, from which every per-agent EVM and Tron spending wallet is derived inside Abazi's signer zone; USDT, the settlement asset of the direct transfer rail; and QVAC, the runtime for on-device models.
- **Circle** issues USDC, the asset of the x402 rail on Solana, Base, Polygon and Avalanche.
- **x402 facilitators** (PayAI and x402.org) verify and settle x402 payments. Abazi probes their health, opens a circuit breaker on repeated failures and fails over only when nothing was sent.

## Built with: traditional finance [#built-with-traditional-finance]

<InfrastructureGrid world="tradfi" />

- **Lithic** issues each agent's virtual card and sends every authorization to Abazi on its real-time authorization stream, where Abazi's policy answers approve, decline or challenge.
- **WebAuthn** passkeys sign mandates and approvals and confirm sensitive actions. A password alone can never move money.

## Built with: AI and safety [#built-with-ai-and-safety]

<InfrastructureGrid world="ai" />

<AiComponents />

- **Meta's Llama Prompt Guard 2** runs inside Abazi Shield. It scores merchant-controlled text sentence by sentence, on CPU, before policy runs, and raises a flag the policy can act on.
- **Hugging Face** Transformers is the runtime that loads and runs the classifier.
- **Anthropic's Model Context Protocol** and its Python SDK are the interface agents use: six tools over stdio and streamable HTTP.
- **Qwen3 1.7B Instruct** is the model the reference local agent runs on QVAC, with outbound network access denied. It chooses tools and never sees a key.

## Built with: the platform [#built-with-the-platform]

<InfrastructureGrid world="platform" />

- **DBOS** runs payments, webhooks and plan pulls as durable workflows. After a restart, each one resumes at the step where it stopped, and a payment that was signed is never signed again.
- **PostgreSQL** holds the double-entry ledger, the budget rows that are reserved in one transaction, and the receipt chain.
- **AWS** provides compute, the container registry, backups and the secret store for server keys.
- **Telegram** delivers one-tap approval links to the approver's phone. The approval itself is signed with a passkey.

## The design principle: deterministic decisions [#the-design-principle-deterministic-decisions]

Abazi uses models where they help and keeps them out of the payment decision.

- **The decision is code.** Every payment is decided by Abazi's policy engine: a pure function with fixed rules in a fixed order, no model, no clock and no network call. The same purchase against the same mandate always gets the same answer and the same reason code.
- **Models choose tools.** The model behind an agent picks which Abazi tool to call and with which service. None of the tools takes a price, a payout address or a key, so a model cannot change what is paid or to whom.
- **Models flag text.** The prompt-injection classifier reads merchant-controlled text and flags it. The flag is an input to the policy; the classifier never approves or denies a payment.
- **The signer checks again.** Before anything is signed, the signer rechecks the pause switch, the mandate, the reservation and the purchase fingerprint, whatever any model said.

## Next steps [#next-steps]

<Cards>
  <Card title="Supported rails" href="/docs/platform/supported-rails" description="See every rail, network and asset these technologies carry." />
  <Card title="Mandates and policy" href="/docs/concepts/mandates-and-policy" description="Step through the fixed evaluation order behind every decision." />
  <Card title="Environments" href="/docs/platform/environments" description="Find the base URL and the networks the current environment settles on." />
</Cards>

