by stevenslade · 10mo ago · 0 comments
At a high level it seems to usually be one (or a mix) of:
- full transcript appended every turn
- sliding window of the last N turns / tokens
- older turns summarized into a rolling memory
- structured state (goals, decisions, progress) rendered into the prompt
- external storage + retrieval (RAG-style) to pull in only relevant past info
Under the hood I’m sure it gets more complex, but the core idea is pretty simple once you strip away the mystique: memory = prompt assembly.
No comments yet.