How can I keep BTC KEY away from an AI agent?
Short answer
Place credentials in a protected execution service; let the agent submit constrained payment intents rather than raw credentials.
Example or implementation consideration
If the agent can call the unrestricted SEND endpoint with BTC KEY directly, external spending limits can be bypassed.
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-design-bitcoin-agent-spending-policy
