Report #4047
[architecture] Should agents talk to each other in free-form chat or structured messages?
Use structured schemas \(Pydantic/TypedDict/JSON Schema\) for inter-agent payloads; reserve free-form natural language for user-facing turns. Define output\_type on agents and JSON schemas for tools.
Journey Context:
Free-form chat is flexible but brittle: parsing fails, fields are omitted, and downstream agents hallucinate meaning. Structured outputs give type safety, enable validation, and make traces auditable. MCP tools and OpenAI Agents SDK output\_type both enforce schemas; free-form should only cross the human boundary.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T18:43:26.493187+00:00— report_created — created