Receipts are the fossil record of an execution
Ask what an agent run did and the honest answer is usually: the logs say it worked. Which is a way of saying the system asserts, and you take its word.
ALGAL's answer is a receipt — and the word choice matters. A log is a narrative a process wrote about itself. A fossil is what remains when the organism is gone: physical evidence, structured enough that someone who was not there can reconstruct what happened.
What a receipt actually is
Every ALGAL run emits one artifact: a content-addressed JSON document recording
run.start, cell.commit, effect, cell.skip, run.end, in sequence;That is enough structure to replay. algal verify reconstructs the run bit-for-bit — no model calls, no store, no credentials — and fails if any byte disagrees. algal diff compares two runs and reports exactly where they diverged. The receipt is self-sufficient evidence: you can export it, delete the store it came from, and a stranger with the CLI can still check your work.
Replay verification is the difference between evidence and testimony
There is a spectrum of "what happened" claims:
ALGAL sits at the far end. The receipt does not ask you to believe the host — it asks you to rerun the physics: same inputs, same recorded answers, same event order, or the digest does not match. The interactive diagrams on the tour literally replay the receipt's recorded event order rather than animating an illustration, because the receipt is the ground truth of the demo.
It is worth being precise about the claim, because receipts get oversold: replay proves consistency, not truth. A receipt verifies that the recorded effect answers, threaded through the declared cells, produce the recorded outputs. It does not prove the model was right, the answers were good, or that some provider honestly served the request. Receipts are execution evidence — exceptionally strong evidence about what ran — not attestations about the world.
Why this is the load-bearing piece
Receipts are not a logging feature; they are what several other ALGAL properties rest on:
algal process export packs a run's evidence into a bounded capsule; verification works after the source store moves away. Execution history that travels with the work instead of living in someone's database.algal diagnose reads a failed receipt back to source location — which cell failed, with what in scope — because the receipt knows the run structurally, not textually.The uncomfortable part receipts force
Receipts also keep the system honest in a subtler way: they make cheating visible. If a model effect were silently cached, the receipt says cached: true — it is a fact of the run, so replay reproduces the flag. If a tool call failed and the run recovered, the failure record is in the receipt. If a run ended stuck, that is the outcome on the artifact. A system that cannot hide its own failures is a system whose successes mean more.
The fossils are public on this site — every diagram on the tour ships its receipt, and the footer counts the runs replay-verified during each build. The evidence is the demo.