Why agents forget, the three layers of memory you actually need, and how to wire a vector store into the loop without the framework hiding what's happening.