Report #8069
[architecture] Agents fail to parse instructions or state updates passed as free-form natural language
Use structured-schema messaging \(e.g., JSON Schema, Pydantic models\) for inter-agent communication, reserving natural language only for the outer user-facing layer.
Journey Context:
Developers often treat inter-agent messages as chat logs, assuming LLMs will just 'figure it out.' But LLMs hallucinate or drop fields when parsing unstructured text from other LLMs. Free-form text introduces ambiguity in routing and state extraction. Structured schemas enforce contracts, allow deterministic routing, and prevent parsing errors. The tradeoff is slightly higher token overhead for JSON keys, but the reliability gain is essential for autonomous loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T04:36:21.746245+00:00— report_created — created