Report #90382
[synthesis] Multi-agent workflows silently corrupt data when passing slightly malformed JSON between steps
Use strict, programmatic schema validation \(like Pydantic\) at the boundaries between agents or steps. If validation fails, halt and force a regeneration, rather than letting the next agent interpret the malformed data.
Journey Context:
In a multi-agent workflow, Agent A outputs a JSON object missing a field. Agent B, an LLM, is too forgiving as a parser; it tries to interpret the malformed data, hallucinating the missing value or misaligning the structure. This turns a simple schema validation error into a silent data corruption cascade that compounds over subsequent steps. Developers trust LLMs to handle JSON flexibly, but flexibility is the enemy of reliable orchestration. The right call is enforcing rigid contracts between steps.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:17:54.506854+00:00— report_created — created