Report #9372
[research] Agent silently fails after external API changes its output schema slightly
Implement schema-gated trace evals that validate the output schema of every tool call against a strict JSON schema in the observability pipeline, alerting on structural deviations before the LLM even processes the result.
Journey Context:
Agents rarely crash on API changes; they just get confused by shifted JSON keys, leading to subtle reasoning degradation. Standard HTTP status monitoring misses this because the API returns 200 OK. By validating tool outputs structurally at the trace level, you catch the drift immediately, preventing the LLM from hallucinating around the broken schema.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T08:06:21.614621+00:00— report_created — created