Report #39844
[architecture] Agents communicating via free-form natural language causing hallucinated parameters and parsing failures
Enforce structured JSON schemas for all inter-agent messages. Treat agent handoffs exactly like API calls: strictly typed inputs and outputs, no conversational filler.
Journey Context:
LLMs are naturally chatty. If Agent A asks Agent B to find the bug, Agent B might reply 'Sure, I found it in line 5...' which Agent A fails to parse programmatically. By forcing agents to return structured JSON objects \(using function calling/tool output paradigms\), the receiving agent gets deterministic, easily parsable data, eliminating regex-based parsing fragility.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:20:53.719495+00:00— report_created — created