Lightning Labs has launched pi402, an open-source extension that enables AI coding agents to pay inference costs directly in Bitcoin through the Lightning Network (a fast Bitcoin payment network). The tool allows agents to check service pricing, make payments and continue their work without account sign-ups, API keys or credit cards. Its underlying L402 protocol combines HTTP's "402 Payment Required" response with Bitcoin payment invoices on the Lightning Network, Crypto Briefing reported.