Lightning Labs releases AI agent tools for native Bitcoin Lightning payments

Lightning Labs has released a new open-source toolkit designed to give AI agents native access to the Bitcoin Lightning Network, aiming to close what it describes as a key gap in the emerging AI economy: the ability for autonomous systems to transact.

Lightning Labs is a bitcoin infrastructure company focused on building software for the Lightning Network, the Layer 2 protocol that enables faster and cheaper bitcoin payments.

In a blog post on Wednesday, Lightning Labs Head of Product Growth Michael Levin said the new tools enable agents to operate directly on a bitcoin-native payments rail without requiring identity, API keys, or signup flows. The repository includes seven composable skills covering node operations, remote key isolation, scoped credentials, L402-gated API payments, hosting paid endpoints, and querying node state.

The release also introduces lnget, an L402-aware command-line HTTP client. L402 is a Lightning-based payment authentication standard that repurposes the internet’s unused HTTP 402 “Payment Required” status code, allowing a server to respond to a request with a Lightning invoice instead of traditional login credentials.

When an agent encounters a 402 response, lnget automatically parses the challenge, pays the associated Lightning invoice through the configured backend, and retrieves a cryptographic proof of payment, which the agent uses to access the resource, with no account, API key, or identity required, Levin said. Subsequent requests can reuse cached authentication tokens.

The tool supports multiple Lightning backends, including direct gRPC to a local lnd node, Lightning Node Connect, and an embedded Neutrino light wallet for experimentation.

Building a machine-payable web

Lightning Labs frames the launch as infrastructure for a “machine-payable web.” While AI agents can already write code, send emails, and call APIs, the company argues that traditional financial rails such as credit cards and bank accounts are incompatible with autonomous systems that need instant, programmatic, low-value payments at scale.

On the server side, developers can use Aperture, Lightning Labs’ L402-aware reverse proxy, to convert APIs into pay-per-use services. The company said the combination of lnget on the client side and Aperture on the server side creates a full agent commerce loop, where one agent can host a paid service, and another can consume it, with Lightning settling payments in the background.

The recommended setup uses Lightning Labs’ LND remote signer architecture, which separates key management from node operations so that private keys remain isolated from the agent machine. The toolkit also supports scoped macaroons with preset roles such as pay-only, invoice-only, and read-only, allowing developers to enforce least-privilege access and spending limits.

The release lands amid a broader push to build payment rails for AI agents.

On Wednesday, Coinbase also rolled out “Agentic Wallets,” a plug-and-play wallet infrastructure meant to give any agent a wallet capable of holding funds, sending payments, trading tokens, and earning yield.

That product builds on the Coinbase-incubated x402 protocol, which again repurposes the HTTP 402 status code for autonomous crypto payments without human intervention. Stripe also recently unveiled a preview of machine payments, integrating x402 to let developers charge agents in USDC on Base, while CoinGecko activated x402-powered API endpoints priced at 0.01 USDC per request.

© 2026 The Block. All Rights Reserved. This article is provided for informational purposes only. It is not offered or intended to be used as legal, tax, investment, financial, or other advice.

 

Icon Bitcoin Cryptocurrency

Trade Crypto On Coinhub Exchange

Trade Crypto On Coinhub Exchange

Stay ahead of the market by turning news insights into trading opportunities. With Coinhub Exchange, you can seamlessly buy, sell, and manage your digital assets, all in one secure platform. Take advantage of real-time market insights, deep liquidity, and fast execution for your favorite cryptocurrencies. Don’t just read about it — trade crypto now!

Disclaimer

The content of this article shown by Coinhub News, powered by The Block, is for informational purposes only and should not be construed as financial, legal, tax, or investment advice. Coinhub News and its affiliates are not a licensed financial advisor, legal advisor, broker, or tax advisor, and ... should not be considered as professional advice or a recommendation to engage in any specific investment, legal decision, or financial transaction. Cryptocurrency markets are highly speculative and volatile. Readers should perform their own independent research and consult with a qualified professional before making any financial or legal decisions. The opinions expressed in this article are those of the author and do not necessarily represent the views or opinions of the Company of its affiliates. Additionally, the Company does not make any representations or warranties regarding the accuracy, timeliness, reliability, or completeness of any information in this article. By accessing this content, you acknowledge that any reliance on the information contained in this article is solely at your own risk. The Company is not responsible for any financial losses, legal disputes, or other damages that may arise from reliance on this content or from any investment or legal decisions based on the information provided. Investing in cryptocurrencies involves substantial risks, including the risk of losing your entire investment, and you should carefully consider whether it is appropriate for your circumstances.

Read more

💹 Related News

🔥 Popular News

Referral Reward Program – Earn Commissions!  Learn More Icon Long Arrow