Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

valiron-trust-layer

bởi vatsashah45

Browser & Automation
278Lượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Intercept and authorize outgoing machine-to-machine payments (x402 or similar) using @valiron/sdk trust decisions.

Mô tả

Kỹ năng này làm gì

Adds a trust gate in front of outgoing machine-to-machine payments. Before payment execution, it checks the counterparty agent's identity via @valiron/sdk, applies a configurable policy (allow, throttle, sandbox, or deny), and records the decision for audit.

Applies deterministic policy checks and spend controls before any payment commitment rather than relying on free-form model output, reducing the risk of unauthorized or runaway agent spending.

Khi nào nên dùng

  • Blocking payments to untrusted agents automatically
  • Throttling spend when counterparty trust score is low
  • Sandboxing test payments to unverified agents
  • Auditing every outgoing payment decision with structured logs
  • Enforcing per-route spend limits on autonomous agent wallets

Quy trình ví dụ

ĐẦU VÀO

User asks: Process a payment to agent 0xABC for API access

AGENT
  1. 1

    Extract counterpartyAgentId from the incoming payment request

  2. 2

    Call checkAgent(agentId) to retrieve a trust decision from Valiron

  3. 3

    Map the trust result to a route using the decision policy (prod, sandbox_only, etc.)

  4. 4

    Evaluate spend controls and per-route caps against the payment amount

  5. 5

    Allow payment and log the authorization, or return an explicit denial reason

ĐẦU RA

Payment is authorized under the prod policy and proceeds to x402 execution, or is denied with a structured rejection reason returned to the caller

Yêu cầu

  • VALIRON_API_KEY environment variable (required for authenticated deployments)

Cài đặt

clawhub install vatsashah45/valiron-trust-layer

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết