Lightning Labs' pi402 Lets Coding Agents Pay in Bitcoin
Lightning Labs has announced pi402, a tool that lets AI coding agents pay for services in bitcoin. The announcement was made on Nov. 12, according to The Defiant.
The system uses the Pi extension, which can buy prepaid token bundles over the Lightning Network from sellers that charge by usage. The Lightning Network is a bitcoin payment system built for fast, small payments. In simple terms, an AI agent that writes code could automatically pay a service provider in bitcoin when it needs more computing work done.
Key points at a glance
- Lightning Labs announced pi402 on Nov. 12.
- The Pi extension lets coding agents buy prepaid token bundles over the Lightning Network.
- The bundles are bought from sellers that meter, or charge by, their usage.
- Separately, Lightning Labs co-founder Elizabeth Osuntokun's colleague and engineer Osuntokun runs a separate mainnet endpoint that advertises DeepSeek inference, meaning AI model responses paid for on bitcoin's main network.
Where this fits in agent payments
The Defiant's related coverage shows growing work on letting AI agents pay for services in crypto. In July 2026, Lightning Labs launched a site for L402, its bitcoin-based agent payment standard. In June 2026, AWS connected Coinbase's x402 standard to CloudFront so publishers could charge AI agents in USDC, a dollar-backed stablecoin. In March 2026, Visa released a command-line payment tool aimed at AI agent commerce.
Pi402 adds a bitcoin option to this space, using prepaid bundles instead of per-request charges.
What is confirmed and what is not
What the source confirms is limited. The announcement date, the name of the extension, the prepaid bundle feature, and the separate mainnet endpoint advertising DeepSeek inference all come from The Defiant's report.
The source material does not include technical documentation, pricing details, a list of participating sellers, or statements from Lightning Labs beyond the announcement summary. Readers who want those details would need to check Lightning Labs' own materials, which were not supplied here.
Why it matters for bitcoin payments
AI agents increasingly need to pay for services like computing power or model access on their own. Bitcoin's main network is not built for very small, frequent payments, but the Lightning Network is. A tool like pi402 lets an agent hold and spend small amounts of bitcoin automatically, which the source positions as a way for agents to buy metered services without a human in the loop.