Palimpsests / Air-gapped

Air-gapped · on-prem · no network egress

Air-gapped LLM inference with a verifiable audit trail

Palimpsests runs the model, its attention state and its audit log on the machine where the data already sits. No network egress is needed to answer a request — or to verify the record afterwards — and since version 0.11 the log’s latest head can be anchored on a hardware token instead of a remote service.

Updated

What stays local

The model runs through llama.cpp (or a local Ollama daemon); attention state is held and restored in-process; every request lands in a hash-chained log on the same host. Nothing is uploaded and nothing is phoned home. What you export is a record that can be verified without exposing what it recorded.

Step by step: run a local LLM behind an OpenAI-compatible API, and keep a long chat going on a small local model.

Time without a trusted clock

Every timestamp carries its trust level — UNKNOWN, UNSYNCED, HW_RTC or NTP_SYNCED. A device that does not know the time says so: an UNKNOWN record carries no wall-clock value at all. Ordering never depends on the clock; it is carried by sequence numbers in the chain.

Anchors without a network

The chain alone proves that nothing inside it changed. Proving that nothing was cut off the end needs the latest head kept somewhere else — an anchor.

AnchorWhere the head lives
Filea file you control, outside the log
PKCS#11 token (since 0.11)a data object on a hardware token the host can read but cannot silently rewrite
SCITT transparency service (since 0.11)one signed statement per published head, only when your policy allows the link — no record content leaves the device

The token is the mechanism; a claim about a particular deployment depends on the token actually used.

Measured on modest hardware

  • Engine: on an Intel Arc integrated GPU (Vulkan), with 1.5B and 7B models, the tool loop runs at parity with a hand-tuned llama-server — in-process, with no server to run.
  • Verifier: a one-million-record chain on an Intel Core Ultra 9 185H machine (Windows 11) — working set after verify() 4.77 GB in 0.11, 0.57 GB in 0.12; verify() time 102–107 s, then 43–46 s.

What we don't claim

There is no discrete-GPU run yet: an integrated GPU flatters every mechanism that saves prefill, so these ratios compress where prefill is fast. The audit log's implementation has not been independently pen-tested.

Questions

Can Palimpsests run with no network connection at all?

Yes. The model runs through llama.cpp or a local Ollama daemon, attention state is held in the same process, and every request lands in a hash-chained log on the same host. Nothing is uploaded, and the log is verified offline.

How are records timestamped without a trusted clock?

Every timestamp carries a trust level: UNKNOWN, UNSYNCED, HW_RTC or NTP_SYNCED. A device that does not know the time says so, and an UNKNOWN record carries no wall-clock value at all. The order of records never depends on the clock; it is carried by sequence numbers in the chain.

How do you prove nothing was cut off the end of the log without a network?

With an anchor: the latest chain head kept somewhere outside the log. Offline that is a file you control or, since 0.11, a data object on a PKCS#11 hardware token that the host can read but cannot silently rewrite.

What hardware has it been measured on?

On an Intel Arc integrated GPU with 1.5B and 7B models, where the tool loop runs at parity with a hand-tuned llama-server. There is no discrete-GPU run yet, and the page says so.

Read more