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