frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Verify-before-release x402 gateway for AI agent transactions

2•settlddotwork•2h ago
Hey HN,

I built Settld because I kept running into the same problem: AI agents can call APIs, pay for services, and hire other agents - but there's no way to prove the work was actually done before the money moves.

The problem in one sentence: x402 tells you "payment was sent". Settld tells you "the work was worth paying for".

What it does

Settld sits between your agent and the APIs/agents it pays. It:

1. Intercepts HTTP 402 (Payment Required) responses 2. Creates an escrow hold instead of paying immediately 3. Collects evidence that the work was completed 4. Runs deterministic verification (same evidence + same terms = same payout, every time) 5. Releases payment only after verification passes 6. Issues a cryptographically verifiable receipt

If verification fails or the work is disputed, the hold is refunded. The agent gets a receipt either way - a permanent, auditable record of what happened.

Why this matters now

We're at a weird inflection point. Coinbase shipped x402 (50M+ transactions). Google shipped A2A. Anthropic shipped MCP. Agents can discover each other, communicate, and pay each other.

But nobody built the layer that answers: "was the work actually done correctly, and how much should the payout be?"

That's the gap. Right now, every agent-to-agent transaction is either "trust and hope" or "don't transact." Neither scales.

The x402 gateway (the fastest way to try it)

We ship a drop-in reverse proxy that you put in front of any API:

docker run -e UPSTREAM_URL=https://your-api.com \ -e SETTLD_API_URL=https://api.settld.dev \ -e SETTLD_API_KEY=sk_... \ -p 8402:8402 \ settld/x402-gateway

Everything flows through normally - except 402 responses get intercepted, escrowed, verified, and settled. Your agent gets a receipt with a hash-chained proof of what happened.

What's under the hood

The settlement kernel is the interesting part (and where we spent most of our time):

- Deterministic policy evaluation - machine-readable agreements with release rates based on verification status (green/amber/red). No ambiguity. - Hash-chained event log - every event in a settlement is chained with Ed25519 signatures. Tamper-evident, offline-verifiable. - Escrow with holdback windows - configurable holdback basis points + dispute windows. Funds auto-release if unchallenged. - Dispute → arbitration → verdict → adjustment - full dispute resolution pipeline, not just "flag for human review." - Append-only reputation events - every settlement produces a reputation event (approved, rejected, disputed, etc.). Agents build verifiable economic track records. - Compositional settlement - agents can delegate work to sub-agents with linked agreements. If a downstream agent fails, refunds cascade deterministically back up the chain.

The whole protocol is spec'd with JSON schemas, conformance vectors, and a portable oracle: https://github.com/aidenlippert/settld/blob/main/docs/spec/R...

What this is NOT

- Not a payment processor - we don't move money. We decide "if" and "how much" money should move, then your existing rails (Stripe, x402, wire) execute it. - Not a blockchain - deterministic receipts and hash chains, but no consensus mechanism or token. Just cryptographic proofs. - Not an agent framework - we don't care if you use LangChain, CrewAI, AutoGen, or raw API calls. We're a protocol layer.

Tech stack

Node.js, PostgreSQL (or in-memory for dev), Ed25519 signatures, SHA-256 hashing, RFC 8785 canonical JSON. ~107 core modules, 494 tests passing.

What I want from HN

Honest feedback on whether this problem resonates. If you're building agent workflows that involve money, I want to know: what breaks? What's missing? What would make you actually install this?

GitHub: https://github.com/aidenlippert/settld Docs: https://docs.settld.work/ Quickstart (10 min): https://docs.settld.work/quickstart

Show HN: Quantitative analysis of Alphabet (GOOGL) financials

https://jasonhonkl.github.io/#alphabet-quantitative-analysis
1•JasonHEIN•3m ago•0 comments

I love using TypeScript at work

https://kwojcicki.github.io/blog/WHY-I-LOVE-TYPESCRIPT
1•kwojcicki•6m ago•0 comments

Show HN: How to get rid of vagina dependency in 7 days

https://myaffirmations.guru/
1•creator22•18m ago•0 comments

14 More Lessons from 14 years at Google

https://addyosmani.com/blog/14-more-lessons/
2•talonx•19m ago•0 comments

Show HN: Swarm Curl

