ArkHive — the tamper-evident memory ledger
One file. Zero dependencies. Nothing leaves the box.
ArkHive is a self-contained, hash-chained memory ledger for AI agents: SQLite + SHA-256, ~95 lines of Python. Identities ("souls") are born once and bound immutably; every memory block chains to the previous one, so any tampering is provable.
pip install arkhive-ledger
import arkhive
me = arkhive.birth("scout", {"laws": ["do no harm"]})
arkhive.remember(me["soul_id"], "OBSERVED", {"what": "first light"})
arkhive.recall(me["soul_id"]) # last blocks for this soul
arkhive.verify() # {"tamper_evident": True, "verdict": "INTACT — ..."}
# deterministic veto rules — no LLM in the loop
arkhive.govern("send_email", flags=["untrusted_input"],
rules=[{"trigger": "untrusted_input", "action": "block"}])
Why
- Tamper-evident — every block's hash covers the previous block's hash.
verify()walks the whole chain and reports any broken link. - Identity is earned —
remember()refuses actors that were neverbirth()-ed. - Local-first — one SQLite file (
~/.arkhive/chain.db, override withARKHIVE_DB). No network, no telemetry, no accounts. - Governance —
govern()applies deterministic trigger→veto rules.
The bigger picture
This ledger is the open core of ArkHive by ZagAIrot Technologies — governed, tamper-evident memory for AI agents (MCP server, REST API, and the #HumaneIntelligence movement). See the repository and dondatabrain.com.
License
Apache-2.0
Metadata
Release files for arkhive-ledger 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arkhive_ledger-0.1.0.tar.gz | 7.2 kB | Without provenance | Details for arkhive_ledger-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arkhive_ledger-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for arkhive_ledger-0.1.0-py3-none-any.whl |
Total release size: 14.8 kB
Release files / arkhive_ledger-0.1.0.tar.gz
| Download URL | arkhive_ledger-0.1.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
111e381858d3122a8eb900c6255dec4e6508919f1b3b554cf957791927e484fd
|
|
BLAKE2b-256 checksum How to use checksums |
2015738347161360d6c96c12cc6127e99f8f50f10086b8ef712503c443071b4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / arkhive_ledger-0.1.0-py3-none-any.whl
| Download URL | arkhive_ledger-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69a5bb7a5a256b81357daaf9c2e14a4c50d618db97f4e20545a6685e0807db93
|
|
BLAKE2b-256 checksum How to use checksums |
c70e9274487a664a6ac13a16b0f62c93cff1cf1467062fb6426ba11c01810e70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for arkhive-ledger 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.