# pi402

> 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

Canonical: https://satsforbots.com/tool/pi402/

[← Directory](https://satsforbots.com/directory/)

## pi402
[Clients](https://satsforbots.com/category/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 ↗](https://lightning.engineering/posts/2026-11-12-pi-402/)
[Visit pi402 ↗](https://github.com/lightninglabs/pi-402)

 | Website | [https://github.com/lightninglabs/pi-402](https://github.com/lightninglabs/pi-402)
 | Category | Clients
 | Last verified | 2026-11-20
 | Verdict | Working checked Nov 20, 2026
Repo and pi402.tech up; latest commit Nov 12, 2026. [All verdicts](https://satsforbots.com/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](https://satsforbots.com/badge/)
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
[Clients](https://satsforbots.com/category/clients/)
### [lnget](https://satsforbots.com/tool/lnget/)

L402-aware wget/curl-style CLI that auto-pays Lightning invoices on HTTP 402

[Clients](https://satsforbots.com/category/clients/)
### [barkget](https://satsforbots.com/tool/barkget/)

curl for HTTP 402 paywalls: pays L402 invoices from a Bark wallet, with per-host token caching and a spend cap
