← Directory

pi402

Clients

Lightning Labs extension for the Pi coding agent that pays for its own LLM inference over L402, priced per token, using an embedded Wavelength wallet and an Aperture proxy; no API key needed

Note: Launched Nov 12, 2026 (npm @lightninglabs/pi-402, MIT). The embedded Wavelength wallet is alpha on mainnet and keeps funds on an Ark-like layer that swaps to Lightning. It can also pay through the IETF Payment HTTP Authentication draft (MPP); L402 is the fallback. Docs ↗

Visit pi402 ↗

Websitehttps://github.com/lightninglabs/pi-402
CategoryClients
Last verified2026-11-20
VerdictWorking checked Nov 20, 2026
Repo and pi402.tech up; latest commit Nov 12, 2026. All verdicts

Add the badge to your README

Built pi402? Show that it is listed on satsforbots.com. The badge links back to this page. About the badge

Listed in Sats for Bots
Markdown
[![Listed in Sats for Bots](https://satsforbots.com/badge/listed.svg)](https://satsforbots.com/tool/pi402/)
HTML
<a href="https://satsforbots.com/tool/pi402/"><img src="https://satsforbots.com/badge/listed.svg" alt="Listed in Sats for Bots" width="196" height="28"></a>

Related

L402-aware wget/curl-style CLI that auto-pays Lightning invoices on HTTP 402
curl for HTTP 402 paywalls: pays L402 invoices from a Bark wallet, with per-host token caching and a spend cap