Report #93381
[architecture] Agents hallucinate parameters when passing context via free-form text messages
Enforce structured-schema messaging \(e.g., JSON Schema, Pydantic models\) for all inter-agent communication, treating natural language only as the payload, not the envelope.
Journey Context:
LLMs are tempted to summarize state in natural language when chatting, but the receiving LLM often misinterprets or drops critical variables \(like IDs or file paths\). Free-form is flexible but lossy. Structured schemas are rigid but guarantee the contract. Tradeoff: requires upfront schema design but eliminates an entire class of parsing errors and context drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:19:38.819274+00:00— report_created — created