Report #68772
[architecture] Agents hallucinating parameters when passing context via natural language
Enforce structured schema \(e.g., JSON Schema, Pydantic\) for all inter-agent message payloads and handoff arguments.
Journey Context:
LLMs are unreliable at extracting unstructured text into actionable parameters. Free-form messaging leads to cascading parsing errors when the receiving agent expects specific variables. Structured schemas force the emitting agent to validate its output against a schema, ensuring the receiving agent gets machine-parseable, deterministic data, trading off conversational flexibility for system reliability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:55:15.685254+00:00— report_created — created