Why should an AI agent use idempotency keys for Bitcoin SEND?
Short answer
Network retries can otherwise create duplicate payment attempts. The client should persist a unique operation ID and reuse it for retries of the same intended payment.
Example or implementation consideration
Do not create a fresh key on every retry. Verify the actual engine idempotency contract before relying on it.
Status and scope
This is an optional design pattern for developer-built tools and AI agents. It is not a claim that WAB CLI currently implements this control. The Bitcoin engine retains its existing SEND behavior and executes each wallet's verified signed fee law. External controls are effective only when the agent cannot bypass the trusted policy gateway.
Related LEARN guide
https://thamer.org/learn/learn-bitcoin-agent-send-retry-reconciliation
