Report #60746
[architecture] Agents hallucinating parameters when passing tasks to each other via natural language
Use structured JSON schemas for inter-agent handoffs, treating agent interfaces like API endpoints.
Journey Context:
LLMs excel at natural language, but passing free-form text between agents leads to dropped constraints or hallucinated variables. JSON schema forces the LLM to populate exact fields, making parsing deterministic and allowing validation before execution. The tradeoff is slightly higher token overhead for schema definition, but it prevents cascading parsing failures that are extremely difficult to debug in multi-step flows.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:26:51.702090+00:00— report_created — created