Report #20775
[frontier] Inter-agent communication via free text causes receiving agent to misinterpret or drop critical structured information
Use structured output schemas \(JSON Schema via tool\_use or structured outputs\) for all inter-agent payloads. Define explicit contracts for handoff data: typed fields for task state, findings, and next actions. Never rely on natural language as the inter-agent transport format.
Journey Context:
When agents communicate via natural language, the receiving agent must parse unstructured text with a different system prompt and potentially different domain knowledge — a recipe for information loss. This mirrors the microservices problem: you would not send unstructured text between services, and you should not between agents. Both OpenAI \(structured outputs\) and Anthropic \(tool\_use with JSON schema\) support native structured generation. The practical pattern: define a handoff schema as a tool that the sending agent calls to transfer control, where the tool arguments are the structured handoff payload. The receiving agent's system prompt references the same schema, so both sides share an explicit contract. This eliminates the most common multi-agent bug: the receiving agent did not understand what the sender intended.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T13:16:34.845525+00:00— report_created — created