Report #66611
[frontier] Agent forgets identity and hard constraints after 40\+ turns despite conversation history appearing intact
Implement a non-summarizable 'core memory' block using the Letta \(MemGPT\) architecture: maintain a fixed section of the context window containing identity, constraints, and key facts that is exempt from compression algorithms. Use explicit memory editing tools \(core\_memory\_replace/append\) rather than expecting the model to implicitly retain constraints.
Journey Context:
Standard conversation memory treats identity as just another data point, summarizing or dropping it to fit the window. This fails because models lose 'hard constraints' faster than 'soft knowledge'—a phenomenon observed in long-horizon agent deployments where agents retain capabilities but shed safety constraints. The Letta approach separates memory into core \(permanent, editable only via tools\), working \(conversation\), and archival \(RAG\), ensuring identity survives context window pressure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:17:28.176359+00:00— report_created — created