Report #88393
[architecture] Agents hallucinating parameters when passing tasks via free-form natural language
Use structured JSON schemas \(e.g., Pydantic models\) for all inter-agent handoffs and message passing, rather than raw text.
Journey Context:
LLMs are unreliable at extracting structured data from free-text without strict constraints. Free-form handoffs lead to missing arguments, type errors, and cascading failures down the line. Structured schemas force the emitting LLM to output valid JSON, enabling programmatic validation before the receiving agent even wakes up, ensuring the receiving agent gets exactly the state it expects.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:57:11.050325+00:00— report_created — created