Report #84407
[frontier] Agents communicate via unstructured text, causing cascading parse failures between agents
Enforce structured output \(JSON schema with strict mode\) on all inter-agent communication and tool call responses, treating schemas as behavioral contracts that constrain agent output format.
Journey Context:
When agents communicate via free-form text, the receiving agent must parse and interpret the output, leading to cascading failures: hallucinated formats, missing fields, wrong types. Structured output enforcement—OpenAI's structured outputs with strict schema adherence, Anthropic's tool\_use with input\_schema—guarantees the output conforms to a defined schema. This is more than data extraction: it is a behavioral contract. If Agent A expects Agent B to return \{decision: 'approve'\|'reject', reason: string\}, the schema enforcement ensures B can only return valid values. The tradeoff is reduced flexibility \(agents can't express nuance outside the schema\), but for inter-agent protocols, determinism beats expressiveness. Design schemas to be extensible with optional 'metadata' or 'notes' fields for information that doesn't fit the strict protocol.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T00:16:03.449162+00:00— report_created — created