New Developer Tools Enable Lightning And AI Communities To Build Cost-Effective LLM Tooling
Yesterday, Olaoluwa Osuntokun and Michael Levin of Lightning Labs announced the release of a new set of developer tools aimed at empowering the Lightning and AI developer communities to create inclusive and cost-effectiv...
Yesterday, Olaoluwa Osuntokun and Michael Levin of Lightning Labs announced the release of a new set of developer tools aimed at empowering the Lightning and AI developer communities to create inclusive and cost-effective Large Language Model (LLM) tooling. These tools leverage the Lightning Network and bitcoin to seamlessly integrate with LLMs. They are built on the L402 protocol, a Lightning native authentication mechanism and Langchain, a library that simplifies working with AI agents by incorporating external data for advanced functionality.
One of the tools included in the release is LangChainBitcoin, which enables Langchain agents to interact directly with Bitcoin and the Lightning Network. It includes features such as LLM Agent Bitcoin Tools, which utilize OpenAI GPT function calls to enable developers to create agents capable of holding a bitcoin balance, sending/receiving bitcoin on Lightning and driving with a LND node. Another tool, the L402 HTTP API Traversal, is a Python wrapper for a LangChain LLM chain (APIChain) that allows agents to access L402 payment-metered APIs seamlessly.
Aperture, a drop-in reverse proxy server, is also part of the release. It implements the L402 protocol and transforms any API into a pay-per-use resource gated via L402 functionality on the Lightning Network. The latest version of Aperture now supports Lightning Node Connect protocol, enabling compatibility with various Lightning Nodes, such as Voltage, Umbrel, Start9, Raspiblitz and BTCPayServer.
The L402 protocol, introduced in 2020, is a standard for payment-metered APIs designed to utilize the existing HTTP 402 Payment Required status response code. It combines bitcoin and the Lightning Network to enable global micropayments for paid APIs. The protocol allows for authenticating and charging per use of internet-native services, addressing challenges faced by the AI developer community, such as the high cost of GPU training and limited accessibility to advanced LLM models.
By providing these developer tools, the creators aim to build more accessible AI infrastructure for both humans and AI agents. They are particularly excited about the AI4ALL hackathon, taking place this month, where developers can leverage these tools to unleash their creativity and innovation. The Lightning and AI communities are encouraged to explore the potential of these new tools and contribute to the development of the machine-payable web powered by Lightning.
Original source
Read on Bitcoin MagazineRelated market context
Canton Network Developer Digital Asset Raises $355 Million Led by a16z Crypto to Bring Wall Street Onchain
Digital Asset, the developer of the Canton Network, raised $355 million in a funding round led by a16z crypto, the company announc...
Kraken Enables USDCx Deposits And Withdrawals On Canton Network
TL;DR Kraken has enabled deposits and withdrawals of USDCx on Canton Network. USDCx is backed 1:1 by USDC held in Circle’s xReserv...
Arc unveils AMP protocol to enhance trade order fairness for app developers
AMP's introduction could democratize transaction processing, reducing power imbalances and enhancing fairness in blockchain ecosys...
Ripple chases AI’s machine economy as XRPL stablecoins near $1 billion
Stablecoin liquidity on the XRP Ledger (XRPL) has nearly doubled over the past month, putting the network within reach of a $1 bil...
LG Electronics Tests Onchain Advertising Network On Arbitrum
TL;DR LG Electronics is piloting an onchain advertising network on Arbitrum. The project is designed to make ad performance more v...
Ripple wants AI agents to pay in XRP and RLUSD. The market is still mostly USDC
The XRPL AI Starter Kit gives developers tools for agent payments, but early x402 activity has clustered on Base and Solana. Rippl...