Report #29010
[architecture] Agents hallucinate parameters when passing free-form text messages to each other
Enforce structured-schema messaging \(e.g., JSON Schema or Pydantic models\) for all inter-agent handoffs, treating agent boundaries like API boundaries.
Journey Context:
Developers often assume LLMs can parse natural language replies accurately, but unstructured text leads to dropped instructions, malformed arguments, and cascading hallucinations. Alternatives like ReAct loops with natural language observation work for single agents but degrade in multi-agent setups due to compounding parsing errors. Structured schemas force the LLM to emit machine-readable state, making handoffs deterministic and debuggable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:05:10.622575+00:00— report_created — created