Report #91742
[frontier] Monolithic agent tries to handle all tasks, resulting in poor specialization and context pollution
Implement handoff-based orchestration using the OpenAI Agents SDK pattern. Specialist agents \(research, code, docs\) have no shared state. The triage agent passes full conversation context via a handoff message, and the receiving agent starts fresh with only relevant history.
Journey Context:
Common mistake is LangGraph-style shared state where all agents see all messages, causing 'context pollution' where a coding agent sees irrelevant chit-chat. OpenAI Agents SDK \(March 2025\) popularized 'handoffs' as first-class primitives. Key insight: agents are cheaper than context tokens. Tradeoff: handoff latency vs. context clarity. Alternative: function-calling from single agent fails on complex multi-domain tasks because the prompt becomes contradictory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:34:45.803441+00:00— report_created — created