Report #29856
[architecture] LLM agents fail to parse each other's outputs due to free-form natural language messaging
Use structured-schema messaging \(e.g., JSON Schema, Protocol Buffers\) for inter-agent communication, reserving natural language only for the final human-facing output or internal chain-of-thought.
Journey Context:
It is tempting to let LLMs talk to each other via unstructured text because they are language models. However, free-form text introduces ambiguity, causing the receiving agent to hallucinate parameters or fail tool invocations. Structured schemas enforce a contract, making parsing deterministic and validation trivial. The tradeoff is slightly higher prompt complexity to force JSON output, but the reliability gain in machine-to-machine RPC is essential.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:30:09.845440+00:00— report_created — created