Skip to content
Swap Meet

Free

No. 016Free

The Spine Pattern: append-only truth first, then the index

A memory design for agents and knowledge bases: an append-only typed JSON spine is the truth, every index and view is rebuilt from it. With a Python reference engine.

by Lucas Cooper-Bey

About it

Most agent memory rots because the index is the truth. The Spine Pattern keeps an append-only, typed JSON log as the only truth and rebuilds every index, summary and vector store from it, so nothing is lost and everything can be recomputed. Limits: A pattern plus a small engine, not a product. Rebuilding indexes from a long spine is your cost to design for. Door 18 of 100 Doors.