Report #62693
[frontier] Multi-agent systems suffer from state synchronization bugs and context bloat when passing full state objects in messages; external databases add latency and schema friction.
Use MCP \(Model Context Protocol\) Resources as mutable state stores: implement MCP servers exposing state:// URIs with optimistic concurrency control \(ETags/If-Match headers\), allowing agents to read/write shared state via MCP client resources rather than message passing or direct DB access.
Journey Context:
Current multi-agent patterns \(AutoGen, CrewAI\) either pass state in messages \(hits context limits, stale data if multiple agents update\) or require external Redis/Postgres \(adds infrastructure complexity, schema versioning issues\). MCP Resources were designed for static files, but the spec supports dynamic content and subscriptions. The frontier pattern is implementing 'state resources' - e.g., \`state://workflow/\{id\}/context\` - that agents can subscribe to. When one agent updates the resource via the MCP server, others receive notifications. This decouples state from message passing, enabling pub/sub state synchronization through the MCP protocol itself. Critical for long-running workflows where agents join/leave dynamically. Tradeoff: MCP server becomes a critical dependency \(single point of failure\) requiring HA deployment; requires implementing ETag-based optimistic locking to handle concurrent writes from multiple agents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T11:43:03.091015+00:00— report_created — created