Skip to main content

See a Receipt with zero setup

No install needed — replay a bundled fixture run through the real assembler:
sample runs the same deterministic (events, template) → receipt core a live run uses; the only difference is that the events come from a bundled fixture instead of a recorder. The fixture holds three operations, so one command shows the whole model — a FULL receipt, a PARTIAL one with an explained gap, and one carrying an observed fault:
That gap — settlement ✓ but paid_action ✗ — is the product: a bank statement, a block explorer, and a server log each say “payment went through”; only the Receipt says “…but you never got what you paid for.”

Install the CLI

Both expose the haia-trace command. Requires Node ≥ 20.

Assemble receipts from a run

Once you have a run of recorded events at .trace/events/<run>.ndjson, build one Receipt per operation:

CLI reference

Every command, flag, and the .trace/ layout.

Next steps

What a Receipt is

The model behind the verdict: stages, evidence, missing, exceptions.

Connect x402

Record the x402 lifecycle from your own app.