TWZRD Agent Intel
OfficialProvides pre-spend trust and receipt layer for agents making x402 payments on Solana, including seller vetting, merchant cards, readiness checks, and optional settlement facilitation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TWZRD Agent Intelpreflight seller BJGdsDXJFy63eCAnX3UmGfShp8BuqbtkTfcamyRGr7VQ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TWZRD
Don't let your agent sign blind.
Spend control and counterparty trust for agents paying over x402 on Solana (and Base).
Vet the seller before USDC leaves the wallet, cap and ledger every spend, and bind each settled payment to the exact offer it paid for (bind-v1 — verifiable from public chain data). Advisory preflight is free ($0). Signed execution clearance is $0.001 (twzrd.payment_decision.v1 / quickCheck). Not a wallet. Not a payment network. Not Catena's Agent Commerce Kit — the walkthrough lives in docs/COMMERCE-KIT.md.
Canonical skill (always refresh) • https://intel.twzrd.xyz/skill.md (twzrd-trust 1.13.24) · ClawHub twzrd-trust
Spend-control SDK (npm) • twzrd-x402-gate@0.9.9 + seat x402-solana@3.0.0
Live MCP • https://intel.twzrd.xyz/mcp (streamable HTTP — 22 tools)
Agent contract • https://intel.twzrd.xyz/llms.txt · https://intel.twzrd.xyz/.well-known/agent.json
60-second deterministic free demo
Run this one-line command with no wallet, no API key, and no configuration:
curl -fsS https://intel.twzrd.xyz/v1/intel/demo-gate | jq '{verdict: (.steps[] | select(.name == "block_path") | .verdict), approved: (.steps[] | select(.name == "block_path") | .approved), signerInvocations: (.steps[] | select(.name == "block_path") | .signer_invocations), mode, ok}'Without jq, run: curl -fsS https://intel.twzrd.xyz/v1/intel/demo-gate
Expected output:
{
"verdict": "block",
"approved": false,
"signerInvocations": 0,
"mode": "no_spend",
"ok": true
}Blocks happen before your signer is invoked (signerInvocations: 0) — zero USDC at risk.
Related MCP server: x402 Payment Gateway MCP Server
From this repo
This checkout is a public monorepo, not npm install twzrd-x402-gate. CI is
root npm ci then npm run ci (Node 20). Do not npm ci inside
twzrd-x402-gate/ — gate typecheck needs sibling twzrd-log-verifier deps
from the root lockfile.
npm ci
npm run build
npm run typecheck
npm test --workspace=twzrd-x402-gate
npm run gate-eval-refuse --workspace=twzrd-x402-gategate-eval-refuse is the hello-world that closes (0 USDC, signer_invocation_count: 0).
It needs egress to https://intel.twzrd.xyz. Artifact dirs (eliza-plugin/,
plugin-trustgate/, twzrd-mcp-server/) are dist/ mirrors — do not try to
build or demo them locally. Hosted MCP: https://intel.twzrd.xyz/mcp.
Quickstart
1. Install
npm install twzrd-x402-gate@0.9.9 x402-solana@3.0.02. Wrap paid fetches with spend controls
import { twzrd } from "twzrd-x402-gate";
const result = await twzrd.safeFetch("https://merchant.example/paid-endpoint", {
maxSpend: "0.10", // per-call cap AND cumulative budget in USD
allowNetworks: ["solana"], // allowed settlement networks
requireOfferBinding: true, // demand an on-chain verifiable bind-v1 receipt
pay: async ({ url, paymentRequired, selected }) => {
// Your existing x402 client signs here — e.g. @x402/fetch + your signer
return await myWallet.payX402(url, paymentRequired, selected);
},
});
// On block: result.verdict === "block", result.signerInvocations === 03. Or hook an existing client
import { createX402Client } from "x402-solana";
import { createTwzrdBeforePaymentHook } from "twzrd-x402-gate";
const client = createX402Client({
wallet,
network: "solana",
beforePayment: createTwzrdBeforePaymentHook({ refuseWashFlagged: true }),
});Commerce loop
One path. Install twzrd-x402-gate@0.9.9. Free preflight does not enforce; AutoGate on the pay path does.
Install the gate —
npm i twzrd-x402-gate@0.9.9theninstallTwzrdAutoGateCold-start (optional) —
npx twzrd-cold-startwrites a default-denypolicy.jsonfrom a pinned foreign 402 diet (0 USDC; not a TWZRD bazaar)Directory —
GET /v1/intel/resources(orlistDirectoryCallables) — bazaars list; TWZRD sits besidePreflight — free ReadinessCard + merchant_card wash refuse
Pay only when policy allows — blocks have
signerInvocations === 0Clearance ($0.001) —
quickCheck+ portabletwzrd.payment_decision.v1(npx twzrd-payment-decision --verify)Evidence bundle —
exportEvidenceBundle/npx twzrd-evidence-bundleOptional Path A — $0.05 V7 intel receipt. Not the primary SKU.
Refuse-first demo (0 USDC): npx tsx twzrd-x402-gate/examples/commerce-kit.ts
Cold-start diet (0 USDC): npx twzrd-cold-start
Walkthrough: docs/COMMERCE-KIT.md
Default Protection Sequence
Discover —
GET /v1/intel/resources(resource catalog)Merchant card —
GET /v1/intel/merchant_card/{pay_to}(refuse ifwash_flagged: true)Preflight —
POST /v1/intel/preflight→ ReadinessCard (allow / warn / block)Clearance ($0.001) —
GET /v1/intel/quick/{pay_to}+twzrd.payment_decision.v1Pay — sign only when preflight & spend policy allow
# Free preflight (no signup, no wallet)
curl -s -X POST https://intel.twzrd.xyz/v1/intel/preflight \
-H 'content-type: application/json' \
-d '{"seller_wallet":"46vMcwuC4sK11sB3gkLhyA7J7GEwfkhn5rFyDtihBwqe","price_usdc":0.01,"agent_intent":"preflight"}'Packages & References
Package | Pin | Description |
| @0.9.8 | Spend-control SDK ( |
| @3.0.0 | Compatible Solana client seat for the pre-payment gate |
| @^1.4.0 | Standalone offline verifier for Ed25519 V5/V6/V7 receipts |
| @0.5.4 (this tree) | Local spend-capped auto-pay client (6 tools); prefer hosted MCP |
| @^0.3.7 | Eliza / facilitator adapter |
Commerce loop (don't sign blind): docs/COMMERCE-KIT.md
Step-by-step Guide: QUICKSTART.md
Concepts & Architecture: docs/taxonomy.md
V6/V7 Receipt Specification: docs/receipt-v6-spec.md
Receipt Transparency Log: docs/transparency-log.md (in-repo
twzrd-log-verifier— not on npm)Receipt Verification & Ground Truth: REVIEW.md
Security Policy: SECURITY.md · docs/security-assurance.md
This server cannot be deployed
Maintenance
Related MCP Connectors
Pre-payment merchant trust checks for x402 agents on Base and Solana.
Pre-trade token safety checks for AI agents on Solana and Base. x402 USDC per call, no key.
Verify x402 payment endpoints before an AI agent pays: scam scan, on-chain checks, trust scores.
Escrow protection for agent payments on Base — USDC held in smart contract until job completion.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to manage USDC wallets on Solana, allowing them to send payments, create invoices, and access paid APIs within human-defined spending limits. It uses threshold signatures to provide agents with financial autonomy while ensuring secure oversight and transaction approval.36286 npm3Apache 2.0
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to make micropayments using USDC on Solana via the x402 protocol, supporting payment requests, on-chain verification, and revenue tracking.MIT
- AlicenseAqualityAmaintenancex402-trust gives AI agents a "check before you pay" layer for the x402 ecosystem.13232 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to make autonomous payments on Solana with on-chain enforced spending limits, preventing unauthorized fund drainage.2 npm1MIT