Report #56070
[architecture] Agents failing to parse each other's responses due to free-form natural language messaging
Enforce structured-schema messaging \(e.g., JSON Schema, Pydantic models\) for all inter-agent communication. Reserve natural language only for the final output to the human user.
Journey Context:
It is tempting to let agents 'just talk' via natural language since LLMs excel at it. However, free-form text introduces ambiguity, hallucinated parameters, and brittle regex-based parsing downstream. Structured outputs guarantee that the receiving agent gets the exact fields needed to continue execution. The tradeoff is a slight increase in prompt complexity and token usage for schema enforcement, but it eliminates an entire class of parsing failure modes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:36:23.289272+00:00— report_created — created