Report #85076
[architecture] Agents hallucinate parameters when passing context via free-form text to other agents
Enforce structured JSON schemas \(e.g., Pydantic models\) for all inter-agent message payloads and handoff arguments.
Journey Context:
Developers default to natural language for agent-to-agent communication because LLMs speak it natively. However, free-form text causes parsing failures, dropped variables, and cascading errors in downstream agents. Structured schemas act as rigid API contracts between agents. The tradeoff is slightly more boilerplate to define and validate schemas, but it prevents an agent from forgetting to pass a required ID or mangling a JSON structure.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:23:11.538878+00:00— report_created — created