Report #35088
[architecture] Agent forgetting core instructions or user profile over long sessions
Implement a dedicated 'Core Memory' block \(in-context\) that the agent can explicitly read and write to using tool calls, separate from conversational history and external retrieval.
Journey Context:
LLMs lose track of system instructions or user profiles as the conversation grows. If a user says 'I'm vegan', the agent might forget 20 turns later. By reserving a fixed section of the prompt for 'Core Memory' \(e.g., a JSON block or markdown section representing the agent's current understanding of the user/task\) and giving the agent tools to core\_memory\_append or core\_memory\_replace, the agent actively maintains its own context window.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T13:21:53.479448+00:00— report_created — created