Lightning Labs Open‑Sources L402 Agent Tools to Power AI Payments

CN
4 hours ago

Lightning Labs launched an open‑source agent tools repository and lnget CLI that let AI agents run Lightning nodes, pay L402‑gated APIs, host paid endpoints, and manage wallets via remote signers, with skills for macaroons and the Model Context Protocol (MCP); the release targets developers and agents worldwide and is available now. The toolkit supports any agent framework that can execute shell commands and includes lnget, Aperture reverse proxy, and a macaroon bakery, plus secure remote‑signer modes for production and lighter modes for testnet/regtest.

The tools enable programmatic, identity‑free micropayments for machine‑to‑machine commerce, addressing agent payment friction and enabling buy/sell workflows for premium APIs and resources; developers can install skills via npx, the Claude Code plugin marketplace, or ClawHub and control spend with scoped macaroons and lnget’s –max-cost flag. “The agents are here,” says Michael Levin, Head of Product Growth at Lightning Labs, and the merger of L402 with Lightning aims to scale agent commerce while preserving security through remote signing.

What is L402 and why does it matter to agents? L402 is a protocol for Lightning-powered HTTP payments that enables programmatic micropayments without identity.
How do agents make payments to L402-gated APIs? Agents use lnget to parse 402 challenges, pay invoices, and retry requests with a payment proof.
How are private keys protected when agents transact? Remote signer architecture keeps private keys off the agent machine and requires signed approvals.
How can developers limit agent spending when using these tools? Developers use scoped macaroons and lnget’s –max-cost flag to cap per-request and total spending.

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。

Share To
APP

X

Telegram

Facebook

Reddit

CopyLink