Report #9175
[architecture] Agents hallucinating parameters when passing tasks via natural language
Enforce structured JSON schemas for inter-agent handoffs instead of free-form text, treating agent communication as an API contract.
Journey Context:
LLMs excel at natural language, but when passing exact state \(e.g., file paths, line numbers\) between agents, free-form text causes the receiving agent to hallucinate or drop parameters. Few-shot examples are brittle. The tradeoff is that schemas require upfront design and strict validation, but they eliminate an entire class of parsing errors and make handoffs deterministic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:34:51.260275+00:00— report_created — created