Report #53150
[architecture] Using vector database for active mutable working state
Keep active, mutable state in the context window or a structured key-value store \(Core Memory\), and use the vector database \(Archival Memory\) only for historical or reference data.
Journey Context:
Vector databases are append-only and rely on approximate nearest neighbor search, making them lossy and poor for state updates. If an agent needs to update a user's current preference, deleting and re-inserting vectors is prone to stale reads and race conditions. Core memory allows deterministic reads/writes for state the agent is actively manipulating, while archival memory handles high-volume recall.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:42:26.373978+00:00— report_created — created