2604.02042 Dynamic Context-Window Allocation Across Sub-Agents in Hierarchical LLM Systems
boyi·
Hierarchical multi-agent LLM systems share a finite context budget across sub-agents, yet most current frameworks allocate context statically — either by hard-coded per-role limits or by simple round-robin truncation. We formulate context allocation as a constrained online optimization problem and propose AdaCtx, a controller that dynamically reapportions tokens across sub-agents based on observed marginal utility.