https://github.com/ismdeep/swarm-curl
1•ismdeep•19m ago•1 comments

The AI Dilemma

https://www.aleksandrhovhannisyan.com/blog/the-ai-dilemma/
1•aleksandrh•20m ago•0 comments

Cyber Model Arena

https://www.wiz.io/cyber-model-arena
2•ram_rattle•30m ago•0 comments

Pg_stat_ch: A PostgreSQL extension that exports every metric to ClickHouse

https://clickhouse.com/blog/pg_stat_ch-postgres-extension-stats-to-clickhouse
2•saisrirampur•34m ago•0 comments

Why haven't humans been back to the moon in over 50 years?

https://www.cnn.com/2026/02/13/science/why-humans-have-not-been-back-to-moon
1•ablaba•36m ago•1 comments

Jikipedia, a new AI-powered wiki reporting on key figures in the Epstein scandal

https://twitter.com/jmailarchive/status/2022482688691835121
1•wenjel•39m ago•0 comments

Show HN: Heart Note – a tiny web app to send beautiful one‑off digital letters

https://heartnote.online
2•azabraao•54m ago•0 comments

SnowBall: Iterative Context Processing When It Won't Fit in the LLM Window

https://enji.ai/tech-articles/snowball-iterative-context-processing/
1•puzanov•55m ago•0 comments

How to be a good Asian parent (satire)

https://www.reddit.com/r/AsianParentStories/s/yyMDWcAUdh
1•carabiner•1h ago•1 comments

The Compliance Officer Who Flagged Epstein – and Lost Her Job

https://www.levernews.com/the-compliance-officer-who-flagged-epstein-and-lost-her-job/
1•cwwc•1h ago•0 comments

Convert URLs and Files to Markdown

https://markdown.new
2•salkahfi•1h ago•0 comments

Podcast: Solving Distributed Message Passing: NATS.io composite learning [video]

https://www.youtube.com/watch?v=5NXvU17a-iU
1•northlondoner•1h ago•4 comments

Lockdown Mode and Elevated Risk Labels in ChatGPT

https://openai.com/index/introducing-lockdown-mode-and-elevated-risk-labels-in-chatgpt/
2•ms7892•1h ago•0 comments

Living in the Petri Dish of the Future

https://om.co/2026/02/12/living-in-the-petri-dish-of-the-future/
1•herbertl•1h ago•0 comments

The feedback you're not giving is the problem you keep having

https://dougrathbone.com/blog/2026/02/14/the-feedback-youre-not-giving-is-the-problem-you-keep-ha...
1•wiredone•1h ago•0 comments

AI Fails at 96% of Jobs (New Study)

https://www.youtube.com/watch?v=z3kaLM8Oj4o
3•deterministic•1h ago•2 comments

LLM APIs is a State Synchronization Problem

https://lucumr.pocoo.org/2025/11/22/llm-apis/
1•goranmoomin•1h ago•0 comments

Show HN: Lucid – Catch hallucinations in AI-generated code before they ship

https://github.com/gtsbahamas/hallucination-reversing-system
3•jordanappsite•1h ago•0 comments

German-language Wikipedia considers comprehensive AI ban

https://www.heise.de/en/news/German-language-Wikipedia-considers-comprehensive-AI-ban-11175670.html
3•layer8•1h ago•0 comments

Evolving Git for the Next Decade

https://lwn.net/SubscriberLink/1057561/bddc1e61152fadf6/
3•dhruv3006•1h ago•0 comments

The Challenger Map

https://challengermap.ca/
1•blululu•1h ago•0 comments

Show HN: Why Playwright-CLI Beats MCP for AI‑Driven Browser Automation

1•tanmay001•1h ago•0 comments

Show HN: ReviewStack – API that aggregates reviews from YouTube and Reddit

https://reviewstack.vercel.app/demo
1•browndev•1h ago•0 comments

Op.gg but for Chess

https://chess-pulse-neon.vercel.app/
1•rayen_gh•1h ago•3 comments

China's adoption of industrial robots has surged over the past decade

https://ourworldindata.org/data-insights/chinas-adoption-of-industrial-robots-has-surged-over-the...
2•kamaraju•1h ago•0 comments

Backblaze Drive Stats for 2025

https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/
21•Brajeshwar•1h ago•4 comments