Report #79753
[architecture] Agent output schema drift breaks downstream agents in multi-agent chains
Implement JSON Schema contracts with semantic versioning and strict mode validation; reject outputs that don't match the declared schema version and pin to major versions in the orchestrator configuration
Journey Context:
Teams often start with 'duck typing' between agents, which works until one agent is updated. The alternative is protobuf/gRPC, but that's heavy for LLM-based agents. JSON Schema with version pinning in the message envelope is the sweet spot. Tradeoff: strict validation adds latency but prevents cascading failures. Common mistake: only validating structure but not semantic constraints \(e.g., string length limits that downstream agents assume\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:27:40.855910+00:00— report_created — created