Skip to main content

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 earnedremember() refuses actors that were never birth()-ed.
  • Local-first — one SQLite file (~/.arkhive/chain.db, override with ARKHIVE_DB). No network, no telemetry, no accounts.
  • Governancegovern() 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arkhive_ledger-0.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arkhive_ledger-0.1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file arkhive_ledger-0.1.0.tar.gz.

File metadata

  • Download URL: arkhive_ledger-0.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for arkhive_ledger-0.1.0.tar.gz
Algorithm Hash digest
SHA256 111e381858d3122a8eb900c6255dec4e6508919f1b3b554cf957791927e484fd
MD5 0b9cdab930c41c264a8c87017805e1d5
BLAKE2b-256 2015738347161360d6c96c12cc6127e99f8f50f10086b8ef712503c443071b4d

See more details on using hashes here.

File details

Details for the file arkhive_ledger-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: arkhive_ledger-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.5

File hashes

Hashes for arkhive_ledger-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69a5bb7a5a256b81357daaf9c2e14a4c50d618db97f4e20545a6685e0807db93
MD5 44f01bb12ce827036b35e54433e54197
BLAKE2b-256 c70e9274487a664a6ac13a16b0f62c93cff1cf1467062fb6426ba11c01810e70

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page