Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How Does an AI Agent Check Whether It Should Pay Before It Spends? The /bin/bash.005 Spend Gate

说明与用途

Spend Gate 通过四条独立的证据路径和一致性评分,在允许钱包签名之前评估 AI 代理的支付,防止超额或不可信的交易。

问题

An AI agent needs to decide whether to pay a payee before signing a transaction, avoiding unnecessary or risky spend.

结果

Spend Gate successfully passed a $0.001 USDC payment with coherence 1.0 and blocked a $5.00 over‑cap payment with coherence 1.0, costing $0.005 USDC per check.

工作流

  • 1. Intercept the 402 challenge before wallet signing.
  • 2. Send payee, quoted amount, tool category, and optional manifest_url to Spend Gate via POST /x402/spend-gate.
  • 3. Receive verdict: if gate_pass true and pay consensus, proceed to sign; if false, abort and review rejection reason.
  • 4. If pass, optionally invoke Jev decision model for final judgment.
  • 5. Sign or abort based on verdict and model output.

证据

The gate passes a $0.001 USDC call at coherence 1.0 and blocked a $5.00 over‑cap call at coherence 1.0 — consensus reject, Jev never fired, zero decision-model spend on the block.

来源

Four paths evaluate the payment independently — path independence is the point: a number computed from paths that copy each other would claim agreement that never happened.

来源

  • 记录日期: 2026-10-27T01:11:19.779Z