Skip to content
This repository was archived by the owner on Nov 20, 2026. It is now read-only.
This repository was archived by the owner on Nov 20, 2026. It is now read-only.

[Proposal] SpendAuthority tool wrapper: external fail-closed gate + signed receipts for paid tool calls #8377

Open

Description

AutoGen's tool execution is where a spend gate composes best: agents paying APIs (x402, metered HTTP) get each payment intent checked by an external authority before the tool runs.

  • fail-closed: 2xx + explicit allow -> proceed; timeout / malformed / non-2xx -> deny (never fail-open)
  • (caller_id, operation_id) replay guard, atomic across restarts
  • Ed25519-signed verdicts + hash-chained receipts, auditable offline

Reference contract: solana-foundation/pay#525 (Rust reference; production). Proposal: a SpendAuthority tool wrapper (opt-in per tool or per agent). We'd contribute it.

Docs: https://utalabs.tech - Edison Flores, AliceLabs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions