Report #87936
[architecture] Agents communicating via unstructured natural language lose state and hallucinate parameters
Enforce structured-schema messaging \(JSON schema or Pydantic models\) for all inter-agent handoffs and tool calls. Reserve natural language only for final user-facing outputs or high-level intent routing.
Journey Context:
LLMs are tempted to chat with each other like humans, passing free-text strings. This leads to parsing failures, dropped parameters, and hallucinated state. By forcing a typed Data Transfer Object \(DTO\) between agents, you turn fragile semantic understanding into deterministic schema validation. The tradeoff is slightly higher token cost for JSON keys, but the reliability gain prevents cascading parsing errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:11:05.329382+00:00— report_created — created