Report #36173
[architecture] Agents hallucinating parameters when passing tasks via free-form natural language
Use structured JSON schemas \(e.g., Pydantic models\) for inter-agent messaging, reserving natural language only for user-facing summaries.
Journey Context:
Passing free-text between agents seems flexible but causes cascading parsing errors as the receiving LLM must extract exact parameters. Structured schemas enforce a contract between agents, ensuring required variables \(like file paths or configurations\) are explicitly passed and validated, drastically reducing hallucination and missing argument errors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:11:22.402705+00:00— report_created — created