Lightning Labs released Wavelength in alpha on July 21, a non-custodial API toolkit that gives AI agents a permissionless Bitcoin payment rail through the Model Context Protocol (MCP). The toolkit charges 1 basis point per Lightning transaction, compared to 200 to 300 basis points on legacy payment processors.
What Wavelength Ships
Wavelength embeds a self-custodial wallet via WebAssembly or compiled binaries across web, mobile, and standalone deployments. Private keys stay on-device. The system supports on-chain Bitcoin, Lightning payments via atomic swaps, and an Ark-based settlement layer for batched off-chain transfers, according to the Lightning Labs blog post.
Michael Levin, the post’s author, wrote: “We’re excited to announce the alpha release of Wavelength, a toolkit for adding self-custodial bitcoin (and stablecoin) payments to any application, designed to create the best developer experience for humans and agents.”
The same API surface is exposed to AI agents as typed tool calls via MCP, paired with L402, Lightning Labs’ protocol for machine-native authentication and per-request payments. Core lifecycle commands include create/unlock, balance, recv, send, activity, and exit. Agents can hold balances and pay for API calls, data feeds, or other agent services in fractions of a cent, according to TFTC.
Wallet credentials are kept outside the agent’s communication channel, so seeds and private keys are never exposed to the model itself. Users can exit to on-chain Bitcoin at any time via an explicit command, without requiring cooperation from the coordination service.
Integration Options
The Wavelength documentation lists five integration paths: a browser-based Web SDK via WebAssembly, React Native SDK for iOS and Android, native Kotlin and Swift SDKs, a gRPC/REST API, and a CLI for automation. A dedicated agents section covers MCP integration for autonomous systems.
Mainnet access is invite-only at launch. Signet and testnet are available immediately. Stablecoin support via Taproot Assets is planned but not confirmed as live.
Competing for the Agent Payment Rail
Wavelength enters an increasingly crowded market for AI agent payment infrastructure. The x402 Foundation launched on July 14 under the Linux Foundation with 40 members including Visa, Mastercard, and Stripe, standardizing the HTTP 402 protocol for agent-native transactions.
The approaches differ architecturally. Wavelength uses Bitcoin’s Lightning Network with non-custodial on-device key management and L402 for machine-native authentication. The x402 Foundation standardizes HTTP-level payment negotiation across multiple payment rails including traditional card networks. Lightning Labs is betting on permissionless, sub-cent micropayments. The x402 coalition is betting on interoperability with existing financial infrastructure.
The Custody Design Choice
TFTC’s analysis noted a practical tension in Wavelength’s self-custody claim: embedded wallets tend to be treated as custodial in practice because users rarely verify the exit path. “The test of Wavelength’s self-sovereignty claim is not at launch; it is twelve months in, when a developer ships an app update and the embedded wallet engine gets silently upgraded,” the outlet wrote.
Lightning Labs’ use of Ark-style pooled transfers rather than raw channel-based Lightning for off-chain settlement is also notable. As TFTC observed, this represents an acknowledgment from the team that builds lnd that vanilla channel management remains too operationally heavy for mass-market embedding.