Lightning Labs released pi402, an open-source extension that allows a Pi coding agent to purchase AI inference with Bitcoin over the Lightning Network. The agent encounters an HTTP 402 payment request, pays a Lightning invoice through an embedded wallet and retries the request with proof of payment.
The stack combines the pi-402 extension, Lightning Labs’ Aperture reverse proxy, its Wavelength wallet tools and a metering component for token-based model pricing. The Lightning Labs repository was public and updated November 12.
The release is working software, but its initial market evidence is limited. It does not establish broad demand, competitive inference pricing or reliable routing at high volume. It also does not mean an agent has unrestricted spending authority. Operators still need budgets, approval limits, wallet security and controls against malicious services repeatedly triggering payments.
pi402 differs from stablecoin-oriented agent-payment projects by settling in Bitcoin through Lightning. Both approaches use HTTP 402 as a coordination point, suggesting the emerging standard may support multiple payment rails rather than one chain or asset.
TOKEN RECON ASSESSMENT
The launch advances agent payments from a standards discussion to an executable toolchain. The real test is economic: successful paid requests, uptime, payment failure rates, competitive model access and enforceable spending controls. Open-source code proves availability, not adoption.
Sources
Lightning Labs pi402 repository