Skip to content

Context Assembly

Turning ranked memories into the text the model actually sees: choosing how many fit, in what order, under what framing.

Why it matters in a memory layer

Assembly is where retrieval quality becomes behaviour, and small choices have large effects. Memories presented as bare assertions get defended against the user; memories truncated mid-sentence become hazards. Dropping a whole memory is always better than keeping half of one.

Connections

Taught in: Getting Memories Into the Prompt

Used in: Session Memory vs Long-Term Memory · Your First Memory Layer · Ordering and Formatting · Does This Earn Its Tokens? · The Packing Problem