pypi twzrd-agent-intelstdioMITupdated 7d ago
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). Free preflight โ optional paid V6 receipt. Not a wallet. Not a payment network.
What can you do with TWZRD Agent Intelligence?
TWZRD
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). Free preflight โ optional paid V6 receipt. Not a wallet. Not a payment network.
Canonical skill (always refresh) โข https://intel.twzrd.xyz/skill.md (twzrd-trust 1.13.16) ยท ClawHub twzrd-trust
Spend-control SDK (npm) โข twzrd-x402-gate@0.9.3 + seat x402-solana@3.0.0
Live MCP โข https://intel.twzrd.xyz/mcp (streamable HTTP โ 24 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.
Quickstart
1. Install
npm install twzrd-x402-gate@0.9.3 x402-solana@3.0.0
2. 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 === 0
3. 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 }),
});
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) - Optional V6 Receipt โ
GET /v1/intel/trust/{pay_to}($0.05 USDC paid receipt) - Pay โ 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 |
|---|---|---|
twzrd-x402-gate |
@0.9.3 | Spend-control SDK (twzrd.safeFetch) + pre-sign gate hooks |
x402-solana |
@3.0.0 | Compatible Solana client seat for the pre-payment gate |
twzrd-receipt-verifier |
@^1.3.0 | Standalone offline verifier for Ed25519 V6 receipts |
twzrd-mcp-server |
@0.5.2 | Local spend-capped auto-pay client (6 tools) |
- Step-by-step Guide: QUICKSTART.md
- Concepts & Architecture: docs/taxonomy.md
- V6 Receipt Specification: docs/receipt-v6-spec.md
- Receipt Verification & Ground Truth: REVIEW.md
- Security Policy: SECURITY.md ยท docs/security-assurance.md
Install
Add TWZRD Agent Intelligence to your client. Pick the one you use.
claude mcp add twzrd-agent-intel -- uvx twzrd-agent-intelcodex mcp add twzrd-agent-intel -- uvx twzrd-agent-intelamp mcp add twzrd-agent-intel -- uvx twzrd-agent-intel{
"mcpServers": {
"twzrd-agent-intel": {
"command": "uvx",
"args": [
"twzrd-agent-intel"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"twzrd-agent-intel": {
"command": "uvx",
"args": [
"twzrd-agent-intel"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"twzrd-agent-intel","command":"uvx","args":["twzrd-agent-intel"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"twzrd-agent-intel": {
"command": "uvx",
"args": [
"twzrd-agent-intel"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"twzrd-agent-intel": {
"command": "uvx",
"args": [
"twzrd-agent-intel"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"twzrd-agent-intel": {
"command": "uvx",
"args": [
"twzrd-agent-intel"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"twzrd-agent-intel": {
"type": "local",
"command": "uvx",
"args": [
"twzrd-agent-intel"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"twzrd-agent-intel": {
"command": {
"path": "uvx",
"args": [
"twzrd-agent-intel"
]
}
}
}
}Add to your Zed `settings.json`.
uvx twzrd-agent-intelRun `goose configure`, choose **Add Extension โ Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance25/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 0 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint โ no local install
Version history
| Versions | Published |
|---|---|
| 0.5.2Latest | Jun 27, 2026 |
| 0.3.7 | Jun 13, 2026 |
| 0.3.6 | Jun 13, 2026 |
| 0.3.4 | Jun 10, 2026 |
| 0.2.12 | Jun 8, 2026 |
| 0.2.8 | Jun 8, 2026 |
| 0.2.7 | Jun 7, 2026 |
| 0.1.1 | Jun 4, 2026 |