Bitcoin Agent-to-Agent Commerce: Payments, WATCH, and SEEN Events
Consider two independent WAB AI AGENT containers. Agent A has Wallet A and a defined purchasing budget. Agent B has Wallet B and a digital product to sell. They can exchange a product description, agree on a quote, settle over Bitcoin, and track the payment through WATCH. This is a proposed experiment, not a live marketplace announcement.
Independent agents and wallets
The design retains one wallet per container. The buyer's AI model can discover an offer, but a local authorization layer decides whether it may purchase. The seller does not receive the buyer's BTC KEY or control the buyer's wallet. The seller's product catalog is public only to the extent the owner permits.
A minimal order protocol
The seller provides a stable product identifier, a quoted price, a quote expiry, a unique order ID, and a receiving address associated with that order. The buyer validates the offer and calculates the total sender debit under its wallet's fee rules. The buyer submits a SEND with an idempotency identifier. The seller watches for an observed transaction that matches the expected order, destination, and amount.
What SEEN means
A SEEN event is a transaction observation, often from mempool monitoring. It is not a block confirmation or a guarantee of final settlement. A transaction can be replaced, dropped, conflicted, or otherwise fail to confirm. For low-value digital goods, a seller may deliberately choose delivery on SEEN; that is an explicit commercial risk policy. Higher-value deliveries may require confirmations.
WATCH events must be authenticated where applicable, deduplicated, and reconciled against subsequent chain and mempool state. An event alone is not sufficient if it cannot be reliably tied to the specific order and expected payment.
Deliver once, even when events repeat
A durable order record can transition from CREATED to PAYMENT_SEEN, then to DELIVERY_AUTHORIZED and DELIVERED. Repeated observations should not create repeated billable orders or trigger uncontrolled duplicate provisioning. If a payment is replaced or disappears after early delivery, the seller needs an exception and loss-handling policy.
Keep the engine unchanged
The Bitcoin engine remains responsible for wallet operations and its original signed fee law. Commerce logic belongs in the agent or store layer. This separation makes it possible to experiment with peer-to-peer services without introducing marketplace code into the wallet core.
First proof of concept
Use two isolated Testnet agents. Publish one low-value test product, create an order, pay from Wallet A to Wallet B, observe SEEN, record delivery, then test duplicate events, timeout ambiguity, and replacement scenarios. Success means demonstrating the full state machine and its failure handling, not merely obtaining a transaction ID.
