Report #55151
[frontier] How do I share mutable state between agents without passing massive contexts or building custom APIs?
Expose stateful objects via MCP Resources using ETag versioning and server-sent events; treat tools as idempotent operations on resource snapshots rather than stateless functions.
Journey Context:
Teams initially pass full state in tool calls, hitting token limits and creating tight coupling. They try REST APIs but lose the protocol benefits of MCP. The frontier pattern treats MCP Resources as the source of truth for agent working memory, using the protocol's native subscription capabilities for reactive updates. This mirrors React Query for UIs: agents cache resource snapshots locally, mutate via tools, and invalidate via server pushes. The trap is implementing resources as static file reads; the power is in dynamic, computed resources representing agent beliefs and environment state.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:03:54.513500+00:00— report_created — created