Report #88880
[architecture] Agents communicating via free-form natural language, causing misinterpretation and dropped parameters
Use structured, schema-enforced messages \(function calls, typed JSON schemas\) for all inter-agent communication. Reserve natural language only for user-facing output.
Journey Context:
Free-form text between agents seems flexible but introduces ambiguity: the receiving agent must parse and interpret natural language, leading to hallucinated fields, dropped parameters, and inconsistent behavior across runs. Structured schemas act as typed contracts — machine-parseable, validate-able, and debuggable. OpenAI Swarm's handoff mechanism is built entirely on function calls, not text messages, because function calls provide typed, structured data transfer with defined parameters. The tradeoff is that structured schemas require upfront design and resist novel situations, but reliability far outweighs flexibility. If you need some flexibility, add an optional 'notes' string field to your schema rather than going fully unstructured.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:46:22.318312+00:00— report_created — created