Report #83132
[architecture] Storing core agent instructions or user identity facts in vector store instead of the context window
Keep core identity, high-priority instructions, and critical user facts \(name, core preferences\) in a structured, always-in-context block \(e.g., system prompt or 'Core Memory'\), reserving the vector store for episodic and long-tail semantic knowledge.
Journey Context:
It is tempting to put everything in the vector DB to save context window tokens. However, vector retrieval is probabilistic. If the agent's core persona or the user's name is in the vector store, a slightly off query might fail to retrieve it, causing the agent to forget who it is or who it is talking to. The context window is deterministic but small; the vector store is vast but probabilistic. Core facts must be deterministic. The tradeoff is context window space \(which is expensive and limited\) vs. guaranteed adherence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:07:35.283567+00:00— report_created — created