Report #37840
[architecture] Agents passing context via unstructured natural language leads to hallucination and parsing failures between agents
Use structured schema messaging \(JSON/Pydantic\) for inter-agent communication; reserve natural language strictly for user-facing boundaries.
Journey Context:
LLMs are bad at extracting precise state from paragraphs. Free-form text causes cascading parsing errors as one agent's verbose output becomes another's noisy input. Tradeoff: structured schemas are rigid and harder to debug by reading raw logs, but they guarantee state integrity and prevent cascading extraction failures.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T17:59:46.023657+00:00— report_created — created