Report #51721
[architecture] Storing mutable operational state in a vector database
Maintain a structured 'Core Memory' block \(e.g., JSON inside the system prompt\) for high-priority mutable state, and use the vector store \('Archival Memory'\) only for historical or reference data.
Journey Context:
Developers often try to stuff everything into a vector DB. Retrieving structured state \(like 'current step in workflow' or 'user account tier'\) via semantic search is unreliable and slow. Core memory acts like CPU registers—fast, exact, and directly editable by the agent via tool calls. Archival memory acts like a hard drive. Tradeoff: Core memory consumes context window space, so it must be kept strictly concise.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:18:23.734615+00:00— report_created — created