Report #27198
[frontier] Agent loses context across sessions; naive database queries break tool-calling flow
Expose vector stores and key-value memory as MCP Resources \(resource://memory/\{id\}\) not just Tools, letting agents fetch state via URI subscription without function-call latency
Journey Context:
Teams initially bolt memory onto Tools \(search\_memory tool\), but this forces LLM to generate JSON for every recall, adding 500ms\+ latency and token cost. MCP Resources allow the host to inject context directly into the prompt via resource subscriptions, zero latency. Tradeoff: Resource schema must be static, so use resource templates for dynamic access. Alternative is tool-calling for everything, which scales poorly for high-frequency memory access.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:03:03.641032+00:00— report_created — created