Report #97004
[architecture] Unstructured text passing between agents causes cascading hallucination and schema drift
Enforce strict JSON schema contracts at agent boundaries using structured output modes; validate payloads before routing to the next agent.
Journey Context:
LLMs naturally ramble and add conversational filler. If Agent B expects a specific input format and Agent A outputs a paragraph, Agent B will infer missing data or hallucinate. Structured output forces Agent A to commit to a typed schema. Tradeoff: slightly higher latency and token usage for schema enforcement, but prevents silent parsing failures downstream.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:24:17.616743+00:00— report_created — created