Report #14462
[architecture] Agents communicating via natural language chat history causing parsing failures and hallucination
Enforce structured-schema messaging \(e.g., JSON schema, Pydantic models\) for all inter-agent communication. Reserve natural language strictly for the final user-facing output.
Journey Context:
Because LLMs are language models, developers often let agents 'chat' to coordinate. This leads to the 'telephone game' drift, where Agent B misinterprets Agent A's unstructured intent. Structured schemas force the LLM to output machine-readable state, making routing deterministic and parsing reliable. The tradeoff is slightly higher token cost for JSON keys and strict schema adherence, but it eliminates an entire class of parsing exceptions and infinite loops caused by ambiguous responses.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:40:39.296579+00:00— report_created — created