> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attexra.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Architecture & Security Model

> Non-custodial trust boundaries, deterministic policy evaluation, tenant isolation, and privacy posture.

Attexra provides non-custodial trust and assurance infrastructure for autonomous agents. Rather than replacing wallets, payment processors, or identity providers, Attexra binds agent identity, scoped authorization, and external execution evidence into an auditable trail.

## Non-Custodial Trust Boundary

* Attexra **does not custody funds**, store wallet private keys, or submit payments on your behalf.
* Wallet addresses associated with agents (`eip155`, `solana`, etc.) identify external accounts; they are never treated as proof of legal ownership or automatic permission.
* Signed authorization grants (`k1.<claims>.<hmac>`) are issued and verified deterministically against database revocation status, tenant ID, exact decimal caps, recipient, asset, and expiry timestamps.

## Isolation & Security Controls

> [card] Tenant Isolation
>
> Every organisation owns isolated agents, grants, financial instructions, webhooks, and audit events filtered strictly by `organisation_id`.

> [card] Least-Privilege Scopes
>
> API keys and user sessions carry granular scopes (`agents:read`, `authorizations:verify`, `financial:write`, `webhooks:write`). Read-only keys cannot mutate or verify grants.

> [card] Idempotent Mutations
>
> Write endpoints require `Idempotency-Key` headers hashed against `(method, route, body)` to guarantee safe retries without double execution or silent conflict overwrite.

> [card] Outbound SSRF Guards
>
> Webhook subscriptions and EVM JSON-RPC reconciliation endpoints block loopback, RFC1918 private subnets, link-local cloud metadata (`169.254.169.254`), and `.internal` hostnames.

## Data Provenance & Indeterminate States

In accordance with Attexra's assurance principles:

1. **Identity is not authorization.** Validating a W3C Verifiable Credential (`POST /v1/agents/{agentId}/credentials/verify`) or reading an ERC-8004 card verifies authenticity metadata only—it never grants payment authority.
2. **Execution is not settlement.** `recorded`, `submitted`, `accepted`, `executed`, `confirmed`, `settled`, `failed`, and `unknown` are tracked explicitly.
3. **Indeterminate honesty.** When a payment callback or EVM JSON-RPC receipt is unavailable, Attexra reports `unknown` or `indeterminate` rather than inventing certainty.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.