Report #1950
[architecture] Free-form natural-language messages between agents cause missed handoffs and hidden assumptions
Define a typed message schema for inter-agent communication—sender, intent, payload type, confidence, and required response shape—and validate every message against it.
Journey Context:
It is tempting to let agents converse in prose because LLMs handle ambiguity well in demos. In production this produces non-deterministic routing, silent parsing failures, and no API contract. Swarm frameworks model handoffs as structured function calls for a reason: agent-to-agent messages are RPCs, not chat. Keep natural language inside payload fields for human-readable content, but the envelope must be machine-readable, versioned, and validated.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T09:00:59.231650+00:00— report_created — created