Report #14846
[architecture] Agent wastes tokens re-reading foundational instructions or loses track of the current plan
Maintain an in-context 'Core Memory' \(or scratchpad\) for the agent's current state, plan, and essential user facts, editing it directly via tool calls, while using 'Archival Memory' \(vector DB\) for unlimited historical data.
Journey Context:
Standard RAG treats all memory equally. But an agent needs a sense of self and current state \(working memory\) that is always visible and cheap to access, distinct from historical search. Core memory acts like CPU registers, while archival memory acts like a hard drive. The tradeoff is consuming context window space for the core memory, but it prevents the agent from losing its train of thought.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:38:20.358484+00:00— report_created — created