Report #74469
[architecture] Downstream agent fails to parse unstructured output from upstream agent
Enforce strict JSON schema contracts at the boundary between agents using structured outputs or function calling, treating the handoff as an API contract rather than conversational text.
Journey Context:
LLMs default to conversational text, which causes the next agent's parser to break on edge cases. Structured outputs force the schema. Tradeoff: slightly higher latency and token usage for schema enforcement, but guarantees machine-readable boundaries and prevents cascading parse errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:35:42.691957+00:00— report_created — created