Report #91140
[frontier] Multi-agent systems communicating via free-form text causing parsing failures and misinterpretation
Use enforced structured output with JSON schema as the inter-agent communication protocol. Define explicit schemas for each agent output, validate at runtime, and reject malformed responses with schema error feedback for retry.
Journey Context:
Early multi-agent systems had agents communicate in natural language, inspired by human team dynamics. This fails at scale: agents hallucinate formats, omit required fields, and misinterpret each other's outputs. The emerging pattern treats inter-agent communication like an API contract where each agent output conforms to a JSON schema validated at runtime. OpenAI Structured Outputs and constrained decoding make this reliable. The tradeoff is expressiveness because structured output is less flexible than free text, but in practice the reliability gain is decisive. Free-form text between agents is like untyped inter-service communication: it works in demos and breaks in production.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:34:27.777955+00:00— report_created — created