Skip to content

Time-boxed agent allowances via escrow module #1

Description

@Ashutosh0x

Problem

Giving an AI agent an API key today grants everything the key can do. The safe pattern is an on-chain allowance: funds an agent can spend up to a cap, reclaimable by the owner.

Proposal

Build on the existing time-locked escrow to expose an allowance primitive: createAllowance(agent, cap, expiry) — the agent can draw down up to cap until expiry; the owner can revoke anytime; unspent funds return automatically.

Pairs with the spend-mandate RFC in furlpay-x402: mandates bound what the facilitator settles, allowances bound what the wallet can sign at all — defense in depth.

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

    agentic-paymentsx402, spend mandates, Know-Your-Agent — the frontierhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions