INVAR: Open-Source Tool Gives Every Local LLM Inference a SHA-256 Receipt

revuprender · reddit · 2026-08-21

A developer released INVAR (free, Apache-2.0), an open-source tool that adds verifiable provenance to local LLM inference.

How it works: INVAR wraps llama.cpp and gives each inference a 'worldline' — a SHA-256 certificate over the runtime binary + model weights + prompt + sampling params + output, hash-chained into an append-only log. invar verify re-runs any entry and compares digests; editing one byte causes rejection.

Honest scope (stated upfront):

The receipt format is an open spec (Computation Receipts) with published conformance vectors, so anyone can implement verification. Install via a one-line curl script; needs Python 3.10+ and llama.cpp on PATH; exposes an OpenAI-compatible endpoint.

Repo: github.com/anomly-labs/invar

Original post →

More from coding & agent

coding & agent channel →