Report #24204
[architecture] Downstream agent fails parsing unstructured output from upstream agent
Enforce strict JSON schema contracts at the boundary between agents using structured outputs or function calling, treating agent handoffs like API contracts.
Journey Context:
LLMs default to chatty text. Passing this to the next agent requires fragile regex/prompt parsing. Using structured outputs guarantees the exact shape. Tradeoff: slightly higher latency/token usage for schema enforcement, but prevents cascading parsing errors across the chain.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:02:19.966292+00:00— report_created — created