plugin-x402-endpoints 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2119,6 +2119,416 @@ var catalog_default = {
2119
2119
  "content"
2120
2120
  ]
2121
2121
  }
2122
+ },
2123
+ {
2124
+ tool: "crypto_pre_trade_verdict",
2125
+ action: "X402_CRYPTO_PRE_TRADE_VERDICT",
2126
+ path: "/crypto/pre-trade-verdict",
2127
+ method: "GET",
2128
+ price: "$0.05",
2129
+ description: "One-call GO/CAUTION/NO-GO pre-trade verdict for AI trading agents: fuses token safety (honeypot, rug, tax, holders), counterparty wallet sanctions screening (OFAC/mixer) and cross-exchange market signal into a single decision with a signed, offline-verifiable receipt. Should I buy this token now? Replaces three separate calls (token-safety + wallet-screen + signal) with one fused GO/NO-GO verdict. EVM chains and Solana. Price: $0.05 per call (x402 payment, USDC on Base mainnet). One-call GO/CAUTION/NO-GO pre-trade verdict fusing token safety (honeypot/rug/tax) + counterparty sanctions screening (OFAC/mixer) + cross-exchange market signal, with a signed receipt. Replaces three calls. EVM + Solana. Input: token (+chain, optional wallet).",
2130
+ llm_usage_prompt: "One-call GO/CAUTION/NO-GO pre-trade verdict fusing token safety (honeypot/rug/tax) + counterparty sanctions screening (OFAC/mixer) + cross-exchange market signal, with a signed receipt. Replaces three calls. EVM + Solana. Input: token (+chain, optional wallet).",
2131
+ tags: [
2132
+ "pre-trade-verdict",
2133
+ "token-safety",
2134
+ "go-no-go",
2135
+ "counterparty-screen",
2136
+ "trading-decision"
2137
+ ],
2138
+ inputSchema: {
2139
+ type: "object",
2140
+ properties: {
2141
+ token: {
2142
+ type: "string",
2143
+ description: "Token contract (EVM 0x+40hex) or SPL mint (base58) to evaluate"
2144
+ },
2145
+ chain: {
2146
+ type: "string",
2147
+ description: "base | ethereum | bsc | polygon | arbitrum | optimism | avalanche | solana (default base)"
2148
+ },
2149
+ wallet: {
2150
+ type: "string",
2151
+ description: "Optional counterparty wallet to screen (OFAC/mixer)"
2152
+ }
2153
+ },
2154
+ required: [
2155
+ "token"
2156
+ ]
2157
+ }
2158
+ },
2159
+ {
2160
+ tool: "agent_ledger",
2161
+ action: "X402_AGENT_LEDGER",
2162
+ path: "/agent/ledger",
2163
+ method: "GET",
2164
+ price: "$0.04",
2165
+ description: "Your AI agent's books in one call: structured USDC accounting for any wallet on Base (the x402 settlement asset) \u2014 revenue (incoming) vs expenses (outgoing), net, transaction count, top paying counterparties and payees, and a weekly breakdown over a 7d/30d/90d window. Turnkey bookkeeping / expense and revenue report an agent can drop straight into its accounting. The value is the structuring, not raw data access. Price: $0.04 per call (x402 payment, USDC on Base mainnet). Structured USDC accounting for a wallet on Base: revenue vs expenses, net, tx count, top payers/payees, weekly breakdown. Your agent's books in one call. Input: wallet (+period 7d/30d/90d).",
2166
+ llm_usage_prompt: "Structured USDC accounting for a wallet on Base: revenue vs expenses, net, tx count, top payers/payees, weekly breakdown. Your agent's books in one call. Input: wallet (+period 7d/30d/90d).",
2167
+ tags: [
2168
+ "agent-ledger",
2169
+ "x402-accounting",
2170
+ "usdc-bookkeeping",
2171
+ "revenue-expenses",
2172
+ "onchain-ledger"
2173
+ ],
2174
+ inputSchema: {
2175
+ type: "object",
2176
+ properties: {
2177
+ wallet: {
2178
+ type: "string",
2179
+ description: "EVM wallet address (0x + 40 hex) to report on",
2180
+ pattern: "^0x[a-fA-F0-9]{40}$"
2181
+ },
2182
+ period: {
2183
+ type: "string",
2184
+ description: "Reporting window: 7d | 30d | 90d | all (default 30d)"
2185
+ }
2186
+ },
2187
+ required: [
2188
+ "wallet"
2189
+ ]
2190
+ }
2191
+ },
2192
+ {
2193
+ tool: "proof_notarize",
2194
+ action: "X402_PROOF_NOTARIZE",
2195
+ path: "/proof/notarize",
2196
+ method: "GET",
2197
+ price: "$0.01",
2198
+ description: "Notarize a document or data hash for AI agents: submit a SHA-256 hash (or short content hashed server-side) and get a timestamped, Ed25519-signed proof-of-existence receipt, verifiable offline with no callback. Prove an artifact, agent output or decision existed at a point in time. Honest scope: this is a SIGNED proof-of-existence receipt, NOT a blockchain-anchored or eIDAS/RFC-3161 legal timestamp. The issuer never sees your content when you send only a hash. Price: $0.01 per call (x402 payment, USDC on Base mainnet). Notarize a SHA-256 hash (or short content hashed server-side) into a timestamped, Ed25519-signed proof-of-existence receipt, verifiable offline. Signed proof, NOT a blockchain-anchored or legal (eIDAS/RFC 3161) timestamp. Input: hash or content (+memo).",
2199
+ llm_usage_prompt: "Notarize a SHA-256 hash (or short content hashed server-side) into a timestamped, Ed25519-signed proof-of-existence receipt, verifiable offline. Signed proof, NOT a blockchain-anchored or legal (eIDAS/RFC 3161) timestamp. Input: hash or content (+memo).",
2200
+ tags: [
2201
+ "notary",
2202
+ "proof-of-existence",
2203
+ "timestamp",
2204
+ "ed25519-signature",
2205
+ "hash-attestation"
2206
+ ],
2207
+ inputSchema: {
2208
+ type: "object",
2209
+ properties: {
2210
+ hash: {
2211
+ type: "string",
2212
+ description: "SHA-256 hex digest (64 hex chars) to notarize",
2213
+ pattern: "^[0-9a-fA-F]{64}$"
2214
+ },
2215
+ content: {
2216
+ type: "string",
2217
+ description: "Alternative to hash: short content hashed server-side (SHA-256), max 100000 chars"
2218
+ },
2219
+ memo: {
2220
+ type: "string",
2221
+ description: "Optional label bound into the signed proof, e.g. 'invoice #42'"
2222
+ }
2223
+ }
2224
+ }
2225
+ },
2226
+ {
2227
+ tool: "crypto_token_dossier",
2228
+ action: "X402_CRYPTO_TOKEN_DOSSIER",
2229
+ path: "/crypto/token-dossier",
2230
+ method: "GET",
2231
+ price: "$0.10",
2232
+ description: "Full degen token dossier in one call: safety score + honeypot/tax + detailed TOP HOLDERS and concentration + liquidity/FDV/volume/pool-age + contract control (owner, creator, mintable, open-source) + an AI red-flag narrative. Deep due-diligence report on a token before aping \u2014 the premium tier above a plain safety check. EVM chains and Solana. Price: $0.10 per call (x402 payment, USDC on Base mainnet). Full token dossier: safety score + top holders + concentration + liquidity/FDV/pool-age + contract control (owner/creator/mintable) + AI red-flag narrative. Premium tier above a plain safety check. EVM + Solana. Input: token (+chain).",
2233
+ llm_usage_prompt: "Full token dossier: safety score + top holders + concentration + liquidity/FDV/pool-age + contract control (owner/creator/mintable) + AI red-flag narrative. Premium tier above a plain safety check. EVM + Solana. Input: token (+chain).",
2234
+ tags: [
2235
+ "token-dossier",
2236
+ "holders",
2237
+ "liquidity",
2238
+ "rug-check",
2239
+ "red-flags"
2240
+ ],
2241
+ inputSchema: {
2242
+ type: "object",
2243
+ properties: {
2244
+ token: {
2245
+ type: "string",
2246
+ description: "Token contract (EVM 0x+40hex) or SPL mint (base58)"
2247
+ },
2248
+ chain: {
2249
+ type: "string",
2250
+ description: "base | ethereum | bsc | polygon | arbitrum | optimism | avalanche | solana (default base)"
2251
+ }
2252
+ },
2253
+ required: [
2254
+ "token"
2255
+ ]
2256
+ }
2257
+ },
2258
+ {
2259
+ tool: "market_intel",
2260
+ action: "X402_MARKET_INTEL",
2261
+ path: "/market/intel",
2262
+ method: "GET",
2263
+ price: "$0.10",
2264
+ description: "AI market intelligence report in one call for research and trading agents: cross-exchange perp derivatives (funding, open interest, long/short), fused directional signals and the euro-area macro snapshot (ECB inflation, policy rates, unemployment, EUR FX) synthesized into a headline, crypto and macro outlook, key signals, risks and opportunities. Multi-source market research report with a crypto + macro/EU lens. Price: $0.10 per call (x402 payment, USDC on Base mainnet). AI market intelligence report: cross-exchange perp derivatives (funding/OI/long-short) + fused directional signals + euro-area ECB macro (inflation, rates, unemployment, FX) synthesized into headline, crypto and macro outlook, key signals, risks, opportunities. Input: focus (crypto/macro/all), depth.",
2265
+ llm_usage_prompt: "AI market intelligence report: cross-exchange perp derivatives (funding/OI/long-short) + fused directional signals + euro-area ECB macro (inflation, rates, unemployment, FX) synthesized into headline, crypto and macro outlook, key signals, risks, opportunities. Input: focus (crypto/macro/all), depth.",
2266
+ tags: [
2267
+ "market-intelligence",
2268
+ "crypto-market-report",
2269
+ "macro",
2270
+ "derivatives",
2271
+ "research"
2272
+ ],
2273
+ inputSchema: {
2274
+ type: "object",
2275
+ properties: {
2276
+ focus: {
2277
+ type: "string",
2278
+ description: "crypto | macro | all (default all)"
2279
+ },
2280
+ depth: {
2281
+ type: "string",
2282
+ description: "quick | deep \u2014 deep adds SOL and more web signals (default quick)"
2283
+ }
2284
+ }
2285
+ }
2286
+ },
2287
+ {
2288
+ tool: "crypto_wallet_forensics",
2289
+ action: "X402_CRYPTO_WALLET_FORENSICS",
2290
+ path: "/crypto/wallet-forensics",
2291
+ method: "GET",
2292
+ price: "$0.15",
2293
+ description: "Multi-hop wallet forensics for AI agents: traverse an address's ERC-20 counterparty graph across 1-3 hops and get the flow graph (nodes + edges), ranked counterparties (direction, tokens, activity) and detected patterns \u2014 flow concentration, circular flows, linked/clustered wallets and high-degree hubs (exchange/mixer/deployer) \u2014 plus a signed receipt. Trace where funds move and who is connected. EVM chains. Price: $0.15 per call (x402 payment, USDC on Base mainnet). Multi-hop wallet forensics: ERC-20 counterparty flow graph (1-3 hops), ranked counterparties, pattern detection (flow concentration, circular flows, linked wallets, high-degree hubs) + signed receipt. Input: wallet (+depth 1-3, chain).",
2294
+ llm_usage_prompt: "Multi-hop wallet forensics: ERC-20 counterparty flow graph (1-3 hops), ranked counterparties, pattern detection (flow concentration, circular flows, linked wallets, high-degree hubs) + signed receipt. Input: wallet (+depth 1-3, chain).",
2295
+ tags: [
2296
+ "wallet-forensics",
2297
+ "flow-graph",
2298
+ "counterparties",
2299
+ "multi-hop",
2300
+ "pattern-detection"
2301
+ ],
2302
+ inputSchema: {
2303
+ type: "object",
2304
+ properties: {
2305
+ wallet: {
2306
+ type: "string",
2307
+ description: "EVM wallet address (0x + 40 hex) to investigate",
2308
+ pattern: "^0x[a-fA-F0-9]{40}$"
2309
+ },
2310
+ depth: {
2311
+ type: "integer",
2312
+ description: "Graph hops to traverse: 1, 2 or 3 (default 2)"
2313
+ },
2314
+ chain: {
2315
+ type: "string",
2316
+ description: "base | ethereum | optimism | polygon | arbitrum | gnosis (default base)"
2317
+ }
2318
+ },
2319
+ required: [
2320
+ "wallet"
2321
+ ]
2322
+ }
2323
+ },
2324
+ {
2325
+ tool: "chain_events",
2326
+ action: "X402_CHAIN_EVENTS",
2327
+ path: "/chain/events",
2328
+ method: "GET",
2329
+ price: "$0.05",
2330
+ description: "On-demand, decoded on-chain events for AI agents: query a contract's event logs on Base (eth_getLogs) and get normalized, human-readable events \u2014 Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn \u2014 with raw topics for unknown signatures. Filter by event name, full signature or topic0, and by block range or lookback. Decoded event feed with no RPC setup, block span capped. Price: $0.05 per call (x402 payment, USDC on Base mainnet). Decoded, normalized on-chain events via eth_getLogs on Base: Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn \u2014 raw topics for unknown signatures. Filter by event name/signature/topic0 and block range. Input: contract (+event, block range/lookback).",
2331
+ llm_usage_prompt: "Decoded, normalized on-chain events via eth_getLogs on Base: Transfer, Approval, ERC-1155 TransferSingle/Batch, Uniswap V2/V3 Swap, Sync, Mint, Burn \u2014 raw topics for unknown signatures. Filter by event name/signature/topic0 and block range. Input: contract (+event, block range/lookback).",
2332
+ tags: [
2333
+ "onchain-events",
2334
+ "eth-getlogs",
2335
+ "event-logs",
2336
+ "decoded-events",
2337
+ "base"
2338
+ ],
2339
+ inputSchema: {
2340
+ type: "object",
2341
+ properties: {
2342
+ contract: {
2343
+ type: "string",
2344
+ description: "Contract address to read logs from (0x + 40 hex)",
2345
+ pattern: "^0x[a-fA-F0-9]{40}$"
2346
+ },
2347
+ event: {
2348
+ type: "string",
2349
+ description: "Event name (Transfer/Approval/Swap/Mint/Burn/TransferSingle/Sync), full signature 'Transfer(address,address,uint256)', or 0x topic0. Omit for all."
2350
+ },
2351
+ from_block: {
2352
+ type: "integer",
2353
+ description: "Start block (inclusive). Omit to use lookback."
2354
+ },
2355
+ to_block: {
2356
+ type: "integer",
2357
+ description: "End block (inclusive). Omit for latest."
2358
+ },
2359
+ lookback: {
2360
+ type: "integer",
2361
+ description: "If from/to omitted, scan the last N blocks (1-5000, default 2000)"
2362
+ },
2363
+ limit: {
2364
+ type: "integer",
2365
+ description: "Max events (1-100, most recent in range)"
2366
+ }
2367
+ },
2368
+ required: [
2369
+ "contract"
2370
+ ]
2371
+ }
2372
+ },
2373
+ {
2374
+ tool: "x402_seller_audit",
2375
+ action: "X402_X402_SELLER_AUDIT",
2376
+ path: "/x402/seller-audit",
2377
+ method: "GET",
2378
+ price: "$0.50",
2379
+ description: "Deep audit of an x402/ACP seller before trusting it: give a seller wallet or domain and get a full report \u2014 on-chain settlement reputation (settlements, unique counterparties, wash-trade/sybil, OFAC), the seller's advertised endpoints (from its /.well-known/x402.json), on-chain liveness, web reputation and red flags \u2014 fused into a TRUSTED/CAUTION/AVOID verdict with a signed, offline-verifiable receipt. Deeper than a pass/fail badge: the full seller due-diligence dossier for agentic payments. Price: $0.50 per call (x402 payment, USDC on Base mainnet). Deep x402 seller audit: on-chain settlement reputation (wash-trade/sybil/OFAC) + advertised endpoints from its /.well-known/x402.json + on-chain liveness + web reputation fused into TRUSTED/CAUTION/AVOID with a signed receipt. Deeper than a pass/fail badge. Input: seller wallet or domain.",
2380
+ llm_usage_prompt: "Deep x402 seller audit: on-chain settlement reputation (wash-trade/sybil/OFAC) + advertised endpoints from its /.well-known/x402.json + on-chain liveness + web reputation fused into TRUSTED/CAUTION/AVOID with a signed receipt. Deeper than a pass/fail badge. Input: seller wallet or domain.",
2381
+ tags: [
2382
+ "x402-seller-audit",
2383
+ "seller-reputation",
2384
+ "endpoint-audit",
2385
+ "due-diligence",
2386
+ "counterparty-risk"
2387
+ ],
2388
+ inputSchema: {
2389
+ type: "object",
2390
+ properties: {
2391
+ seller: {
2392
+ type: "string",
2393
+ description: "Seller wallet (0x + 40 hex) or domain, e.g. 'api.example.com'"
2394
+ },
2395
+ depth: {
2396
+ type: "string",
2397
+ description: "On-chain depth: 'shallow' (~200 settlements) or 'deep' (~500)"
2398
+ }
2399
+ },
2400
+ required: [
2401
+ "seller"
2402
+ ]
2403
+ }
2404
+ },
2405
+ {
2406
+ tool: "agent_clearance_packet",
2407
+ action: "X402_AGENT_CLEARANCE_PACKET",
2408
+ path: "/agent/clearance-packet",
2409
+ method: "GET",
2410
+ price: "$1.50",
2411
+ description: "Signed clearance packet an AI agent buys BEFORE moving significant capital to a counterparty wallet: one call fuses OFAC/sanctions + mixer screening, multi-hop fund-flow forensics (circular/layering, concentration, hubs) and on-chain counterparty settlement trust into a single CLEAR/REVIEW/BLOCK verdict with the evaluated amount, a policy-bounded APPROVED amount, structured reasons, a short expiry and an Ed25519 signature verifiable offline. Can I send this capital to THIS wallet? Amount-scoped; the packet expires and is re-bought at the next move. Pre-payment AML/KYT clearance and counterparty due-diligence for autonomous agents. Price: $1.50 per call (x402 payment, USDC on Base mainnet). Signed clearance packet before an agent moves significant capital to a wallet: fuses OFAC/sanctions + mixer screening, multi-hop fund-flow forensics (circular/layering, concentration, hubs) and on-chain counterparty settlement trust into one CLEAR/REVIEW/BLOCK verdict with the evaluated amount, a policy-bounded approved amount, a short expiry and an Ed25519 signature verifiable offline. Pre-payment AML/KYT clearance and counterparty due-diligence for autonomous agents. Input: to (counterparty wallet) + amount_usd (+ optional depth).",
2412
+ llm_usage_prompt: "Signed clearance packet before an agent moves significant capital to a wallet: fuses OFAC/mixer screening + multi-hop fund-flow forensics + on-chain counterparty settlement trust into one CLEAR/REVIEW/BLOCK verdict with the evaluated amount, a policy-bounded approved amount, a short expiry and an Ed25519 signature. Input: to + amount_usd (+depth).",
2413
+ tags: [
2414
+ "clearance-packet",
2415
+ "pre-transaction-compliance",
2416
+ "aml-screening",
2417
+ "wallet-forensics",
2418
+ "counterparty-risk"
2419
+ ],
2420
+ inputSchema: {
2421
+ type: "object",
2422
+ properties: {
2423
+ to: {
2424
+ type: "string",
2425
+ description: "Counterparty EVM wallet the capital will move to (0x + 40 hex)",
2426
+ pattern: "^0x[a-fA-F0-9]{40}$"
2427
+ },
2428
+ amount_usd: {
2429
+ type: "number",
2430
+ description: "Capital about to move, in USD, e.g. 800 \u2014 scopes the verdict and approved amount"
2431
+ },
2432
+ depth: {
2433
+ type: "integer",
2434
+ description: "Forensics graph hops: 1, 2 or 3 (default 2)"
2435
+ }
2436
+ },
2437
+ required: [
2438
+ "to",
2439
+ "amount_usd"
2440
+ ]
2441
+ }
2442
+ },
2443
+ {
2444
+ tool: "agent_visibility_audit",
2445
+ action: "X402_AGENT_VISIBILITY_AUDIT",
2446
+ path: "/agent/visibility-audit",
2447
+ method: "GET",
2448
+ price: "$1.00",
2449
+ description: "Audit how discoverable an x402 agent/seller is across the agent registries (CDP Bazaar, 402index) and get the exact fixes: keyword-RELEVANCE rank per category (not the raw settled-volume rank the free explorers show), a metadata-quality score of your advertised endpoints (description density, typed input schema, real output.example, tags, llm_usage_prompt), on-chain settle activity, a top-3 competitor benchmark, impact-prioritized fixes, and a DELTA vs a previous signed snapshot you carry back ('+N places since <date>'). Why am I not being found, and how do I climb? Discovery/GEO/AEO audit for x402 sellers, signed Ed25519. Price: $1.00 per call (x402 payment, USDC on Base mainnet). Discoverability audit of an x402 agent/seller across the agent registries (CDP Bazaar, 402index): keyword-relevance rank per category (not raw settled-volume rank), metadata-quality score of advertised endpoints (description density, typed input schema, output.example, tags, llm_usage_prompt), on-chain settle activity, top-3 competitor benchmark, impact-prioritized fixes, and a signed delta vs a previous snapshot you carry back. Why am I not being found and how do I climb? Discovery/GEO/AEO audit for x402 sellers. Input: seller (wallet or origin domain) (+ optional prior signed snapshot).",
2450
+ llm_usage_prompt: "Discoverability audit of an x402 seller across the agent registries: keyword-relevance rank per category, metadata-quality score, on-chain settle activity, top-3 benchmark, prioritized fixes, and a signed delta vs a prior snapshot. GEO/AEO for x402 sellers. Input: seller (wallet or domain) (+snapshot).",
2451
+ tags: [
2452
+ "visibility-audit",
2453
+ "x402-discoverability",
2454
+ "bazaar-ranking",
2455
+ "aeo-geo",
2456
+ "registry-optimization"
2457
+ ],
2458
+ inputSchema: {
2459
+ type: "object",
2460
+ properties: {
2461
+ seller: {
2462
+ type: "string",
2463
+ description: "Seller to audit: wallet (0x + 40 hex) or origin URL/domain, e.g. 'api.example.com' or '0x1D1B...620f'"
2464
+ },
2465
+ snapshot: {
2466
+ type: "string",
2467
+ description: "Optional: the signed_snapshot JSON from a previous audit, to compute a dated delta"
2468
+ }
2469
+ },
2470
+ required: [
2471
+ "seller"
2472
+ ]
2473
+ }
2474
+ },
2475
+ {
2476
+ tool: "agent_rank_check",
2477
+ action: "X402_AGENT_RANK_CHECK",
2478
+ path: "/agent/rank-check",
2479
+ method: "GET",
2480
+ price: "$0.10",
2481
+ description: "Quick check of where an x402 seller ranks RIGHT NOW by keyword-relevance in the CDP Bazaar discovery (not the raw settled-volume rank the free explorers show): best rank + per-category-keyword rank in one cheap call, plus a pointer to the full /agent/visibility-audit when the rank slips. The frequent pulse for monitoring your x402 discoverability. Where do I rank now? Am I being out-ranked on my category keywords? Price: $0.10 per call (x402 payment, USDC on Base mainnet). Quick keyword-relevance rank of an x402 seller in CDP Bazaar discovery (not the raw settled-volume rank the free explorers show): best rank + per-category-keyword rank in one cheap call, plus a pointer to the full visibility-audit when the rank slips. The frequent pulse for monitoring x402 discoverability. Input: seller (wallet or origin domain).",
2482
+ llm_usage_prompt: "Quick keyword-relevance rank of an x402 seller in CDP Bazaar discovery (not raw settled-volume rank) + a pointer to the full visibility-audit when the rank slips. Input: seller (wallet or domain).",
2483
+ tags: [
2484
+ "rank-check",
2485
+ "x402-discoverability",
2486
+ "bazaar-ranking",
2487
+ "keyword-rank",
2488
+ "discovery-monitor"
2489
+ ],
2490
+ inputSchema: {
2491
+ type: "object",
2492
+ properties: {
2493
+ seller: {
2494
+ type: "string",
2495
+ description: "Seller to check: wallet (0x + 40 hex) or origin URL/domain, e.g. 'api.example.com'"
2496
+ }
2497
+ },
2498
+ required: [
2499
+ "seller"
2500
+ ]
2501
+ }
2502
+ },
2503
+ {
2504
+ tool: "agent_passport",
2505
+ action: "X402_AGENT_PASSPORT",
2506
+ path: "/agent/passport",
2507
+ method: "GET",
2508
+ price: "$1.00",
2509
+ description: "Measured-vs-declared reputation dossier for an AI agent, corrected for Sybil manipulation. Give an ERC-8004 agent id or a wallet: reads the on-chain ERC-8004 Identity + Reputation registries on Base, computes the DECLARED reputation (review count/reviewers/values) then the MEASURED, Sybil-corrected reputation (deterministic signals: owner agent-farming, reviewers with no economic footprint, review concentration, value uniformity, placeholder tags, and whether real on-chain settlements back the reviews), and returns the DELTA + a signed, offline-verifiable verdict. Is this agent's reputation real or inflated? ERC-8004 reputation is widely Sybil-manipulated (arXiv:2606.26028); the declared-vs-measured gap is the product. Audit-grade, not a score lookup. Price: $1.00 per call (x402 payment, USDC on Base mainnet). Measured-vs-declared ERC-8004 agent reputation dossier, Sybil-corrected: reads the on-chain ERC-8004 Identity + Reputation registries on Base, computes the declared reputation (review count/reviewers/values) then the measured, Sybil-corrected reputation (owner agent-farming, footprint-less reviewers, review concentration, value uniformity, placeholder tags, unbacked-by-settlement), and returns the delta + a signed offline-verifiable verdict. Is this agent's reputation real or inflated? Audit-grade counterparty due-diligence. Input: agent_id (ERC-8004 tokenId) OR wallet.",
2510
+ llm_usage_prompt: "Measured-vs-declared ERC-8004 agent reputation dossier, Sybil-corrected: reads on-chain ERC-8004 Identity + Reputation registries, computes declared then measured (Sybil signals) reputation, returns the delta + a signed verdict. Is this agent's reputation real or inflated? Input: agent_id (ERC-8004 tokenId) OR wallet.",
2511
+ tags: [
2512
+ "agent-passport",
2513
+ "erc-8004",
2514
+ "agent-reputation",
2515
+ "sybil-detection",
2516
+ "counterparty-due-diligence"
2517
+ ],
2518
+ inputSchema: {
2519
+ type: "object",
2520
+ properties: {
2521
+ agent_id: {
2522
+ type: "integer",
2523
+ description: "ERC-8004 agent identity tokenId (IdentityRegistry). Provide this OR wallet."
2524
+ },
2525
+ wallet: {
2526
+ type: "string",
2527
+ description: "Agent wallet (0x + 40 hex); resolved to its ERC-8004 agentId. Provide this OR agent_id.",
2528
+ pattern: "^0x[a-fA-F0-9]{40}$"
2529
+ }
2530
+ }
2531
+ }
2122
2532
  }
2123
2533
  ]
2124
2534
  };