Skip to main content

Epistemic Ledger

A living epistemic ledger: an append-only database where every conclusion carries a fluid certainty score, and new facts automatically trigger re-evaluation of the conclusions — and their dependents — that they affect, instead of any judgment ever being final.

pip install epistemic-ledger
from epistemic_ledger import Ledger

ledger = Ledger("my-ledger")
claim = ledger.assert_claim("the bridge design is safe", 0.60)
fact = ledger.ingest_evidence("load test passed", 0.90)["fact_id"]
ledger.add_support(claim, fact, "evidential", p_given=0.95, p_given_not=0.30)
print(ledger.get_score(claim))  # the score moved; the history kept both

The four properties

  1. Append-only records. Conclusions are never changed or deleted. A correction is a new record that supersedes the old one; the full history of what was believed, and when, stays queryable.
  2. Fluid certainty scores. Every conclusion carries a score that moves as evidence accumulates — today's result is tomorrow's starting point — instead of a one-time yes-or-no verdict.
  3. Dependency-tracked revisits. Each conclusion records why it is held. When a new fact arrives, the change spreads along the dependency graph and re-evaluates exactly the conclusions it touches, plus their dependents.
  4. A trigger discipline. Not every new fact warrants a revisit. A layered rule — dirty-flagging, precise invalidation, then a materiality threshold — decides when recomputation is required.

What is inside

  • An event-sourced, bitemporal store (append-only JSONL event log as the write model, SQLite bitemporal tables as the read model).
  • A revisit loop using Jeffrey conditionalization for uncertain evidence, with an early cutoff and materiality flags.
  • Joint likelihoods (noisy-AND / noisy-OR), Dempster–Shafer belief intervals where ignorance must be explicit, and automatic contradiction detection with entrenchment-ordered resolution.
  • Governance: writer trust tiers, signed verdicts (Ed25519), named graph authority ceilings, and predicate policies — all stored as bitemporal facts in the ledger they govern.
  • A hardened single-writer store with replay verification (epistemic-ledger verify <dir>).
  • The five kill criteria the design set for itself, instrumented from day one (epistemic-ledger kill-metrics <dir>).
  • An offline LLM consolidation pass and caller-owned abstention policies.

Standard library only. No dependencies, no network at runtime.

Command line

epistemic-ledger demo                      # end-to-end scenario
epistemic-ledger verify path/to/ledger     # integrity check
epistemic-ledger kill-metrics path/to/ledger

Documentation

Full documentation — the framing paper, the design memos, the measured results, and the API reference — is at https://epistemic-ledger.readthedocs.io/ and in the GitHub repository: https://github.com/AXIOVEX/epistemic-ledger

License

The code is under the MIT License (see LICENSE in the repository). The framing paper, design memos, and research documents in docs/ remain all rights reserved, © 2026 Axiovex Systems, LLC (see LICENSE-DOCS.txt in the repository).

Metadata

Release files for epistemic-ledger 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for epistemic-ledger 0.13.1
File Size Uploaded Provenance Actions
epistemic_ledger-0.13.1.tar.gz 92.7 kB With provenance Details for epistemic_ledger-0.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for epistemic-ledger 0.13.1
File Interpreter ABI Platform Actions
epistemic_ledger-0.13.1-py3-none-any.whl Python 3 none any Details for epistemic_ledger-0.13.1-py3-none-any.whl

Total release size: 154.3 kB

Release files / epistemic_ledger-0.13.1.tar.gz

Download URL epistemic_ledger-0.13.1.tar.gz
Size 92.7 kB
Tags Source
SHA-256 checksum
How to use checksums
64de36ab701d7e3047e3bb4aae87b5ee6a4de4a191e1a45b66e73be3c0884aa7
BLAKE2b-256 checksum
How to use checksums
c617b241a2d7aaf4961a8bd38e68e53c9677636fc5d7893af9fee970e022c3a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / epistemic_ledger-0.13.1-py3-none-any.whl

Download URL epistemic_ledger-0.13.1-py3-none-any.whl
Size 61.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e4d9381766021ee13e641fc837bba155d2c31ee3941c0b9bffc81a2e3bbfbdc
BLAKE2b-256 checksum
How to use checksums
00e6acede7be2123d1fe8851f92bd5349be13b01f8b512f21a6513c79893748a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for epistemic-ledger 0.13.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for epistemic_ledger-0.13.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page