402Pilot: An x402 Decision Layer for Autonomous Agent Micropayments
Yin LiYanbo HeBoo-Ho YangRav LawanaZiyue LiWei ZengJing TangFugee Tsung
Yin Li
Yanbo He
Boo-Ho Yang
Rav Lawana
Ziyue Li
Wei Zeng
Jing Tang
Fugee Tsung
+8
Autonomous agents with a fixed wallet must choose which payable service to buy per request, but x402-style protocols only execute payments, not decide. We study this buyer-side problem as contextual provider selection under wallet pressure, chosen-only paid feedback, and changing markets. 402Pilot is a protocol-agnostic decision layer that implements purchasing policies; its PA-DCT policy adapts selection via discounted contextual Thompson sampling, learning from post-payment feedback. In 402Pilot-Bench (823 tasks, five providers, three regimes), PA-DCT achieves the best non-oracle adaptive trade-off, spending only 39–43% of the wallet while maintaining competitive quality, and allocates spending under market shifts.

arXiv ·
· August 2, 2026