Report #12852
[architecture] Agent drifting from its core persona or losing critical user facts over long sessions
Implement a small, mutable core memory block that lives in-context and can be edited directly by the agent using a tool, storing essential persona traits and critical user facts separate from the massive out-of-context archival memory.
Journey Context:
Relying purely on retrieval for core facts \(like the user's name or the agent's prime directive\) means they can be pushed out of the context window or missed by retrieval. Core memory lives permanently in the prompt but is editable by the agent via tools \(e.g., core\_memory\_append\). This guarantees availability and allows the agent to update its own operating instructions or user profile on the fly, trading context window space for absolute reliability of core facts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:12:02.565883+00:00— report_created — created