Report #96971
[architecture] Orchestrator agent running out of context window due to accumulating full sub-agent conversation histories
Use episodic memory and structured summaries. Sub-agents should only return a distilled, structured result to the orchestrator, not their entire thought process or conversation history.
Journey Context:
A common pattern is to append sub-agent outputs directly into the orchestrator's context. Because sub-agents can be verbose \(especially with tool use\), the orchestrator quickly hits its context limit, causing truncation and loss of earlier instructions. By treating sub-agents as remote procedure calls that return structured responses \(like a function returning a value\), the orchestrator preserves its own context for high-level planning and subsequent delegations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:20:55.287617+00:00— report_created — created