Overview
AgentPay SDK enables AI agents to hold and spend USD1 on EVM chains.@sigilcore/agent-hooks provides a
decision helper for AgentPay transfers. The payment host must call it and refuse
signing unless it returns approved: true.
When the host invokes the helper before signing a USD1 transfer on Ethereum
(chainId 1) or BNB Smart Chain (chainId 56), the wallet.transfer action routes
through your Sigil policy first. The helper does not interpose AgentPay by
itself and cannot stop a caller that ignores or bypasses the result.
The layers are additive: AgentPay handles payment mechanics and key management. Sigil determines whether the agent is authorized to initiate the payment at all. AgentPay tells agents how to spend. Sigil tells agents what theyโre allowed to do.
@sigilcore/agent-hooks ships a dedicated AgentPay export:
checkAgentPayTransfer. It normalizes chain id, recipient, transfer amount,
transaction commit, and AgentPay metadata into a wallet.transfer intent. It
forces failMode: 'closed' for value-transfer checks.
This adapter does not emit typed http intents; HTTP method derivation is not part of the AgentPay transfer payload.
Usage
Supported Chains
USD1 is pre-configured on:
Both chains are already in Sigil Signโs supported EVM chain set. No policy changes required to govern USD1 transfers on either chain.
Policy Configuration
To enforce limits on USD1 agent transfers, add an## evm block to your warranty.md: