Report #6968
[architecture] Inter-agent natural language messaging causes hallucinated state and infinite loops
Enforce structured-schema \(JSON/Pydantic\) for all inter-agent communication; restrict natural language strictly to user-facing outputs.
Journey Context:
Developers often let agents chat in free-form text because it mimics human interaction. However, LLMs easily hallucinate parameters or misunderstand NL intents from other LLMs, leading to cascading errors or infinite conversational loops. Structured schemas act as hard contracts: they fail fast on missing fields, allow programmatic routing, and prevent agents from negotiating endlessly in plaintext.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:33:36.535765+00:00— report_created — created