ControlMulti-agent
Context budgeter
Decides what goes into each agent's context, and how much, every turn.
What it is
Per-agent token budgets and assembly rules: instructions first, then the brief and decisions, then only the most relevant results and tool outputs, fetched just in time rather than all at once.
When to use it
- Long tasks
- Agents with many tools and large tool outputs
When to skip it
- Hand-tuning it before you've measured where tokens actually go
Why (the trade-off)
What's in the context decides what the agent can think about. Spending the window well beats a bigger window.
Where it sits
Control layer, in every agent's loop.
What it needs first
- Agent loopit assembles each turn's context
What can be added to it
- pairs withContext compactionwhat to drop when the budget is hit
Effect of adding it
- cost —
- latency —
- reliability ↑
- safety —
Risks it handles
- A context window fills up · partial
Learn first (AI Engineering)