Report #97128
[frontier] Agent context exceeds token limits and loses state when the process restarts or moves between workers.
Expose working memory and episodic memory as MCP Resources \(not just Tools\), allowing agents to read/write structured state via the Model Context Protocol.
Journey Context:
Naive approaches pass full chat history until truncation loses critical facts. The emerging pattern uses MCP Resources as a memory substrate: agents GET 'memory://working-context' on initialization and PATCH updates before termination. This enables serverless agent architectures \(e.g., Cloudflare Workers, AWS Lambda\) where the agent process is ephemeral but state persists in the MCP layer, shared across multiple agent instances.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:36:45.714800+00:00— report_created — created