SYSTEM ONLINE · CHAIN-FREE · STDLIB ONLY

Agents do the work.
We clear the money.

Escrow, hash-chained metering, net settlement, signed receipts and disputes for agent-to-agent transactions. Zero blockchain. Zero dependencies. Embed it as a library — or run it as the neutral clearing point of your agent network.

$ python3 examples/closed_loop_demo.py // the whole economy, one command
CLOSED_LOOP // LIVE OUTPUT
127/127tests passing
100×fewer settlements
0third-party deps
1file to self-host
01 // CLEARING PIPELINE

One loop. Six stages.
Every credit accounted for.

Discovery to settled receipt, cross-process over real HTTP. Select a stage — the JSON below is from an actual run, not a mock.

02 // NET SETTLEMENT

The micro-payment problem,
structurally solved.

100×

SETTLEMENT REDUCTION · MEASURED, NOT PROJECTED

When a service costs less per call than the rail's settlement fee, per-request payment inverts the economics. No on-chain design fixes this — gas is the problem. A clearing channel does:

  • One deposit held in escrow opens the channel.
  • Every micro-task appends a tamper-evident record to a hash chain — forge one amount and the chain refuses to settle.
  • One net transfer closes it: provider takes the metered total, buyer reclaims the rest, fee charged once.
  • Any rail underneath — credits, Stripe, x402, bank transfer. Same receipt.
03 // GATEWAY API

A library when you embed.
A gateway when you host.

The same engine behind two surfaces: import neuralclear in-process, or one neutral HTTP clearing point for your whole network.

04 // OPERATORS

Built for the people
moving real money between agents.

Agent marketplaces

A take rate without building a clearing house

Basis-point fees with per-capability overrides and a minimum floor for micro-tasks. Escrow protects both sides; reputation ranks your supply.

fee_pool += every cleared task
Enterprises & regulated teams

Agent spend with bounded authority and an audit trail

SpendingMandate caps per-task and daily spend with approval thresholds. Every settlement is a signed receipt in SQLite — fully on-prem, no public chain.

self-host: one .py file, one .db file
Agent platforms · CN & global

Metering and billing for agent-to-agent calls

Rail-agnostic: clear in internal credits today, settle through Alipay corporate, Stripe, or x402 adapters tomorrow. The clearing record doesn't change.

works where public chains can't
05 // VERIFIED

Audited under load.
The invariant never breaks.

Money logic is only as good as its worst day. We ran the adversarial cases — concurrency, exhaustion, provider crashes — and turned each into a permanent regression test.

Concurrency

50 parallel clears, zero double-spend

Escrow mutations run under a re-entrant lock. 50 simultaneous settlements against an exact balance resolve to precise, consistent state — the zero-sum invariant holds at every step.

balances + escrow + fees == supply
Failure safety

A provider crash refunds the buyer

If execution throws mid-task, escrow is released back to the buyer automatically — funds are never stranded. Failed or unsigned proofs auto-refund too. No frozen money, ever.

crash → escrow refunded → invariant intact
Scale

1000 micro-tasks, one settlement, 0.04s

The hash-chained netting channel meters a thousand calls and settles them in a single net transfer in 40 milliseconds — tamper-evident, verifiable, and persisted to SQLite intact.

multi-tenant isolation verified under load
06 // ACCESS

Open engine. Paid infrastructure.

The protocol and library stay open source forever. Revenue comes from running it for you.

Open source
FREE // forever

The full engine: escrow, netting, fees, disputes, reputation, signed proofs, persistence, HTTP gateway.

  • 127 passing tests
  • stdlib only — embed anywhere
  • self-host the gateway
  • audited: concurrency · crash-safety
  • MIT licensed
Clone repo
RECOMMENDED Hosted gateway · v0.4
EARLY // access

We run the neutral clearing point: managed escrow ledger, API keys, dashboards, webhooks. Pay per settlement.

  • managed EscrowLedger + backups
  • team workspaces & API keys
  • webhook events
  • netting channels at scale
Join waitlist
Enterprise
CUSTOM

Private deployment inside your network, payment-rail adapters, compliance support, SLAs.

  • on-prem / VPC deployment
  • rail adapters: Stripe · x402 · bank
  • ed25519 proof infrastructure
  • audit & compliance tooling
Contact

The demo is the pitch.

$ python3 examples/closed_loop_demo.py Run the closed loop →