Lightning Labs has introduced an open-source toolkit enabling AI agents to autonomously send and receive Bitcoin payments via the Lightning Network. According to PANews, this development eliminates the need for human approval, accounts, login credentials, or API keys.
The toolkit utilizes the L402 protocol, which is based on the HTTP 402 'Payment Required' standard. Websites can issue Lightning Network invoices to AI agents, who, upon payment, receive digital payment credentials as access keys to unlock services or data. Additionally, the toolkit includes the 'lnget' tool, which automatically handles requests for paid content access in the background.
The toolkit also supports AI in running Lightning nodes, managing permissions, hosting paid services, and completing transactions between agents. It features built-in spending limits and remote signing protection to enhance security.