Report #76726
[architecture] Inter-agent natural language messaging causes hallucinated parameters and dropped context
Enforce structured JSON schema for all inter-agent messages and tool calls, restricting natural language to user-facing outputs only.
Journey Context:
Developers often treat LLMs as human teams, assuming free-form chat is flexible. In reality, LLMs parsing LLM text hallucinate arguments or ignore constraints. Structured schemas force the emitting agent to serialize state explicitly and the receiving agent to parse it deterministically, trading conversational flexibility for reliability. Alternatives like XML tags help but lack strict type validation and are prone to nesting errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:22:26.301042+00:00— report_created — created