API
< Back to all clusters
[TECHNOLOGY] · 2 sources

started · updated

Lightning Labs releases pi402 for AI agent Bitcoin payments

Lightning Labs has released pi402, an open-source extension designed to allow AI coding agents to pay for model inference directly using Bitcoin via the Lightning Network. The tool is specifically built for the Pi coding agent and enables autonomous software to handle payments without requiring account registration, API keys, or credit cards.

The payment process utilizes a per-token billing model based on millisatoshi-level pricing. When an agent requests access to a paid service, it receives a Lightning invoice, settles the payment, and then receives the necessary credentials to continue its task. This process is designed to complete within seconds to accommodate applications requiring frequent, small sequential payments.

On the provider side, tools such as Aperture and Lightmeter allow sellers to manage access and set token-based pricing. Payments are handled by the Ark-based Wavelength wallet, meaning neither the buyer nor the seller needs to operate a Lightning node. The extension also includes features for developers to set spending limits, such as per-request or daily caps, to control agent expenditures.

Entities

Bitcoin · Lightning Labs · Lightning Network · Pi · Wavelength