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: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
37•mickamy•2h ago•3 comments

Show HN: I spent 3 years reverse-engineering a 40 yo stock market sim from 1986

https://www.wallstreetraider.com/story.html
113•benstopics•4d ago•32 comments

Show HN: Data Engineering Book – An open source, community-driven guide

https://github.com/datascale-ai/data_engineering_book/blob/main/README_en.md
129•xx123122•9h ago•11 comments

Show HN: Skill that lets Claude Code/Codex spin up VMs and GPUs

https://cloudrouter.dev/
116•austinwang115•11h ago•32 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

Show HN: ClipPath – Paste screenshots as file paths in your terminal

https://github.com/BiteCraft/ClipPath
5•viniciusborgeis•5h ago•0 comments

Show HN: MicroVibe – minimal JSX web starter

https://github.com/melendezgg/microvibe
3•melendezgg•2h ago•1 comments

Show HN: Musecl-memory – Zero-dependency memory sync for AI agents bash and Git

https://github.com/musecl/musecl-memory
2•musecl•2h ago•0 comments

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

2•settlddotwork•2h ago•0 comments

Show HN: OpenWhisper – free, local, and private voice-to-text macOS app

https://github.com/richardwu/openwhisper
26•rwu1997•11h ago•7 comments

Show HN: Moltis – AI assistant with memory, tools, and self-extending skills

https://www.moltis.org
98•fabienpenso•1d ago•38 comments

Show HN: Skybolt Reflect – C++ header-only runtime reflection library

https://github.com/Prograda/skybolt-reflect
2•matt128•4h ago•0 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
136•pattle•1d ago•85 comments

Show HN: Turn OpenClaw in a high performing development team with DevClaw

https://github.com/laurentenhoor/devclaw
2•laurentenhoor•5h ago•0 comments

Show HN: Explore ASN Relationships and BGP Route History with Real Internet Data

https://ipiphistory.com/
3•wangjiajie917•7h ago•0 comments

Show HN: Koala Diff – High-performance local data comparison (Rust and Polars)

https://github.com/godalida/koala-diff
2•godalida•7h ago•1 comments

Show HN: Sol LeWitt-style instruction-based drawings in the browser

https://intervolz.com/sollewitt/
68•intervolz•3d ago•14 comments

Show HN: ClawProxy: An HTTP proxy that injects auth tokens into API calls

https://github.com/mlolson/clawproxy
2•LordHumungous•8h ago•0 comments

Show HN: Kuro-Nuri – Browser-based image redaction and compression using WASM

https://kuro-nuri.com/
3•kunronuri•8h ago•0 comments

Show HN: Bubble Sort on a Turing Machine

https://github.com/purplejacket/bubble_sort_on_tm
3•purplejacket•8h ago•0 comments

Show HN: AI agents play SimCity through a REST API

https://hallucinatingsplines.com
213•aed•4d ago•72 comments

Show HN: Holywell – The missing SQL formatter for sqlstyle.guide

https://github.com/vinsidious/holywell
2•vcoppola•9h ago•0 comments

Show HN: A reputation index from mitchellh's Vouch trust files

https://vouchbook.dev/
2•rosslazer•9h ago•0 comments

Show HN: Ghost – Session memory for Claude Code (local, qmd, Git-integrated)

https://github.com/notkurt/ghost
2•notkurt•10h ago•1 comments

Show HN: I speak 5 languages. Common apps taught me none. So I built lairner

https://lairner.com
32•t17r•15h ago•83 comments

Show HN: CodeRLM – Tree-sitter-backed code indexing for LLM agents

https://github.com/JaredStewart/coderlm/blob/main/server/REPL_to_API.md
79•jared_stewart•2d ago•36 comments

Show HN: Rowboat – AI coworker that turns your work into a knowledge graph (OSS)

https://github.com/rowboatlabs/rowboat
202•segmenta•3d ago•56 comments

Show HN: Pgclaw – A "Clawdbot" in every row with 400 lines of Postgres SQL

https://github.com/calebwin/pgclaw
45•calebhwin•1d ago•33 comments

Show HN: Agent Alcove – Claude, GPT, and Gemini debate across forums

https://agentalcove.ai
64•nickvec•2d ago•26 comments

Show HN: A private, bulk audio converter using WASM (186x real-time speed)

https://vocalremover.dev/bulk-converter/
3•jacoka•12h ago•1 comments