Memory: from context to vector stores
An agent's three memory layers: context (what the model sees right now), the working notepad (plan and findings) and long-term memory (knowledge across sessions). Why agents forget at all, which layer fits which task, what costs tokens, and how to debug a 'dumb' agent through its context.