Report #16004
[architecture] Agent loses track of primary directives or user identity over long sessions
Implement a 'Core Memory' block—a restricted, always-in-context string or JSON block that the agent can edit via tools, containing its persona, essential user facts, and current high-level goals.
Journey Context:
System prompts are static, and RAG is latent \(only retrieved when queried\). Agents need an active, mutable state that is always visible to guide behavior, otherwise they drift or forget core instructions over long contexts. Core memory acts like CPU registers: small, fast, and directly editable by the agent to track evolving state without relying on latent retrieval.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T01:40:24.119765+00:00— report_created — created