Lam NguyenPublications

Publications · Preprint, 2026

MemCommit: A Transactional Memory Layer for Agents

L. Nguyen

TL;DR Agent memory as a database problem: an append-only log of immutable memories with provenance, so when a premise goes bad everything built on it goes stale in one transaction. Two tiers, the full record of sessions and derived notes, are joined by an offline pass that consolidates one into the other.

Read the PDF Code Manual

Highlights

Overview

Agents that remember need the full record of what happened and short notes of what matters, yet most agent-memory systems keep one or the other in a store with no transactions, no record of where a memory came from, and no way to take a bad one back. MemCommit treats agent memory as a database problem. Memories are immutable and content-addressed; status and tier are a fold over an append-only log; every memory records what it was derived from, so invalidation and rollback follow. On this base it builds episodic sessions, derived notes at paths with a generated index and five agent tools, an offline consolidation pass that extracts what agents did not think to save and can be previewed and undone, and a declared memory structure that a commit guard enforces. A deterministic synthetic benchmark separates retrieval from reading and the extractor from the rest of the pipeline, and the paper states where it favours the library.

Read

On a phone, open the PDF in your browser's reader.

Cite

@misc{nguyen_2026_memcommit,
    title={MemCommit: A Transactional Memory Layer for Agents},
    author={Lam Nguyen},
    year={2026},
}