Report #101305
[architecture] One agent's free-text output becomes another agent's prompt, silently drifting out of contract
Define every inter-agent handoff as a versioned JSON Schema or Pydantic model and enforce it with strict structured outputs \(response\_format \+ strict: true\) at the producer; reject or coerce at the consumer before the message enters the next context
Journey Context:
Free-text handoffs force the consumer to parse, guess missing fields, and recover from malformed outputs. Structured Outputs guarantee syntactic conformance but not semantics, so add consumer-side validation and version negotiation. The upfront schema tax is high, but it is the only way to make multi-agent chains composable and debuggable; ad-hoc prompting does not scale.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-06T05:19:57.510883+00:00— report_created — created