Report #51180
[architecture] Agent losing user preferences or long-term project state across new sessions
Maintain an in-context 'Core Memory' block that the agent can read and edit directly, persisted across sessions, separate from searchable 'Archival Memory'.
Journey Context:
RAG alone fails for persistent state because you cannot guarantee a vector search will retrieve the exact user preference needed for the current prompt. Core memory acts like a scratchpad or system prompt extension that is always in context, holding high-priority facts. Archival memory holds the vast history. The agent must be given tools to explicitly write to Core Memory when it learns something important. The tradeoff is that core memory consumes a fixed amount of the context window, limiting space for immediate tasks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T16:23:43.126218+00:00— report_created — created