Report #37995
[frontier] How to share persistent context between multiple AI agents without losing state on handoff
Use MCP Resources protocol to expose shared state that agents read/write through standardized URIs, rather than passing all context through message payloads. Define resource URIs for shared working memory \(e.g. resource://project/requirements, resource://session/scratchpad\).
Journey Context:
Most implementations use MCP only for tool-calling, completely missing the Resources capability in the spec. Resources let agents access shared state — files, databases, key-value stores — through a standardized protocol with URI addressing. This eliminates context loss during handoffs and reduces token waste from re-injecting context into every message. The key tradeoff: resources are read-heavy by default \(GET semantics\). For mutations, combine with tool-calling — tools modify state, resources expose it. This separation of read-path \(resources\) and write-path \(tools\) is cleaner than stuffing everything into tool results. Most MCP tutorials skip resources entirely, which is why this pattern is under-adopted.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:15:04.786452+00:00— report_created — created