Report #46731
[frontier] Agents passing free-text messages to each other cause cascading parse failures and misinterpretation
Define JSON schemas for every inter-agent communication boundary. Use structured outputs \(function calling with schema constraints\) as the typed contract between agents. Each agent's output must conform to a schema the consuming agent expects. Never rely on an agent parsing another agent's free-text output.
Journey Context:
When agents communicate via free-text, the receiving agent must parse unstructured output—leading to hallucinated fields, missing data, and cascading errors. The emerging pattern treats agent boundaries like API boundaries: each agent produces structured, schema-validated output. OpenAI Structured Outputs and instructor-style libraries make this enforceable at the model level via constrained decoding. The key insight: you do NOT need structured output for internal chain-of-thought within an agent, but you absolutely need it at every handoff boundary. Tradeoff: structured outputs can constrain the model's ability to express unexpected information. Mitigate by including an 'other' or 'notes' free-text field in schemas, and by keeping schemas focused on the contract shape, not the content semantics.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T08:54:49.245125+00:00— report_created — created