Report #93565
[architecture] Agent output schema drift breaking downstream consumers in multi-agent chain
Implement JSON Schema contracts with strict validation at agent boundaries; use Pydantic v2 for type safety and version negotiation via Accept-Version headers
Journey Context:
Without contracts, adding a field in Agent A can silently break Agent B's parsing. Teams often skip validation for 'internal' agents, but this causes cascading failures during refactors. Alternative is protobuf/gRPC, but JSON Schema offers better LLM compatibility. Version negotiation allows rolling updates without downtime. Never use 'additionalProperties: true' in production schemas.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:38:09.272005+00:00— report_created — created