# Introduction (/)



AgentTrust is a Solana trust and payment gate for agent commerce.

AgentTrust evaluates policy, validation, and feedback before a payment settles. The stack gives facilitators a single path for deciding whether an agent-to-agent payment should proceed, require validation, or stop.

<KaniProofBadge />

## What AgentTrust ships [#what-agenttrust-ships]

AgentTrust ships as three Anchor programs plus a TypeScript SDK.

| Part               | Reads                              | Writes                               | Result                                  |
| ------------------ | ---------------------------------- | ------------------------------------ | --------------------------------------- |
| PolicyVault        | payer and payee trust data         | policy counters and velocity ledgers | `Allow`, `Deny`, or `RequireValidation` |
| TrustGate          | PolicyVault decisions              | Quantu feedback logs                 | x402 status and ERC-8004 feedback       |
| ValidationRegistry | attestor profiles and attestations | capability attestations              | reusable validation evidence            |

## Devnet deployment [#devnet-deployment]

The current Frontier build is deployed on Solana devnet.

<ProgramIdsTable />

## The shortest path [#the-shortest-path]

Install the SDK, mount TrustGate in your facilitator, then call `/verify` before payment settlement.

```bash
pnpm add @agenttrust-sdk/trustgate
```

```ts
import express from "express";
import { Keypair } from "@solana/web3.js";
import { mountTrustGate } from "@agenttrust-sdk/trustgate/express";

const app = express();
app.use(express.json());

await mountTrustGate(app, {
  rpcUrl: "https://api.devnet.solana.com",
  facilitatorKeypair: Keypair.fromSecretKey(secretKey),
  network: "solana-devnet",
  atomicityEnforced: true,
});
```

## Read next [#read-next]

<Cards>
  <Card title="Quickstart" href="/getting-started/quickstart">
    Install the SDK and make the first gatePayment call.
  </Card>

  <Card title="Architecture overview" href="/getting-started/architecture-overview">
    Follow the three-program flow from request to feedback.
  </Card>
</Cards>
