Lightning Labs Launches pi402 for Bitcoin Payments by AI Agents

Lightning Labs Launches pi402 for Bitcoin Payments by AI Agents

N
News Editor
2026-11-13 00:28:05
Lightning Labs released pi402, an open-source extension that lets AI coding agents pay for inference with Bitcoin over the Lightning Network. The tool was announced on November 12 and was built for the Pi coding agent. It does not require an account, an API key or a credit card. When an agent sees a price, it can pay an invoice and resume its work. pi402 uses the L402 protocol, pairing an HTTP 402 “Payment Required” response with a Lightning invoice. Payment settles instantly, and charges are based on the number of tokens actually consumed. Sellers can accept payments through Aperture and Lightmeter. Neither the buyer nor the seller needs to run a Lightning node: payments are handled by Wavelength, a wallet built on Ark. The release enables an agent to pay for inference as it uses the service, rather than requiring the conventional account, API key or credit-card setup. Its stated payment flow is price, invoice payment and a return to work, with usage-based billing tied to token consumption.

Lightning Labs released pi402, an open-source extension that lets AI coding agents pay inference fees in Bitcoin over the Lightning Network. Announced on November 12, the tool was built for the Pi coding agent and requires no account, API key or credit card. An agent can view a price, pay an invoice and resume its work.

pi402 is based on the L402 protocol, combining an HTTP 402 “Payment Required” response with a Lightning invoice. Payments settle instantly, and charges are calculated from actual token usage. Sellers can accept payments through Aperture and Lightmeter. Neither buyers nor sellers need to run a Lightning node; payments are handled by Wavelength, a wallet based on Ark.

This article was originally published by Bit.Fan. For more cryptocurrency news and market insights, visit www.bit.fan.
300

Disclaimer:

The market information, project data, and third-party content displayed on this platform are for industry information sharing only and do not constitute any form of investment advice or return commitment.

Cryptocurrency trading carries high risks. Users should fully assess their risk tolerance and make independent decisions. All profits, losses, and legal responsibilities are borne by the users themselves.

Lightning Labs Launches pi402 for Bitcoin Payments by AI Agents | Bit.Fan