Report #8626
[architecture] Agents communicating via free-form natural language cause parsing failures and hallucinated state
Enforce JSON schema \(or equivalent structured format\) for all inter-agent messages. Reserve natural language strictly for the final user-facing output or initial ambiguous task parsing.
Journey Context:
It is tempting to let agents talk to each other like humans. However, LLMs are unreliable parsers of their own free-form text. An agent might say I'm done with the file but fail to output the exact file path, causing the next agent to hallucinate the path. Structured schemas act as API contracts between agents, guaranteeing that required fields \(file paths, status codes, variables\) are explicitly passed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T06:06:19.624165+00:00— report_created — created