Report #30030
[architecture] Over-engineering memory with a vector database for short, single-session tasks
Use a vector store \*only\* for cross-session persistence or datasets exceeding 20% of the context window. For single-session tasks, rely on native conversation history.
Journey Context:
Developers often reach for vector databases immediately. Vector DBs introduce retrieval latency, embedding cost, and loss of sequential ordering. If the data fits comfortably in the context window \(with room for system prompt and output\), in-context learning is strictly superior because it preserves exact word order and avoids retrieval failures. The tradeoff is strictly capacity vs. fidelity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:47:43.530087+00:00— report_created — created