Skip to content

Add memory-blackbox (agent memory provenance ledger) - #34

Open
lavkumarv wants to merge 1 commit into
bureado:mainfrom
lavkumarv:add-memory-blackbox
Open

Add memory-blackbox (agent memory provenance ledger)#34
lavkumarv wants to merge 1 commit into
bureado:mainfrom
lavkumarv:add-memory-blackbox

Conversation

@lavkumarv

@lavkumarv lavkumarv commented Sep 7, 2026

Copy link
Copy Markdown

Adds one row to Provenance, Instrumentation & Observability.

memory-blackbox instruments the agent's memory boundary specifically, rather than the syscall or egress boundary that most entries here cover. Every memory read and write goes into an append-only ledger — BLAKE3 hash chain (proves no row was edited), periodically checkpointed signed Merkle roots (proves no row was removed, including tail truncation), Ed25519 signatures on every entry with the key held by the engine and never reachable by the agent — plus a provenance DAG over sources, writes, retrievals, and actions.

That makes the post-incident queries possible: trace an agent action back to the memory write and source that caused it, blast-radius for the forward closure of a poisoned source, verify for the three integrity properties above, and rollback, which quarantines a source and its closure by appending events rather than deleting them.

Closest neighbour in the section is Crux, which also uses Ed25519 receipts over BLAKE3-chained storage; the difference is scope — Crux is a memory/retrieval daemon, this instruments existing stores through adapters (Mem0, Chroma, Letta, pgvector, MEMORY.md/CLAUDE.md diffing), an MCP gateway that forwards tools/call byte-identically, or a sidecar in front of hosted vector DBs.

Honest limits, stated in the entry: it is reconstruction only and enforces nothing at runtime; capture is only as complete as the paths you route through it (a reconcile command flags backend entries with no ledger record, i.e. writes that bypassed capture); Merkle anchoring to an external transparency log is on the roadmap, not shipped. Apache-2.0, early development, 0.1.0 on PyPI.

I left off the 🔥 marker since that appears to be your own highlight — happy for you to set it or not.

Signed-off-by: lavkumarv <lav.kumar.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant