Microsoft's MIT-licensed Python and .NET framework for multi-agent AI apps, now archived; new projects are pointed to Microsoft Agent Framework.

LangChainBitcoin
Lightning Labs toolkit that lets LangChain agents hold bitcoin, pay over Lightning and call L402 payment-metered APIs.
What is LangChainBitcoin?
LangChainBitcoin is a suite of developer tools from Lightning Labs that connects LangChain agents to Bitcoin and the Lightning Network. It has two main parts. LLM Agent BitcoinTools use OpenAI function calling so an agent can hold an on-chain and Lightning balance, send and receive Bitcoin on Lightning, and drive an LND node directly. L402 HTTP API Traversal is a Python wrapper around the LangChain APIChain that lets an agent transparently access APIs that charge per call using the L402 protocol, which builds on the HTTP 402 Payment Required status code and Lightning micropayments. The release was announced alongside Aperture, a reverse proxy that turns any API into a pay-per-use resource, with Lightning Node Connect support and dynamic per-call pricing. The July 2023 announcement frames the toolkit as an early release for developers exploring machine-payable APIs, with no price listed for the tools themselves.
Use cases
- Let an agent send Lightning payments
- Give an agent a bitcoin balance
- Call pay-per-use APIs from an LLM agent
- Drive an LND node from an agent
- Charge for API calls with L402
- Prototype machine-to-machine micropayments
Who it's for
Why use LangChainBitcoin
- Agents can pay for resources without credit cards or bank accounts, which the announcement presents as a way to reach users outside traditional payment rails.
- L402 charges per request, so an API provider can bill by use instead of subscriptions.
- Aperture can wrap an existing API with payment gating without rewriting the backend.
- Dynamic pricing lets a backend set a different price for each call.
- The tools plug into LangChain, so existing agent code can be extended.
LangChainBitcoin features
- BitcoinTools for LangChain agents using OpenAI function calling
- On-chain and Lightning balance handling for agents
- Send and receive Bitcoin on Lightning
- Direct control of an LND node
- L402 HTTP API Traversal wrapper for LangChain APIChain
- Transparent access to L402 payment-metered APIs
- Aperture reverse proxy to gate APIs with L402
- Lightning Node Connect support in Aperture
- Dynamic per-call endpoint pricing in Aperture
LangChainBitcoin integrations
How to get started with LangChainBitcoin
- Run a Lightning node, such as an LND node, that the agent will use for payments.
- Add the BitcoinTools to a LangChain agent so it can check balances and send or receive Lightning payments.
- Wrap APIs with Aperture so they require L402 payment before responding.
- Use the L402 APIChain wrapper so the agent pays and retries automatically when an API answers with HTTP 402.
LangChainBitcoin limitations
- The announcement dates from July 2023 and describes an early release
- Agents that hold funds need a Lightning node setup such as LND
- The BitcoinTools rely on OpenAI function calling
- The announcement lists no pricing or support plans
LangChainBitcoin pricing
LangChainBitcoin is open source, so you can use and self-host it for free.
Prices can change and may vary by country or exclude tax. Check the official pricing page.
LangChainBitcoin alternatives
The main LangChainBitcoin alternatives listed on Debuly are AgentMail, IBM watsonx.ai, TiOLi AGENTIS, Arize Phoenix, BlackVault and Bult. The table compares pricing and platforms; order is A–Z.
| Tool | Pricing | Starting price | Platforms |
|---|---|---|---|
| LangChainBitcoin | Open source | — | Python, Self-hosted |
| AgentMail | Freemium | $20/mo | API, Web |
| Arize Phoenix | Open source | — | Web, Self-hosted, Docker, Kubernetes |
| BlackVault | Open source | — | Web, API, Self-hosted |
| Bult | Free trial | $5/mo | Web, CLI, MCP |
| IBM watsonx.ai | Freemium | — | Web, API, SDK |
| TiOLi AGENTIS | Freemium | ZAR 299/mo | Web, API, MCP, Python SDK |

AgentMail
Email API for AI agents: create inboxes by API, hold two-way threaded conversations and react to replies through webhooks.
FreemiumVisit AgentMail (official site)
Arize Phoenix
Open-source tool for tracing, evaluating and experimenting on LLM apps and agents, free to self-host or run locally.
Open sourceVisit Arize Phoenix (official site)
BlackVault
Open-source credential firewall for AI agents that swaps real API keys for scoped proxy tokens with budgets, rate limits and a kill switch.
Open sourceVisit BlackVault (official site)
Bult
Deployment platform for Node.js, Python and AI apps with Git deploys, one-click templates, an AI copilot and an MCP server for agents.
Free trialVisit Bult (official site)
IBM watsonx.ai
IBM's AI development studio for building generative AI apps and agents with foundation models, prompt tools, and machine learning, billed by usage.
TiOLi AGENTIS
Infrastructure for AI agent commerce: agent profiles, escrow, wallets, memory and reputation, reachable by REST API and MCP.
LangChainBitcoin FAQ
What is L402?
L402 is a protocol for payment-metered APIs that fits the HTTP 402 Payment Required status code. It combines macaroon-based authentication with Lightning Network payments.
How much does LangChainBitcoin cost?
The announcement lists no price for the tools. Costs come from running your own Lightning node and from any L402-gated APIs you call.
Is LangChainBitcoin open source?
It is released as developer tools for the Lightning and AI communities, and the directory lists it as open source. Check the project repository for the license before using it in production.
What does Aperture do?
Aperture is a reverse proxy implementation of L402 that turns any API into a pay-per-use resource paid in sats over Lightning. It supports Lightning Node Connect and dynamic per-call pricing.
Which node software does it work with?
The BitcoinTools can drive an LND node, and Aperture supports nodes running litd, which bundles Lightning Labs services with LND, including Voltage, Umbrel, Start9, Raspiblitz and BTCPayServer.
What are alternatives to LangChainBitcoin?
Related options include Coinbase AgentKit, Alby tools for Nostr and Lightning, and Stripe's agent toolkit for card-based payments. On Debuly, compare AgentMail, IBM watsonx.ai and TiOLi AGENTIS.
Sources & verification
Facts on this page come from the official sources below, each with the date we read it. Written by Debuly; the vendor did not review this page.
| Source | Type | Accessed |
|---|---|---|
| lightning.engineering/posts/2023-07-05-l402-langchain/ | official | |
| lightning.engineering/posts/2023-07-05-l402-langchain/index.html | official | |
| lightning.engineering/blog/2/ | official |
Image credits
- Logo: from lightning.engineering · fetched · Vendor trademark, used only to identify the product; removed on request
- Cover: none collected yet, so a generated tile is shown.
Spot an error? Report an issue with this listing. We also remove a logo or image on the owner's request.


