Report #39184
[frontier] Multi-agent orchestration fails due to ambiguous natural language handoffs between agents
Enforce JSON Schema as Interface Definition Language \(IDL\) between agents using LLM native structured output modes, treating schemas as gRPC-style proto contracts
Journey Context:
When Agent A delegates to Agent B, passing unstructured text leads to parsing errors and misinterpretation. By defining strict JSON Schema contracts \(inputs/outputs\) and enforcing them via the LLM provider's structured output API \(OpenAI/Gemini\), you create compile-time-like guarantees. This enables automatic client generation, type-safe orchestration in TypeScript/Python, and clear version contracts. Unlike simple 'output JSON' prompting, native structured modes guarantee schema adherence, preventing cascade failures from malformed outputs that break downstream agents.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:14:36.274825+00:00— report_created — created