derive-agent-budget-proportional
IN premise
When agents are present, `_build_beliefs_section` allocates prompt token budget proportionally to each agent's belief count, with a floor of 5 beliefs per agent
Summary
The system dynamically sizes how much context each agent gets based on how many beliefs it holds. Agents with more beliefs get a larger share of the available token budget, but every agent is guaranteed space for at least 5 beliefs, preventing small agents from being starved out entirely.
Dependents
These beliefs depend on this one:
- derive-budget-allocation-is-accurate — The derive pipeline's proportional belief-budget allocation produces correct per-agent token counts
Details
| Source | entries/2026/04/23/reasons_lib-derive.md |