Report #59767
[architecture] Unreliable inter-agent communication due to free-form natural language parsing failures
Enforce structured JSON schemas for all inter-agent messages and tool call responses, reserving natural language only for the final user-facing output.
Journey Context:
Developers often treat agents as humans, assuming they can parse unstructured text from another agent. In reality, LLMs hallucinate or drop parameters when extracting structured data from free-form text. Structured outputs \(JSON schema\) make the interface between agents deterministic and machine-readable, acting like an API contract. The tradeoff is a slight increase in prompt complexity and token cost for schema adherence, but it eliminates an entire class of parsing errors and cascading failures in multi-step pipelines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:48:29.702678+00:00— report_created — created