NewsCryptoLightning Labs Launches Dedicated L402 Website for Bitcoin-Based AI Agent Payments

Lightning Labs Launches Dedicated L402 Website for Bitcoin-Based AI Agent Payments

Author: CryptoNewsNet·

Key Takeaways

  • Lightning Labs announced a dedicated website for L402, a protocol that enables AI agents to pay for digital resources and authenticate using bitcoin over the Lightning Network.
  • L402 was formerly known as LSAT and already exists within Lightning Labs' technology stack, meaning the website is the only genuinely new element of this announcement.
  • The protocol repurposes HTTP's 402 status code, which was defined in the HTTP/1.1 specification but was never widely implemented, to signal that payment is required before a client can access a gated API endpoint.
  • L402 uses stateless verification, allowing servers to confirm payment and grant access without querying a payment database, thereby reducing infrastructure overhead for service providers.
  • The announcement aligns with a broader industry movement toward agent-specific payment tools, including Coinbase's x402 protocol on Ethereum rails and Visa's command-line payment tool for AI agents.
Lightning Labs Launches Dedicated L402 Website for Bitcoin-Based AI Agent Payments

Lightning Labs Launches Dedicated L402 Website for Bitcoin-Based AI Agent Payments

Lightning Labs, the company behind Lightning Network developer tools and a principal maintainer of the Lightning Network Daemon (LND), one of the most widely deployed Lightning node implementations, announced a dedicated website for L402 on Wednesday, positioning the protocol as a payment rail enabling AI agents to transact in bitcoin.

"With L402, agents can pay with bitcoin and natively authenticate. No accounts, no intermediaries, no humans involved," the company said in its announcement post, describing L402 as "the protocol for machine-to-machine commerce on Lightning."

The Lightning Network is a second-layer scaling solution built on top of the Bitcoin blockchain, designed to enable fast, low-cost micropayments through off-chain payment channels — characteristics that align with the per-call, per-token billing models common in API-based AI services.

Site, Not Protocol, Is New

What is new is the website, not the protocol itself. L402 — short for Lightning HTTP 402 — already exists within Lightning Labs' technology stack. The standard was previously known as LSAT (Lightning Service Authentication Token) before being renamed L402. Aperture, an implementation of the standard, "is used today by Lightning Loop, a non-custodial swap service for Bitcoin and Lightning," according to the company's documentation.

Lightning Loop allows users to move funds between the Bitcoin base layer and Lightning payment channels without relying on a custodial intermediary.

Built for AI Agents

L402 is described as "the standard for selling and buying digital resources" that "allows services to charge for API endpoints in a way that is easy for AI agents to participate," the documentation states.

The mechanism reuses HTTP's 402 status code, a standard response code originally reserved for future use in the HTTP/1.1 specification (RFC 2616) to indicate that payment is required for access to a requested resource. The code was defined in the original spec but was never widely implemented by browsers or servers, leaving it available for repurposing by payment-oriented protocols.

When a client requests a gated endpoint, "the server responds with HTTP 402 Payment Required and a WWW-Authenticate header containing a token and a Lightning invoice," and the token contains the invoice's payment hash, the documentation explains. The client then pays the Lightning invoice and presents the token together with the payment preimage to access the endpoint.

The server verifies both elements without querying a payment database — a property Lightning Labs calls stateless verification. This approach reduces infrastructure overhead for service providers.

Broader Industry Push Toward Agent Payments

The launch comes as several firms develop payment tooling designed for autonomous software agents rather than human users. Coinbase's x402 protocol, which leverages the same HTTP status code on Ethereum-based payment rails, moved to the Linux Foundation with backing from Google, Stripe, and Visa. Separately, Visa has released a command-line payment tool for AI agents.

L402 distinguishes itself by routing agent payments over Bitcoin's Lightning Network instead of Ethereum-based infrastructure, relying on bitcoin as the settlement asset. The protocol's stateless design and reliance on existing HTTP semantics mean that providers can gate API access without provisioning traditional account-management or billing systems — a structural difference from conventional API key and subscription models that typically require user registration and human-managed payment flows.