Article

Lightning Labs launches pi402, enabling AI agents to pay inference fees with Bitcoin

PANews November 13 reports, according to Crypto Briefing, that Lightning Labs released the open-source extension pi402 on November 12, allowing AI programming agents to use Bitcoin via the Lightning Network to pay their own inference fees. This tool is built specifically for Pi programming agents; no account registration, API keys, or credit cards are required—agents simply pay an invoice upon seeing the price to resume work. pi402 is based on the L402 protocol, combining HTTP 402 "Payment Required" responses with Lightning Network invoices, enabling instant settlement after payment. This realizes a token-based billing model where agents pay according to actual consumption. Sellers can accept payments through Aperture and Lightmeter tools; neither buyers nor sellers need to run Lightning nodes, as payments are processed by the Ark-based Wavelength wallet. Ev...