frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: BoltzPay – fetch() that pays for AI agents (x402 and L402)

https://github.com/leventilo/boltzpay
2•leventilo•1h ago
I built an open-source SDK that lets AI agents pay for API data automatically.

The problem: a growing number of APIs return HTTP 402 Payment Required. Coinbase reports $50M+ in x402 transactions over the last 30 days. Stripe and Cloudflare joined the x402 Foundation last month. The payment layer of the internet is being built right now, but existing HTTP clients just fail on 402 responses.

BoltzPay makes it one line:

  const agent = new BoltzPay({ budget: { daily: "$5.00" } });
  const data = await agent.fetch("https://x402.twit.sh/tweets/search?words=AI+agents");
The SDK detects which payment protocol the endpoint uses (x402 or L402), signs the payment with the developer's own keys, and returns the data. No dashboard, no API keys to manage per provider. Just fetch().

What's under the hood:

* Multi-protocol: x402 (EIP-712 signed USDC on Base/Solana) + L402 (Lightning invoices via NWC/Alby)

* Parallel protocol detection: ProtocolRouter probes 402 headers with Promise.allSettled(), auto-fallback between adapters

* Budget engine: daily/monthly/per-transaction caps with persistent state. 90% threshold warnings. Agents never touch your wallet directly

* Built-in endpoint discovery: the SDK indexes live paid APIs across the x402 ecosystem and probes them in real-time (health, pricing, protocol support)

* Delivery diagnostics: when payment succeeds but the server errors, the SDK returns structured diagnosis (DNS, latency, protocol format, server health)

Ships as 9 packages: TypeScript SDK, MCP server (7 tools for Claude/Cursor), CLI, Vercel AI SDK, LangChain, CrewAI, n8n, and OpenClaw. npm + PyPI. 1200+ tests. MIT licensed. Your keys, no vendor lock-in.

What I didn't expect: within two weeks, autonomous AI agents started opening issues on the repo, proposing trust scoring and payment verification integrations. The people behind them turned out to be serious builders (Microsoft Principal Engineer, PhD researchers in the Bitcoin/Lightning space). The agent economy isn't coming. It's already here and looking for plumbing.

GFiber and Stonepeak's Astound to Combine

https://fiber.googleblog.com/2026/03/gfiber-and-stonepeaks-astound-to.html
1•xnx•1m ago•0 comments

Europol and international partners disrupt 'SocksEscort' proxy service

https://www.europol.europa.eu/media-press/newsroom/news/europol-and-international-partners-disrup...
1•jruohonen•1m ago•0 comments

Vela: The True Scale of a Hidden Giant Structure Revealed

https://www.sarao.ac.za/news/vela-the-true-scale-of-a-hidden-giant-structure-revealed/
1•layer8•1m ago•1 comments

Hey HN – Metrx, scorecard for AI agents to understand and optimize their worth

1•ckpark123•2m ago•0 comments

Opennic: Open and community owned DNS root

https://opennic.org/
1•mghackerlady•2m ago•0 comments

Formal foundations of AlphaGeometry: A Lean 4 mechanization

https://zenodo.org/records/18959740
1•AnthonyBordg•2m ago•1 comments

FullStacked, combine Browser and Node.js APIs in a single runtime

https://v1.fullstacked.org
2•cpdabeast•3m ago•1 comments

A simple cryptography native static website deployment toolkit

https://github.com/4pito3pito2pi/unveil-static-site
1•morpheos137•3m ago•1 comments

ReachScan – Static reachability analysis for MCP servers and AI agents

https://github.com/vinmay/reachscan
1•vinmay•4m ago•0 comments

ClawMemory – Git for AI agent memory (forkable memory for AI agents)

1•Brettinhere•5m ago•0 comments

Generation Jones

https://en.wikipedia.org/wiki/Generation_Jones
2•jamesgill•6m ago•0 comments

Dev Cleanup Utility – safe Xcode cleanup for macOS developers

https://apps.apple.com/us/app/dev-cleanup-utility/id1621582261?mt=12
1•kovallux•7m ago•1 comments

Humorous RFCs

https://tangentsoft.com/rfcs/humorous.html
1•tylerdane•8m ago•0 comments

UI Playground — Explore iOS UI components directly on your iPhone

https://www.uiplayground.app/
2•efenande•8m ago•1 comments

Show HN: MoneyOnFIRE – FI date and action plan (v2)

https://www.moneyonfire.com
3•LambdaAndLatte•10m ago•0 comments

Certbot and Let's Encrypt Now Support IP Address Certificates

https://www.eff.org/deeplinks/2026/03/certbot-and-lets-encrypt-now-support-ip-address-certificates
4•speckx•10m ago•0 comments

Nvidia Builds Open Data for AI

https://huggingface.co/blog/nvidia/open-data-for-ai
2•gmays•12m ago•0 comments

ChatGPT Edu feature reveals researchers' project metadata across universities

https://www.fastcompany.com/91507219/chatgpt-edu-researchers-project-metadata-universities-exclusive
2•Cynddl•13m ago•0 comments

Zoloft, Revisited

https://thefrontierpsychiatrists.substack.com/p/zoloft-revisited
2•surprisetalk•13m ago•1 comments

Vertical Integrators (2024)

https://www.notboring.co/p/vertical-integrators
2•surprisetalk•13m ago•0 comments

Place Capability Graphs [video]

https://www.youtube.com/watch?v=JcQX8raHWQE
2•surprisetalk•13m ago•0 comments

Oh, Ambien

https://thefrontierpsychiatrists.substack.com/p/oh-ambien
2•surprisetalk•13m ago•1 comments

Show HN: HCAP – Agent-to-agent (A2A) negotiation

https://www.hcap.dev/
2•krishnamzg•14m ago•0 comments

The Weighted Hotel Minibar Is Wildly Outdated

https://www.insidehook.com/hotels/weighted-minibar-hotel-industry-most-outdated-feature
2•RickJWagner•14m ago•0 comments

Research Links Daily Multivitamins to Slower Biological Aging

https://www.sci.news/medicine/daily-multivitamins-slower-biological-aging-14617.html
2•brandonb•14m ago•0 comments

Kaida Shield – Runtime behavioral monitoring for autonomous AI agents

https://github.com/ajpandit775/kaida-shield
2•panditaditya21•14m ago•1 comments

Shooting at Michigan Shul

https://www.freep.com/story/news/local/michigan/oakland/2026/03/12/temple-israel-shooting-west-bl...
3•marysminefnuf•14m ago•0 comments

The Mag 7 Are Dead. How the Hottest Trade of the Decade Fizzled Out

https://www.barrons.com/articles/stock-movers-1d7440f2?st=eVZYpD
2•RickJWagner•15m ago•0 comments

How we compare model quality in Cursor

https://cursor.com/blog/cursorbench
4•ingve•15m ago•0 comments

Ask HN: Why is my submission not visible if I am not logged in?

2•beepbooptheory•16m ago•3 comments