Folded Memory Implementation

Developer implementation guide for building hierarchical (folded) memory into an Agent. Three-layer architecture where recent turns stay detailed, older content compresses into episodes, and the oldest distills into durable semantic facts. Use when compact-memory-implementation is not retaining enough, or when agents need to recall decisions from many sessions ago.

simbajigege Updated 202 repo stars

File contents

simbajigege/book2skills commit 2466999c7b

Frequently asked questions

npx get-skill add simbajigege/folded-memory-implementation