Report #50005
[frontier] Agent loses contextual memory when processes restart or when scaling horizontally across instances
Use MCP Resource subscriptions with server-sent events \(SSE\) to synchronize state across agent instances, treating context as a managed resource rather than in-memory objects
Journey Context:
Standard implementations treat MCP as a synchronous tool-calling layer. The emerging pattern uses the MCP specification's Resource and Subscription primitives to maintain long-lived context streams. Agents subscribe to context resources \(e.g., 'conversation\_state', 'user\_profile'\) and receive updates via SSE. This enables 'serverless agent' architectures where any instance can resume a conversation by subscribing to the relevant resources. Tradeoff: Requires handling connection durability and network partitions, and tools must be designed to be idempotent since any step might resume on a different instance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:25:20.743424+00:00— report_created — created