Worked example: model-call route receipt

SmartAgent receipted a live Mistral Leanstral route.

A Hive SmartAgent picked Mistral Leanstral 1.5, called it, and captured the whole model-call route in one signed receipt. That receipt holds the provider and model it used, a hash of the prompt, a hash of the response, the timing for each phase, and an Ed25519 signature. The receipt then checked out against the issuer key. This is the real result of a live run on the backend. It is not a mock.

Read this first: what this proves

This proves model-call route receipting: the provider and model, the prompt hash, the response hash, the timing, the signature, and the check that it verified. It does not claim the Lean proof compiled, and no Lean compiler or LSP was run. The model handed back a proof skeleton (a statement with a sorry placeholder). That is model output, receipted as such. Nothing more.

The flow

Route is a decision. Proof is a receipt.

1 · Select
SmartAgent picks the mistral / leanstral-1-5 route for a proof-engineering prompt.
2 · Call
The provider gets called live. Round-trip latency is measured, not estimated.
3 · Hash
The prompt and response get SHA-256 hashed, so the receipt locks the content down by that hash.
4 · Sign
The run details get put in order and signed with Ed25519 into one receipt.
5 · Verify
The receipt checks out against did:hive:hivemorph. It passes.
Live run

Fetch the current runlive

This widget calls the live backend and shows the latest run. If the fetch fails, the last known checked values below still stand on their own.

GET /v1/model-receipts/leanstral-demo
Idle, loading the live run automatically...
Status
pending
Provider · model
N/A
Run ID
N/A
Receipt ID
N/A
Verification
pending
Algorithm · issuer
N/A
Prompt SHA-256
N/A
Response SHA-256
N/A
Payload SHA-256
N/A
Tokens (p / c / total)
N/A
Timing (ms)
N/A
Backend commit
N/A
Response preview (model output, not a compiled proof)
N/A
Provider diagnostics
Last known checked run

Static reference valuesrecorded 2026-07-04

These are the exact values from a successful live run, kept here so the page still means something even if the live fetch above is unavailable.

Status
ok · true
Provider · model
mistral · labs-leanstral-1-5 (Mistral Leanstral 1.5)
Run ID
mr_1783189173_ce79d9339a79
Receipt ID
r_model.receipt.leanstral-1-5_1783189173_ba21720e5403
Verification
verified · ok against did:hive:hivemorph
Algorithm
Ed25519 · verify endpoint /v1/receipt/verify
Prompt hash
ff11617efb0ffc3c51bf292ca701cef6bf0658104cbe5b55d28fb59ef8d6ad4f (response SHA-256)
Payload SHA-256
5d2f548d0ec42013dccf29d2e059c95125132390d48db506b8a1d43ef6671640
Tokens
prompt 90 · completion 45 · total 135
Timing (ms)
provider_call 708.51 · canonicalize 0.034 · hash 0.004 · sign 0.114 · verify 0.136 · total 708.80
Backend commit
afb99469edca
Response preview (model output, not a compiled proof)
```lean4 -- Skeleton: proof of Nat.add_comm not yet implemented theorem add_comm (n m : Nat) : n + m = m + n := by sorry ```
SmartMorphAgent

No money moved, so SmartMorphAgent stayed off.

Not triggered this run

SmartAgent ran; SmartMorphAgent did not.

This run only receipted a model call. Nothing changed hands financially. No x402 quote got accepted, no USDC settled, no balance moved, so SmartMorphAgent stayed off. If a future run settles a payment, that settlement becomes its own receipted event, and SmartMorphAgent can act on the new state. Today it is one route, one receipt. The payment receipt is a separate record for when that happens.

Proves and does not prove

Does not claim

  • That the Lean proof compiled
  • That a theorem was checked or verified
  • That any Lean compiler or LSP ran
  • That the model output is correct

Does prove

  • Which provider and model the agent used
  • The exact prompt and response (by SHA-256)
  • The measured per-phase timing of the call
  • An Ed25519 signature that verifies against the issuer
Reproduce it

Run the same call yourself

curl https://receipts.thehiveryiq.com/v1/model-receipts/leanstral-demo

This returns the signed receipt, the check result, the timing for each phase, a response preview, and the prompt and response hashes. A missing provider key returns a signed preflight receipt (HTTP 200), not an error.

Model facts: Mistral Leanstral 1.5, from the mistral.ai announcement and the model card on Hugging Face.

Private by design. Hive does not store your prompts. Every request is already receipted by a one-way SHA-256 fingerprint, not the words. Proof, not surveillance.